Merge pull request #7173 from ryantm/fetchurlGnome
Get rid of fetchurlGnome
This commit is contained in:
commit
4c449b86ea
@ -1,13 +1,13 @@
|
||||
{stdenv, fetchurl, fetchurlGnome, gtk, pkgconfig, perl, perlXMLParser, libxml2, gettext
|
||||
{stdenv, fetchurl, gtk, pkgconfig, perl, perlXMLParser, libxml2, gettext
|
||||
, python, libxml2Python, docbook5, docbook_xsl, libxslt, intltool, libart_lgpl
|
||||
, withGNOME ? false, libgnomeui }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "dia-${minVer}.3";
|
||||
minVer = "0.97";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "dia";
|
||||
major = "0"; minor = "97"; patchlevel = "3"; extension = "xz";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/dia/${minVer}/${name}.tar.xz";
|
||||
sha256 = "0d3x6w0l6fwd0l8xx06y1h56xf8ss31yzia3a6xr9y28xx44x492";
|
||||
};
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
{ fetchurl }:
|
||||
|
||||
{ project, major, minor, patchlevel ? null, extension ? "bz2", sha256 }:
|
||||
|
||||
let
|
||||
baseVersion = "${major}.${minor}";
|
||||
version = baseVersion + (if patchlevel != null then ".${patchlevel}" else "");
|
||||
name = "${project}-${version}";
|
||||
in
|
||||
|
||||
(fetchurl {
|
||||
url = "mirror://gnome/sources/${project}/${baseVersion}/${name}.tar.${extension}";
|
||||
inherit sha256;
|
||||
}) // {
|
||||
inherit major minor patchlevel baseVersion version;
|
||||
pkgname = name;
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, glib, libIDL, libintlOrEmpty }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, libIDL, libintlOrEmpty }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "ORBit2-${minVer}.19";
|
||||
minVer = "2.14";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "ORBit2";
|
||||
major = "2"; minor = "14"; patchlevel = "19";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/ORBit2/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "0l3mhpyym9m5iz09fz0rgiqxl2ym6kpkwpsp1xrr4aa80nlh1jam";
|
||||
};
|
||||
|
||||
|
@ -1,15 +1,15 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, GConf, gtkmm, glibmm }:
|
||||
{ stdenv, fetchurl, pkgconfig, GConf, gtkmm, glibmm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gconfmm-${minVer}.3";
|
||||
minVer = "2.28";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gconfmm";
|
||||
major = "2"; minor = "28"; patchlevel = "3"; extension = "bz2";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gconfmm/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "a5e0092bb73371a3ca76b2ecae794778f3a9409056fee9b28ec1db072d8e6108";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [pkgconfig];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ GConf gtkmm glibmm ];
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, fetchurlGnome, which }:
|
||||
{ stdenv, fetchurl, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gnome-common-${minVer}.0";
|
||||
minVer = "2.34";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gnome-common";
|
||||
major = "2"; minor = "34"; patchlevel = "0";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-common/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "1pz13mpp09q5s3bikm8ml92s1g0scihsm4iipqv1ql3mp6d4z73s";
|
||||
};
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, libxml2, bzip2, openssl, samba, dbus_glib
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, bzip2, openssl, samba, dbus_glib
|
||||
, glib, fam, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gnome-vfs-${minVer}.4";
|
||||
minVer = "2.24";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gnome-vfs";
|
||||
major = "2"; minor = "24"; patchlevel = "4";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-vfs/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, gtkglext, gtkmm, gtk, mesa, gdk_pixbuf }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtkglext, gtkmm, gtk, mesa, gdk_pixbuf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gtkglextmm-${minVer}.0";
|
||||
minVer = "1.2";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gtkglextmm";
|
||||
major = "1"; minor = "2"; patchlevel = "0"; extension = "bz2";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtkglextmm/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "6cd4bd2a240e5eb1e3a24c5a3ebbf7ed905b522b888439778043fdeb58771fea";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurlGnome, flex, bison, pkgconfig, glib, gettext}:
|
||||
{stdenv, fetchurl, flex, bison, pkgconfig, glib, gettext}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libIDL-${minVer}.14";
|
||||
minVer = "0.8";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libIDL";
|
||||
major = "0"; minor = "8"; patchlevel = "14";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libIDL/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "08129my8s9fbrk0vqvnmx6ph4nid744g5vbwphzkaik51664vln5";
|
||||
};
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurlGnome, flex, bison, pkgconfig, glib, dbus_glib, libxml2, popt
|
||||
{ stdenv, fetchurl, flex, bison, pkgconfig, glib, dbus_glib, libxml2, popt
|
||||
, intltool, ORBit2, procps }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libbonobo-${minVer}.1";
|
||||
minVer = "2.32";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libbonobo";
|
||||
major = "2"; minor = "32"; patchlevel = "1";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libbonobo/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "0swp4kk6x7hy1rvd1f9jba31lvfc6qvafkvbpg9h0r34fzrd8q4i";
|
||||
};
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ stdenv, fetchurlGnome, bison, pkgconfig, popt, libxml2, gtk, libtool
|
||||
{ stdenv, fetchurl, bison, pkgconfig, popt, libxml2, gtk, libtool
|
||||
, intltool, libbonobo, GConf, libgnomecanvas, libgnome, libglade }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libbonoboui-${minVer}.5";
|
||||
minVer = "2.24";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libbonoboui";
|
||||
major = "2"; minor = "24"; patchlevel = "5";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libbonoboui/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "1kbgqh7bw0fdx4f1a1aqwpff7gp5mwhbaz60c6c98bc4djng5dgs";
|
||||
};
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, glib, popt, zlib, libcanberra
|
||||
{ stdenv, fetchurl, pkgconfig, glib, popt, zlib, libcanberra
|
||||
, intltool, libbonobo, GConf, gnome_vfs, ORBit2, libtool, libogg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libgnome-${minVer}.1";
|
||||
minVer = "2.32";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libgnome";
|
||||
major = "2"; minor = "32"; patchlevel = "1";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libgnome/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, gtk, intltool, libart_lgpl, libglade }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, intltool, libart_lgpl, libglade }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libgnomecanvas-${minVer}.3";
|
||||
minVer = "2.30";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libgnomecanvas";
|
||||
major = "2"; minor = "30"; patchlevel = "3";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libgnomecanvas/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "0h6xvswbqspdifnyh5pm2pqq55yp3kn6yrswq7ay9z49hkh7i6w5";
|
||||
};
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, libxml2, xlibs, glib, pango
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, xlibs, glib, pango
|
||||
, intltool, libgnome, libgnomecanvas, libbonoboui, GConf, libtool
|
||||
, gnome_vfs, libgnome_keyring, libglade }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "libgnomeui-${minVer}.5";
|
||||
minVer = "2.24";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "libgnomeui";
|
||||
major = "2"; minor = "24"; patchlevel = "5";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libgnomeui/${minVer}/${name}.tar.bz2";
|
||||
sha256 = "03rwbli76crkjl6gp422wrc9lqpl174k56cp9i96b7l8jlj2yddf";
|
||||
};
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, gtk, glibmm, cairomm, pangomm, atkmm }:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, glibmm, cairomm, pangomm, atkmm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gtkmm-${minVer}.4";
|
||||
minVer = "2.24";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gtkmm";
|
||||
major = "2"; minor = "24"; patchlevel = "4"; extension = "xz";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gtkmm/${minVer}/${name}.tar.xz";
|
||||
sha256 = "1vpmjqv0aqb1ds0xi6nigxnhlr0c74090xzi15b92amlzkrjyfj4";
|
||||
};
|
||||
|
||||
|
@ -1,18 +1,15 @@
|
||||
{ stdenv, fetchurlGnome, glib, pkgconfig, gobjectIntrospection, dbus }:
|
||||
{ stdenv, fetchurl, glib, pkgconfig, gobjectIntrospection, dbus }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "json-glib-${minVer}.2";
|
||||
minVer = "1.0";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "json-glib";
|
||||
major = "1";
|
||||
minor = "0";
|
||||
patchlevel = "2";
|
||||
extension = "xz";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/json-glib/${minVer}/${name}.tar.xz";
|
||||
sha256 = "887bd192da8f5edc53b490ec51bf3ffebd958a671f5963e4f3af32c22e35660a";
|
||||
};
|
||||
|
||||
configureflags= "--with-introspection" ;
|
||||
configureflags= "--with-introspection";
|
||||
|
||||
propagatedBuildInputs = [ glib gobjectIntrospection ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurlGnome, pkgconfig, glib, bison, flex }:
|
||||
{ stdenv, fetchurl, pkgconfig, glib, bison, flex }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = src.pkgname;
|
||||
name = "gob2-${minVer}.18";
|
||||
minVer = "2.0";
|
||||
|
||||
src = fetchurlGnome {
|
||||
project = "gob2";
|
||||
major = "2"; minor = "0"; patchlevel = "18"; extension = "gz";
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gob2/${minVer}/${name}.tar.gz";
|
||||
sha256 = "1r242s3rsxyqiw2ic2gdpvvrx903jgjd1aa4mkl26in5k9zk76fa";
|
||||
};
|
||||
|
||||
|
@ -360,9 +360,6 @@ let
|
||||
inherit curl stdenv;
|
||||
};
|
||||
|
||||
# A wrapper around fetchurl that generates miror://gnome URLs automatically
|
||||
fetchurlGnome = callPackage ../build-support/fetchurl/gnome.nix { };
|
||||
|
||||
# fetchurlBoot is used for curl and its dependencies in order to
|
||||
# prevent a cyclic dependency (curl depends on curl.tar.bz2,
|
||||
# curl.tar.bz2 depends on fetchurl, fetchurl depends on curl). It
|
||||
|
Loading…
Reference in New Issue
Block a user