1 { mkDerivation, haskellPackages, fetchFromGitHub, lib }:
5 version = "unstable-2018-05-26";
7 src = fetchFromGitHub {
9 repo = "Iptables_Semantics";
10 rev = "e0a2516bd885708fce875023b474ae341cbdee29";
11 sha256 = "1qc7p44dqja6qrjbjdc2xn7n9v41j5v59sgjnxjj5k0mxp58y1ch";
15 substituteInPlace haskell_tool/fffuu.cabal \
16 --replace "containers >=0.5 && <0.6" "containers >= 0.6" \
17 --replace "optparse-generic >= 1.2.3 && < 1.3" "optparse-generic >= 1.2.3" \
18 --replace "split >= 0.2.3 && <= 0.2.4" "split >= 0.2.3"
21 preCompileBuildDriver = ''
32 libraryHaskellDepends = with haskellPackages; [
40 executableHaskellDepends = with haskellPackages; [ base ];
42 testHaskellDepends = with haskellPackages; [
48 description = "Fancy Formal Firewall Universal Understander";
49 homepage = "https://github.com/diekmann/Iptables_Semantics/tree/master/haskell_tool";
50 license = lib.licenses.bsd2;