summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2016-09-15 20:21:50 -0700
committerJohn Ericson <Ericson2314@Yahoo.com>2016-09-16 07:24:03 -0700
commited02a770aef844fd4782e21685334d889e5ceffd (patch)
tree1b191b891ee645ceffd5e600199565ef89fff15a /pkgs
parent2b0eace6cf021eed7123fb828483a00c95796829 (diff)
downloadnixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar.gz
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar.bz2
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar.lz
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar.xz
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.tar.zst
nixpkgs-ed02a770aef844fd4782e21685334d889e5ceffd.zip
pkcs11-helper: ??? git rev -> 1.11
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/pkcs11helper/default.nix19
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/development/libraries/pkcs11helper/default.nix b/pkgs/development/libraries/pkcs11helper/default.nix
index fa373a7e97f..9094eca26e5 100644
--- a/pkgs/development/libraries/pkcs11helper/default.nix
+++ b/pkgs/development/libraries/pkcs11helper/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, fetchurl, pkgconfig, openssl, autoreconfHook }:
+{ stdenv, fetchFromGitHub, pkgconfig, openssl, autoreconfHook }:
 
-let
-  rev = "5d412bad60";
-in
 stdenv.mkDerivation rec {
-  name = "pkcs11-helper-20121123-${rev}";
+  name = "pkcs11-helper-${version}";
+  version = "1.11";
 
-  src = fetchurl {
-    url = "https://github.com/alonbl/pkcs11-helper/tarball/${rev}";
-    name = "${name}.tar.gz";
-    sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp";
+  src = fetchFromGitHub {
+    owner = "OpenSC";
+    repo = "pkcs11-helper";
+    rev = "${name}";
+    sha256 = "1bfsmy9w2qf7avvs3rsc1ycqczzzw0j2wsqkd2fj4dc1fqzigq2q";
   };
 
   buildInputs = [ pkgconfig openssl autoreconfHook ];
 
   meta = with stdenv.lib; {
     homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
-    license = with licenses; [ "BSD" gpl2 ];
+    license = with licenses; [ bsd3 gpl2 ];
     description = "Library that simplifies the interaction with PKCS#11 providers";
     platforms = platforms.unix;
   };