tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
gnome3.grilo: add updateScript
Jan Tojnar
8 years ago
1a171540
b8e2420e
+15
-6
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
gnome-3
core
grilo
default.nix
+15
-6
pkgs/desktops/gnome-3/core/grilo/default.nix
···
1
{ stdenv, fetchurl, pkgconfig, file, intltool, glib
2
, libxml2, gnome3, gobjectIntrospection, libsoup, python3Packages }:
3
4
-
stdenv.mkDerivation rec {
5
-
major = "0.3"; # if you change this, also change ./setup-hook.sh
6
-
minor = "4";
7
-
name = "grilo-${major}.${minor}";
0
8
9
src = fetchurl {
10
-
url = "mirror://gnome/sources/grilo/${major}/${name}.tar.xz";
11
sha256 = "0vh67gja6yn7czh77ssmx6ncp99fl2926pbi2hplqms27c2n8sbw";
12
};
13
···
28
29
propagatedBuildInputs = [ python3Packages.pygobject3 gobjectIntrospection ];
30
0
0
0
0
0
0
0
0
31
meta = with stdenv.lib; {
32
-
homepage = https://wiki.gnome.org/action/show/Projects/Grilo;
33
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
34
maintainers = gnome3.maintainers;
35
license = licenses.lgpl2;
···
1
{ stdenv, fetchurl, pkgconfig, file, intltool, glib
2
, libxml2, gnome3, gobjectIntrospection, libsoup, python3Packages }:
3
4
+
let
5
+
pname = "grilo";
6
+
version = "0.3.4"; # if you change minor, also change ./setup-hook.sh
7
+
in stdenv.mkDerivation rec {
8
+
name = "${pname}-${version}";
9
10
src = fetchurl {
11
+
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
12
sha256 = "0vh67gja6yn7czh77ssmx6ncp99fl2926pbi2hplqms27c2n8sbw";
13
};
14
···
29
30
propagatedBuildInputs = [ python3Packages.pygobject3 gobjectIntrospection ];
31
32
+
passthru = {
33
+
updateScript = gnome3.updateScript {
34
+
packageName = pname;
35
+
attrPath = "gnome3.${pname}";
36
+
versionPolicy = "none";
37
+
};
38
+
};
39
+
40
meta = with stdenv.lib; {
41
+
homepage = https://wiki.gnome.org/Projects/Grilo;
42
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
43
maintainers = gnome3.maintainers;
44
license = licenses.lgpl2;