mate: define mateUpdateScript attribute
This commit is contained in:
parent
42fa68be1d
commit
9acbc0c674
1 changed files with 9 additions and 1 deletions
|
@ -1,10 +1,18 @@
|
|||
{ newScope }:
|
||||
{ pkgs, newScope }:
|
||||
|
||||
let
|
||||
callPackage = newScope self;
|
||||
|
||||
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 { };
|
||||
caja = callPackage ./caja { };
|
||||
caja-dropbox = callPackage ./caja-dropbox { };
|
||||
|
|
Loading…
Reference in a new issue