f3: newer git rev, build extra binaries
This commit is contained in:
parent
ab96f93126
commit
c4650769f5
|
@ -1,21 +1,35 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
{ stdenv, fetchFromGitHub
|
||||
, parted, udev
|
||||
}:
|
||||
let
|
||||
version = "unstable-2016-11-26";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "f3-${version}";
|
||||
version = "6.0";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AltraMayor";
|
||||
repo = "f3";
|
||||
rev = "v${version}";
|
||||
sha256 = "1azi10ba0h9z7m0gmfnyymmfqb8380k9za8hn1rrw1s442hzgnz2";
|
||||
rev = "eabf001f69a788e64912bc9e812c118a324077d5";
|
||||
sha256 = "0ypqyqwqiy3ynssdd9gamk1jxywg6avb45ndlzhv3wxh2qcframm";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
buildInputs = [ parted udev ];
|
||||
|
||||
patchPhase = "sed -i 's/-oroot -groot//' Makefile";
|
||||
|
||||
buildFlags = [ "CFLAGS=-fgnu89-inline" # HACK for weird gcc incompatibility with -O2
|
||||
"all" # f3read, f3write
|
||||
"extra" # f3brew, f3fix, f3probe
|
||||
];
|
||||
|
||||
installFlags = [ "PREFIX=$(out)"
|
||||
"install"
|
||||
"install-extra"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Fight Flash Fraud";
|
||||
homepage = http://oss.digirati.com.br/f3/;
|
||||
|
|
Loading…
Reference in a new issue