diff --git a/pkgs/development/libraries/dclxvi/default.nix b/pkgs/development/libraries/dclxvi/default.nix new file mode 100644 index 000000000000..1b8528dd08bb --- /dev/null +++ b/pkgs/development/libraries/dclxvi/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation { + name = "dclxvi-2013-01-27"; + + src = fetchFromGitHub { + owner = "agl"; + repo = "dclxvi"; + rev = "74009d58f2305be3b95d88717619bde8ecbdd9a2"; + sha256 = "1kx4h8iv7yb30c6zjmj8zs9x12vxhi0jwkiwxsxj9swf6bww6p1g"; + }; + + buildFlags = [ "libdclxvipairing.so" ]; + + installPhase = '' + mkdir -p $out/{include,lib} + find . -name \*.h -exec cp {} $out/include \; + find . -name \*.so -exec cp {} $out/lib \; + ''; + + meta = with stdenv.lib; { + homepage = "https://github.com/agl/dclxvi"; + description = "Naehrig, Niederhagen and Schwabe's pairings code, massaged into a shared library"; + maintainers = with maintainers; [ wkennington ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6921ded707a1..9ed91ee05b4c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1261,6 +1261,8 @@ let dbench = callPackage ../development/tools/misc/dbench { }; + dclxvi = callPackage ../development/libraries/dclxvi { }; + dcraw = callPackage ../tools/graphics/dcraw { }; dcfldd = callPackage ../tools/system/dcfldd { };