gnome-shell: use src.nix
This commit is contained in:
parent
dbdb732849
commit
67d2344120
|
@ -111,7 +111,7 @@ for ext in ${extensions[@]}; do
|
||||||
done
|
done
|
||||||
echo "Chosen ${ext_pref}, hash is ${sha256}" >&2
|
echo "Chosen ${ext_pref}, hash is ${sha256}" >&2
|
||||||
|
|
||||||
src="# Autogenerated by maintainers/scripts/gnome-latest.sh
|
src="# Autogenerated by maintainers/scripts/gnome.sh update
|
||||||
|
|
||||||
fetchurl: {
|
fetchurl: {
|
||||||
name = \"${project}-${version}\";
|
name = \"${project}-${version}\";
|
||||||
|
|
|
@ -8,12 +8,7 @@
|
||||||
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.10.2.1.ebuild?revision=1.3&view=markup
|
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/gnome-base/gnome-shell/gnome-shell-3.10.2.1.ebuild?revision=1.3&view=markup
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gnome-shell-${gnome3.version}.1";
|
inherit (import ./src.nix fetchurl) name src;
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://gnome/sources/gnome-shell/${gnome3.version}/${name}.tar.xz";
|
|
||||||
sha256 = "00gjdfaznpnspb4jmjc19axiz6snd9drvqmzpq4sw0xh1ysgpncv";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Needed to find /etc/NetworkManager/VPN
|
# Needed to find /etc/NetworkManager/VPN
|
||||||
configureFlags = [ "--sysconfdir=/etc" ];
|
configureFlags = [ "--sysconfdir=/etc" ];
|
||||||
|
|
10
pkgs/desktops/gnome-3/3.16/core/gnome-shell/src.nix
Normal file
10
pkgs/desktops/gnome-3/3.16/core/gnome-shell/src.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||||
|
|
||||||
|
fetchurl: {
|
||||||
|
name = "gnome-shell-3.16.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://gnome/sources/gnome-shell/3.16/gnome-shell-3.16.1.tar.xz;
|
||||||
|
sha256 = "9bd9fbb40fb003ae09bebfe29d5b6a569b1fbb4a81c92ac9bada5efb956bf201";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue