3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/f3/default.nix
R. RyanTM ae9a72418f f3: 7.0 -> 7.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/f3/versions
2018-11-19 10:04:52 -08:00

40 lines
951 B
Nix

{ stdenv, fetchFromGitHub
, parted, udev
}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "f3";
version = "7.1";
enableParallelBuilding = true;
src = fetchFromGitHub {
owner = "AltraMayor";
repo = pname;
rev = "v${version}";
sha256 = "0zglsmz683jg7f9wc6vmgljyg9w87pbnjw5x4w6x02w8233zvjqf";
};
buildInputs = [ parted udev ];
patchPhase = "sed -i 's/-oroot -groot//' Makefile";
buildFlags = [ "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/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ makefu ];
};
}