mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
Adding remind and netpbm (maybe without all possible programs).
I agree the netpbm installation script is quite ugly, but I left a comment there. svn path=/nixpkgs/trunk/; revision=14253
This commit is contained in:
parent
daf2cd23dc
commit
17abbe36d4
38
pkgs/tools/graphics/netpbm/default.nix
Normal file
38
pkgs/tools/graphics/netpbm/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{stdenv, fetchsvn, libjpeg, libpng, flex, zlib, perl, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "netpbm-advanced-844";
|
||||
|
||||
src = fetchsvn {
|
||||
url = https://netpbm.svn.sourceforge.net/svnroot/netpbm/advanced;
|
||||
rev = 844;
|
||||
};
|
||||
|
||||
buildInputs = [ flex zlib perl libpng libjpeg libxml2 ];
|
||||
|
||||
configurePhase = "cp config.mk.in config.mk";
|
||||
|
||||
installPhase = ''
|
||||
make package pkgdir=$PWD/netpbmpkg
|
||||
# Pass answers to the script questions
|
||||
./installnetpbm << EOF
|
||||
$PWD/netpbmpkg
|
||||
$out
|
||||
Y
|
||||
$out/bin
|
||||
$out/lib
|
||||
N
|
||||
$out/lib
|
||||
$out/lib
|
||||
$out/include
|
||||
$out/man
|
||||
N
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://netpbm.sourceforge.net/;
|
||||
description = "Toolkit for manipulation of graphic images";
|
||||
license = "GPL,free";
|
||||
};
|
||||
}
|
15
pkgs/tools/misc/remind/default.nix
Normal file
15
pkgs/tools/misc/remind/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "remind-3.1.6";
|
||||
src = fetchurl {
|
||||
url = http://www.roaringpenguin.com/files/download/remind-03.01.06.tar.gz;
|
||||
sha256 = "acdf73904c95de55b615d80c7c007abe58d75e41978a16a43333a22583ac7738";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.roaringpenguin.com/products/remind;
|
||||
description = "Sophisticated calendar and alarm program for the console";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
|
@ -979,6 +979,10 @@ let
|
|||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
netpbm = import ../tools/graphics/netpbm {
|
||||
inherit stdenv fetchsvn libjpeg libpng zlib flex perl libxml2;
|
||||
};
|
||||
|
||||
netselect = import ../tools/networking/netselect {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
@ -1087,6 +1091,10 @@ let
|
|||
inherit (gnome) gnomevfs GConf;
|
||||
};
|
||||
|
||||
remind = import ../tools/misc/remind {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
replace = import ../tools/text/replace {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue