diff --git a/pkgs/tools/security/pcsctools/default.nix b/pkgs/tools/security/pcsctools/default.nix new file mode 100644 index 000000000000..a72556447cd4 --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 36089c511ae0..93cd75bad942 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2267,6 +2267,8 @@ let pcsclite = callPackage ../tools/security/pcsclite { }; + pcsctools = callPackage ../tools/security/pcsctools { }; + pdf2djvu = callPackage ../tools/typesetting/pdf2djvu { }; pdf2svg = callPackage ../tools/graphics/pdf2svg { };