summary refs log tree commit diff
path: root/pkgs/development/libraries/pkcs11helper/default.nix
blob: 5443df89704d5701b17e7d226bb4326e7c25f19d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, pkgconfig, openssl, autoconf, automake, libtool }:

let
  rev = "5d412bad60";
in
stdenv.mkDerivation rec {
  name = "pkcs11-helper-20121123-${rev}";
  
  src = fetchurl {
    url = "https://github.com/alonbl/pkcs11-helper/tarball/${rev}";
    name = "${name}.tar.gz";
    sha256 = "1mih6mha39yr5s5m18lg4854qc105asgnwmjw7f95kgmzni62kxp";
  };

  preConfigure = "autoreconf -vfi";
  
  buildInputs = [ pkgconfig openssl autoconf automake libtool ];

  meta = {
    homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
    license = [ "BSD" "GPLv2" ];
    description = "Library that simplifies the interaction with PKCS#11 providers";
  };
}