fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
25 lines
701 B
Nix
25 lines
701 B
Nix
args : with args;
|
|
let localDefs = builderDefs.passthru.function {
|
|
src = /* put a fetchurl here */
|
|
fetchurl {
|
|
url = http://ftp.gnome.org/pub/gnome/sources/intltool/0.36/intltool-0.36.2.tar.bz2;
|
|
sha256 = "0cfblqz3k5s4rsw6rx9f5v3izsrmrs96293rb7bd02vijbah9gxj";
|
|
};
|
|
|
|
propagatedBuildInputs = [perl perlXMLParser];
|
|
configureFlags = [];
|
|
};
|
|
in with localDefs;
|
|
stdenv.mkDerivation rec {
|
|
name = "intltool-0.36.2";
|
|
builder = writeScript (name + "-builder")
|
|
(textClosure localDefs [minInit addInputs doUnpack
|
|
(doDump "1") doConfigure doMakeInstall
|
|
doPropagate doForceShare]);
|
|
inherit propagatedBuildInputs;
|
|
meta = {
|
|
description = "Internalization tool for XML";
|
|
inherit src;
|
|
};
|
|
}
|