tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
clutter-gtk: add updateScript
Jan Tojnar
8 years ago
dfcdb855
99142d6f
+13
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
clutter-gtk
default.nix
+13
-6
pkgs/development/libraries/clutter-gtk/default.nix
···
1
-
{ fetchurl, stdenv, pkgconfig, gobjectIntrospection, clutter, gtk3 }:
2
-
0
0
0
3
stdenv.mkDerivation rec {
4
-
major = "1.8";
5
-
minor = "4";
6
-
name = "clutter-gtk-${major}.${minor}";
7
8
src = fetchurl {
9
-
url = "mirror://gnome/sources/clutter-gtk/${major}/${name}.tar.xz";
10
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
11
};
12
···
14
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
15
16
postBuild = "rm -rf $out/share/gtk-doc";
0
0
0
0
0
0
17
18
meta = {
19
description = "Clutter-GTK";
···
1
+
{ fetchurl, stdenv, pkgconfig, gobjectIntrospection, clutter, gtk3, gnome3 }:
2
+
let
3
+
pname = "clutter-gtk";
4
+
version = "1.8.4";
5
+
in
6
stdenv.mkDerivation rec {
7
+
name = "${pname}-${version}";
0
0
8
9
src = fetchurl {
10
+
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
11
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
12
};
13
···
15
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
16
17
postBuild = "rm -rf $out/share/gtk-doc";
18
+
19
+
passthru = {
20
+
updateScript = gnome3.updateScript {
21
+
packageName = pname;
22
+
};
23
+
};
24
25
meta = {
26
description = "Clutter-GTK";