12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
22 lines
647 B
Nix
22 lines
647 B
Nix
{ stdenv, fetchurl, perl, libxml2, libxslt, docbook_xml_dtd
|
|
, perlXMLParser}:
|
|
|
|
assert perl != null && libxml2 != null && libxslt != null
|
|
&& docbook_xml_dtd != null && perlXMLParser != null;
|
|
|
|
# !!! seems to need iconv, but cannot find it since $glibc/bin is not in PATH
|
|
|
|
stdenv.mkDerivation {
|
|
name = "scrollkeeper-0.3.14";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://heanet.dl.sourceforge.net/sourceforge/scrollkeeper/scrollkeeper-0.3.14.tar.gz;
|
|
md5 = "161eb3f29e30e7b24f84eb93ac696155";
|
|
};
|
|
perl = perl;
|
|
libxml2 = libxml2;
|
|
libxslt = libxslt;
|
|
docbook_xml_dtd = docbook_xml_dtd;
|
|
perlXMLParser = perlXMLParser;
|
|
}
|