2021-01-17 02:09:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook,
|
2018-12-21 22:40:08 +00:00
|
|
|
glib, gtk3, pcsclite, lua5_2, curl, readline }:
|
|
|
|
let
|
|
|
|
version = "0.8.4";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "cardpeek";
|
|
|
|
inherit version;
|
2018-12-21 22:40:08 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "L1L1";
|
|
|
|
repo = "cardpeek";
|
|
|
|
rev = "cardpeek-${version}";
|
|
|
|
sha256 = "1ighpl7nvcvwnsd6r5h5n9p95kclwrq99hq7bry7s53yr57l6588";
|
|
|
|
};
|
|
|
|
|
2021-01-17 02:09:27 +00:00
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2018-12-21 22:40:08 +00:00
|
|
|
buildInputs = [ glib gtk3 pcsclite lua5_2 curl readline ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/L1L1/cardpeek";
|
2018-12-21 22:40:08 +00:00
|
|
|
description = "A tool to read the contents of ISO7816 smart cards";
|
2018-12-23 00:03:54 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2018-12-21 22:40:08 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
|
|
|
maintainers = with maintainers; [ embr ];
|
|
|
|
};
|
|
|
|
}
|