diff options
author | embr <hi@liclac.eu> | 2018-12-21 22:40:08 +0000 |
---|---|---|
committer | embr <hi@liclac.eu> | 2018-12-21 22:40:08 +0000 |
commit | 74dcd2b49c1e1b15431723ec38c82e34c408ceb1 (patch) | |
tree | 28ff789197d4902aa58c6af29e7e1c320df0655e /pkgs/applications/misc/cardpeek | |
parent | 8dd2fb2ffba87c8a7fd53915aace851bbc654e63 (diff) |
cardpeek: init at 0.8.4
Diffstat (limited to 'pkgs/applications/misc/cardpeek')
-rw-r--r-- | pkgs/applications/misc/cardpeek/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/cardpeek/default.nix b/pkgs/applications/misc/cardpeek/default.nix new file mode 100644 index 0000000000000..c46242bebe94f --- /dev/null +++ b/pkgs/applications/misc/cardpeek/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook, + glib, gtk3, pcsclite, lua5_2, curl, readline }: +let + version = "0.8.4"; +in + stdenv.mkDerivation { + name = "cardpeek-${version}"; + + src = fetchFromGitHub { + owner = "L1L1"; + repo = "cardpeek"; + rev = "cardpeek-${version}"; + sha256 = "1ighpl7nvcvwnsd6r5h5n9p95kclwrq99hq7bry7s53yr57l6588"; + }; + + nativeBuildInputs = [ pkgconfig autoreconfHook ]; + buildInputs = [ glib gtk3 pcsclite lua5_2 curl readline ]; + + enableParallelBuilding = true; + + meta = with stdenv.lib; { + homepage = https://github.com/L1L1/cardpeek; + description = "A tool to read the contents of ISO7816 smart cards"; + license = licenses.gpl3; + platforms = with platforms; linux ++ darwin; + maintainers = with maintainers; [ embr ]; + }; + } |