f3: fix linux build
This commit is contained in:
parent
b7d8c68778
commit
bb9bc68e2b
|
@ -1,5 +1,9 @@
|
||||||
{ stdenv, lib, fetchFromGitHub
|
{ stdenv
|
||||||
, parted, systemd, argp-standalone
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, parted
|
||||||
|
, systemd
|
||||||
|
, argp-standalone
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -22,10 +26,8 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isLinux [ systemd parted ]
|
buildInputs = lib.optionals stdenv.isLinux [ systemd parted ]
|
||||||
++ lib.optional stdenv.isDarwin [ argp-standalone ];
|
++ lib.optionals stdenv.isDarwin [ argp-standalone ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
"all" # f3read, f3write
|
"all" # f3read, f3write
|
||||||
|
@ -48,8 +50,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Fight Flash Fraud";
|
description = "Fight Flash Fraud";
|
||||||
homepage = "http://oss.digirati.com.br/f3/";
|
homepage = "https://fight-flash-fraud.readthedocs.io/en/stable/";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ makefu ];
|
maintainers = with maintainers; [ makefu evils ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue