diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 484358c89c39..b7ee646a1c29 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -103,6 +103,11 @@ stdenv = stdenv; }; + cksfv = (import ../tools/networking/cksfv) { + fetchurl = fetchurl; + stdenv = stdenv; + }; + graphviz = (import ../tools/graphics/graphviz) { fetchurl = fetchurl; stdenv = stdenv; diff --git a/pkgs/system/populate-cache.nix b/pkgs/system/populate-cache.nix index d2612c920467..927a81438390 100644 --- a/pkgs/system/populate-cache.nix +++ b/pkgs/system/populate-cache.nix @@ -5,6 +5,7 @@ let { pkgs.unzip pkgs.valgrind pkgs.par2cmdline + pkgs.cksfv pkgs.graphviz pkgs.strategoxt093 pkgs.libxml2 diff --git a/pkgs/tools/networking/cksfv/builder.sh b/pkgs/tools/networking/cksfv/builder.sh new file mode 100755 index 000000000000..1b22f508241b --- /dev/null +++ b/pkgs/tools/networking/cksfv/builder.sh @@ -0,0 +1,10 @@ +#! /bin/sh + +. $stdenv/setup || exit 1 + +tar xvfz $src || exit 1 +cd cksfv-*/src || exit 1 +make || exit 1 +mkdir $out || exit 1 +mkdir $out/bin || exit 1 +install cksfv $out/bin || exit 1 diff --git a/pkgs/tools/networking/cksfv/default.nix b/pkgs/tools/networking/cksfv/default.nix new file mode 100644 index 000000000000..5551831a1d50 --- /dev/null +++ b/pkgs/tools/networking/cksfv/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl}: + +derivation { + name = "cksfv-1.3"; + system = stdenv.system; + builder = ./builder.sh; + src = fetchurl { + url = http://www.fodder.org/cksfv/cksfv-1.3.tar.gz; + md5 = "e00cf6a80a566539eb6f3432f2282c38"; + }; + stdenv = stdenv; +}