1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/development/libraries/pkcs11helper/default.nix
Tobias Geerinckx-Rice b2d7f4b1ba Use common licence attributes from lib/licenses.nix
Many (less easily automatically converted) old-style strings
remain.

Where there was any possible ambiguity about the exact version or
variant intended, nothing was changed. IANAL, nor a search robot.

Use `with stdenv.lib` wherever it makes sense.
2015-05-27 22:00:06 +02:00

25 lines
705 B
Nix

{ 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 = with stdenv.lib; {
homepage = https://www.opensc-project.org/opensc/wiki/pkcs11-helper;
license = with licenses; [ "BSD" gpl2 ];
description = "Library that simplifies the interaction with PKCS#11 providers";
};
}