mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
proxmark3: add gd optional dependency
This commit is contained in:
parent
38260f877c
commit
29423a5d70
@ -7,6 +7,7 @@
|
||||
, bzip2
|
||||
, openssl
|
||||
, jansson
|
||||
, gd
|
||||
, whereami
|
||||
, lua
|
||||
, lz4
|
||||
@ -23,14 +24,14 @@
|
||||
, standalone ? "LF_SAMYRUN"
|
||||
}:
|
||||
assert withBlueshark -> stdenv.hostPlatform.isLinux;
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "proxmark3";
|
||||
version = "4.18218";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RfidResearchGroup";
|
||||
repo = "proxmark3";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-LltTTmYEF1JsqkVaj7Z19qGR+dEUj6Hwr6T5Z1eDzZc=";
|
||||
};
|
||||
|
||||
@ -59,6 +60,7 @@ stdenv.mkDerivation rec {
|
||||
bzip2
|
||||
openssl
|
||||
jansson
|
||||
gd
|
||||
lz4
|
||||
whereami
|
||||
lua
|
||||
@ -84,5 +86,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ nyanotech emilytrau ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "pm3";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user