forked from mirrors/nixpkgs
orca: add updateScript
This commit is contained in:
parent
1d09719361
commit
c0470f0f18
|
@ -9,15 +9,15 @@
|
|||
|
||||
with lib;
|
||||
let
|
||||
pname = "orca";
|
||||
version = "3.26.0";
|
||||
majorVersion = builtins.concatStringsSep "." (take 2 (splitString "." version));
|
||||
in buildPythonApplication rec {
|
||||
name = "orca-${version}";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/orca/${majorVersion}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
sha256 = "0xk5k9cbswymma60nrfj00dl97wypx59c107fb1hwi75gm0i07a7";
|
||||
};
|
||||
|
||||
|
@ -47,6 +47,12 @@ in buildPythonApplication rec {
|
|||
intltoolize
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome3.updateScript {
|
||||
packageName = pname;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = https://wiki.gnome.org/Projects/Orca;
|
||||
description = "Screen reader";
|
||||
|
|
Loading…
Reference in a new issue