From fdba5c2fd83c3c4d6194e6a3bf1f4bac292d6a89 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 17 Sep 2015 19:12:08 -0700 Subject: [PATCH] libksi: Add package --- pkgs/development/libraries/libksi/default.nix | 28 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/libraries/libksi/default.nix diff --git a/pkgs/development/libraries/libksi/default.nix b/pkgs/development/libraries/libksi/default.nix new file mode 100644 index 000000000000..1f6bd05b5b3b --- /dev/null +++ b/pkgs/development/libraries/libksi/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, autoreconfHook, openssl, curl }: + +stdenv.mkDerivation rec { + name = "libksi-2015-07-03"; + + src = fetchFromGitHub { + owner = "rgerhards"; + repo = "libksi"; + rev = "b1ac0346395b4f52ec42a050bf33ac223f194443"; + sha256 = "0gg0fl56flwqmsph7j92lgybaa39i715w0nwgkcr58njm0c02wlw"; + }; + + nativeBuildInputs = [ autoreconfHook ]; + buildInputs = [ openssl curl ]; + + configureFlags = [ + "--with-openssl=${openssl}" + "--with-cafile=/etc/ssl/certs/ca-certificates.crt" + ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/rgerhards/libksi"; + description = "Keyless Signature Infrastructure API library"; + license = licenses.asl20; + platforms = platforms.all; + maintainers = with maintainers; [ wkennington ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9b5ca08bd0d..f775434533e8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7086,6 +7086,8 @@ let libksba = callPackage ../development/libraries/libksba { }; + libksi = callPackage ../development/libraries/libksi { }; + libmad = callPackage ../development/libraries/libmad { }; libmatchbox = callPackage ../development/libraries/libmatchbox { };