summary refs log tree commit diff
path: root/pkgs/development/libraries/libksi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libksi/default.nix')
-rw-r--r--pkgs/development/libraries/libksi/default.nix28
1 files changed, 28 insertions, 0 deletions
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 ];
+  };
+}