mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 01:23:03 +00:00
a7d9edab85
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
40 lines
951 B
Nix
40 lines
951 B
Nix
{ stdenv, fetchFromGitHub
|
|
, parted, udev
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
pname = "f3";
|
|
version = "7.2";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "AltraMayor";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1iwdg0r4wkgc8rynmw1qcqz62l0ldgc8lrazq33msxnk5a818jgy";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|