mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* Added par2cmdline.
svn path=/nixpkgs/trunk/; revision=583
This commit is contained in:
parent
f1279496e5
commit
4b283d3de7
@ -93,6 +93,11 @@
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
par2cmdline = (import ../tools/networking/par2cmdline) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
};
|
||||
|
||||
graphviz = (import ../tools/graphics/graphviz) {
|
||||
fetchurl = fetchurl;
|
||||
stdenv = stdenv;
|
||||
|
9
pkgs/tools/networking/par2cmdline/builder.sh
Executable file
9
pkgs/tools/networking/par2cmdline/builder.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd par2cmdline-* || exit 1
|
||||
./configure --prefix=$out || exit 1
|
||||
make || exit 1
|
||||
make install || exit 1
|
10
pkgs/tools/networking/par2cmdline/default.nix
Normal file
10
pkgs/tools/networking/par2cmdline/default.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{stdenv, fetchurl}: derivation {
|
||||
name = "par2cmdline-0.3";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://heanet.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.3.tar.gz;
|
||||
md5 = "705c97bc41b862d281dd41c219a60849";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
}
|
Loading…
Reference in New Issue
Block a user