diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2015-03-09 11:50:44 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2015-03-09 15:37:50 +0100 |
commit | a2f4b94dbe03ff0b353a2357fe2c2026cbc07334 (patch) | |
tree | afdc96e8362f63e0275f0d194ca8a07ba34af258 /pkgs/tools | |
parent | 46e5a39cdc4cc1f6a5414bffa5f039fc20f95f39 (diff) |
Add pcsc-tools, to test ccid cards.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/pcsctools/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix new file mode 100644 index 0000000000000..a72556447cd4b --- /dev/null +++ b/pkgs/tools/security/pcsctools/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, pkgconfig, udev, dbus_libs, perl, pcsclite }: + +stdenv.mkDerivation rec { + name = "pcsc-tools-1.4.23"; + + src = fetchurl { + url = "http://ludovic.rousseau.free.fr/softwares/pcsc-tools/pcsc-tools-1.4.23.tar.gz"; + sha256 = "1qjgvvvwhykmzn4js9s3rjnp9pbjc3sz4lb4d7i9kvr3xsv7pjk9"; + }; + + buildInputs = [ udev dbus_libs perl pcsclite ]; + + preBuild = '' + makeFlags=DESTDIR=$out + ''; + + nativeBuildInputs = [ pkgconfig ]; + + meta = with stdenv.lib; { + description = "Tools used to test a PC/SC driver, card or reader"; + homepage = http://ludovic.rousseau.free.fr/softwares/pcsc-tools/; + license = licenses.gpl2plus; + maintainers = with maintainers; [ viric ]; + platforms = with platforms; linux; + }; +} |