mate: define mateUpdateScript attribute
This commit is contained in:
parent
42fa68be1d
commit
9acbc0c674
|
@ -1,10 +1,18 @@
|
||||||
{ newScope }:
|
{ pkgs, newScope }:
|
||||||
|
|
||||||
let
|
let
|
||||||
callPackage = newScope self;
|
callPackage = newScope self;
|
||||||
|
|
||||||
self = rec {
|
self = rec {
|
||||||
|
|
||||||
|
# Update script tailored to mate packages from git repository
|
||||||
|
mateUpdateScript = { pname, version, odd-unstable ? true, url ? "https://pub.mate-desktop.org/releases" }:
|
||||||
|
pkgs.genericUpdater {
|
||||||
|
inherit pname version odd-unstable;
|
||||||
|
attrPath = "mate.${pname}";
|
||||||
|
versionLister = "${pkgs.common-updater-scripts}/bin/list-archive-two-level-versions ${url}";
|
||||||
|
};
|
||||||
|
|
||||||
atril = callPackage ./atril { };
|
atril = callPackage ./atril { };
|
||||||
caja = callPackage ./caja { };
|
caja = callPackage ./caja { };
|
||||||
caja-dropbox = callPackage ./caja-dropbox { };
|
caja-dropbox = callPackage ./caja-dropbox { };
|
||||||
|
|
Loading…
Reference in New Issue