2004-03-09 11:45:01 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2004-03-29 19:23:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2007-11-11 21:32:43 +01:00
|
|
|
name = "pkgconfig-0.22";
|
2004-03-09 11:45:01 +01:00
|
|
|
setupHook = ./setup-hook.sh;
|
2003-11-06 16:24:19 +01:00
|
|
|
src = fetchurl {
|
2007-11-11 21:32:43 +01:00
|
|
|
url = http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz;
|
|
|
|
sha256 = "1rpb5wygmp0f8nal7y3ga4556i7hkjdslv3wdq04fj30gns621vy";
|
2003-11-06 16:24:19 +01:00
|
|
|
};
|
2007-03-02 20:14:24 +01:00
|
|
|
|
2007-11-11 21:40:48 +01:00
|
|
|
postInstall = "
|
|
|
|
ensureDir \$out/nix-support
|
|
|
|
cp \$setupHook \$out/nix-support/setup-hook
|
|
|
|
";
|
|
|
|
|
2007-03-02 20:14:24 +01:00
|
|
|
patches = [
|
|
|
|
# Process Requires.private properly, see
|
|
|
|
# http://bugs.freedesktop.org/show_bug.cgi?id=4738.
|
|
|
|
(fetchurl {
|
2007-03-03 02:38:43 +01:00
|
|
|
name = "pkgconfig-8494.patch";
|
2007-03-02 20:14:24 +01:00
|
|
|
url = http://bugs.freedesktop.org/attachment.cgi?id=8494;
|
|
|
|
sha256 = "1pcrdbb7dypg2biy0yqc7bdxak5zii8agqljdvk7j4wbyghpqzws";
|
|
|
|
})
|
|
|
|
];
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|