summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/f3/default.nix
blob: e7f20b1e6b3d3f00814e5f9d8dd2a244cf34caf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ];
  };
}