* Added cksfv, a program for verifying sfv checksum files.
svn path=/nixpkgs/trunk/; revision=720
This commit is contained in:
parent
91184df3b2
commit
9db5df37f9
@ -103,6 +103,11 @@
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
cksfv = (import ../tools/networking/cksfv) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
graphviz = (import ../tools/graphics/graphviz) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
|
@ -5,6 +5,7 @@ let {
|
||||
pkgs.unzip
|
||||
pkgs.valgrind
|
||||
pkgs.par2cmdline
|
||||
pkgs.cksfv
|
||||
pkgs.graphviz
|
||||
pkgs.strategoxt093
|
||||
pkgs.libxml2
|
||||
|
10
pkgs/tools/networking/cksfv/builder.sh
Executable file
10
pkgs/tools/networking/cksfv/builder.sh
Executable file
@ -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
|
12
pkgs/tools/networking/cksfv/default.nix
Normal file
12
pkgs/tools/networking/cksfv/default.nix
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user