3
0
Fork 0
forked from mirrors/nixpkgs

orca: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 01:31:38 +01:00
parent 1d09719361
commit c0470f0f18
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -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";