mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
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
15 lines
373 B
Nix
15 lines
373 B
Nix
{stdenv, fetchurl, pkgconfig, perl}:
|
|
|
|
assert pkgconfig != null && perl != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gnome-mime-data-2.4.0";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://ftp.gnome.org/pub/GNOME/desktop/2.4/2.4.1/sources/gnome-mime-data-2.4.0.tar.bz2;
|
|
md5 = "b8f1b383a23d734bec8bc33a03cb3690";
|
|
};
|
|
pkgconfig = pkgconfig;
|
|
perl = perl;
|
|
}
|