summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/f3/default.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-08-02 19:09:42 +0200
committermakefu <github@syntax-fehler.de>2016-08-02 19:09:42 +0200
commitb197949ab83ee3ee87b5774e0fc7c8d0123a6708 (patch)
treee4f52471f7f2b1ec415df39a551d8cf3fba1ec65 /makefu/5pkgs/f3/default.nix
parent4719eb8d581dc6462e8531959c6e841e51c4f0d7 (diff)
m 5 f3: init
Diffstat (limited to 'makefu/5pkgs/f3/default.nix')
-rw-r--r--makefu/5pkgs/f3/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/makefu/5pkgs/f3/default.nix b/makefu/5pkgs/f3/default.nix
new file mode 100644
index 000000000..e7f20b1e6
--- /dev/null
+++ b/makefu/5pkgs/f3/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ name = "f3-${version}";
+ version = "6.0";
+
+ enableParallelBuilding = true;
+
+ src = fetchFromGitHub {
+ owner = "AltraMayor";
+ repo = "f3";
+ rev = "v${version}";
+ sha256 = "1azi10ba0h9z7m0gmfnyymmfqb8380k9za8hn1rrw1s442hzgnz2";
+ };
+
+ makeFlags = [ "PREFIX=$(out)" ];
+ patchPhase = "sed -i 's/-oroot -groot//' Makefile";
+
+ 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 ];
+ };
+}