diff options
| author | Tomas Hlavaty <tom@logand.com> | 2016-07-17 17:20:23 +0200 |
|---|---|---|
| committer | Rob Vermaas <rob.vermaas@gmail.com> | 2017-03-22 14:45:15 +0000 |
| commit | cc7c26173149348ba43f0799fac3f3823a2d21fc (patch) | |
| tree | 40fc0f2fe0ec09feb9e8bda4ac5f454f916ec2c3 | |
| parent | minisat: Fix build on Darwin (diff) | |
| download | nixpkgs-origin/release-15.09.tar.gz | |
unittest-cpp: init at 1.6.1origin/release-15.09gitlab.intr/release-15.09
(cherry picked from commit 800a379cb317182722c8cbfe1a9716cd454c32cd)
| -rw-r--r-- | pkgs/development/libraries/unittest-cpp/default.nix | 26 | ||||
| -rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/unittest-cpp/default.nix b/pkgs/development/libraries/unittest-cpp/default.nix new file mode 100644 index 000000000000..e0ce2ab224e2 --- /dev/null +++ b/pkgs/development/libraries/unittest-cpp/default.nix @@ -0,0 +1,26 @@ +{stdenv, fetchFromGitHub, cmake}: + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "unittest-cpp-${version}"; + version = "1.6.1"; + + src = fetchFromGitHub { + owner = "unittest-cpp"; + repo = "unittest-cpp"; + rev = "v${version}"; + sha256 = "1sva2bm90z4vmwwvp0af82f7p4sdq5j2jjqzhs2ppihdkggn62d1"; + }; + + buildInputs = [cmake]; + + doCheck = false; + + meta = { + homepage = "https://github.com/unittest-cpp/unittest-cpp"; + description = "Lightweight unit testing framework for C++"; + license = licenses.mit; + maintainers = [maintainers.tohl]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7ae66d0a1640..315f9eb49fc0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3469,6 +3469,8 @@ let units = callPackage ../tools/misc/units { }; + unittest-cpp = callPackage ../development/libraries/unittest-cpp { }; + unrar = callPackage ../tools/archivers/unrar { }; xar = callPackage ../tools/compression/xar { }; |
