gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor, which does the same.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, pkgconfig, fetchurl, buildPythonApplication
|
||||
{ stdenv, pkgconfig, fetchurl, buildPythonApplication
|
||||
, autoreconfHook, wrapGAppsHook, gobjectIntrospection
|
||||
, intltool, yelp-tools, itstool, libxmlxx3
|
||||
, python, pygobject3, gtk3, gnome3, substituteAll
|
||||
@@ -7,7 +7,6 @@
|
||||
, speechd, brltty, setproctitle, gst_all_1, gst-python
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
pname = "orca";
|
||||
version = "3.28.2";
|
||||
@@ -17,7 +16,7 @@ in buildPythonApplication rec {
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "08rh6ji680g5nrw2n7jrxrw7nwg04sj52jxffcfasgss2f51d38q";
|
||||
};
|
||||
|
||||
@@ -54,7 +53,7 @@ in buildPythonApplication rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://wiki.gnome.org/Projects/Orca;
|
||||
description = "Screen reader";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user