gnome3.accerciser: move src.nix to default.nix

This commit is contained in:
Jan Tojnar 2018-02-21 02:57:59 +01:00
parent cb5c630db2
commit 20e53c0b14
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
2 changed files with 17 additions and 14 deletions

View File

@ -3,17 +3,30 @@
, dbus, intltool, libwnck3 }:
stdenv.mkDerivation rec {
inherit (import ./src.nix fetchurl) src name;
name = "accerciser-${version}";
version = "3.22.0";
nativeBuildInputs = [ pkgconfig ];
src = fetchurl {
url = "mirror://gnome/sources/accerciser/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "883306274442c7ecc076b24afca5190c835c40871ded1b9790da69347e9ca3c5";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook itstool intltool ];
buildInputs = [
gtk3 wrapGAppsHook itstool libxml2 python3Packages.python python3Packages.pyatspi
gtk3 libxml2 python3Packages.python python3Packages.pyatspi
python3Packages.pygobject3 python3Packages.ipython
at-spi2-core dbus intltool libwnck3 gnome3.defaultIconTheme
at-spi2-core dbus libwnck3 gnome3.defaultIconTheme
];
wrapPrefixVariables = [ "PYTHONPATH" ];
passthru = {
updateScript = gnome3.updateScript {
packageName = "accerciser";
attrPath = "gnome3.accerciser";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Accerciser;
description = "Interactive Python accessibility explorer";

View File

@ -1,10 +0,0 @@
# Autogenerated by maintainers/scripts/gnome.sh update
fetchurl: {
name = "accerciser-3.22.0";
src = fetchurl {
url = mirror://gnome/sources/accerciser/3.22/accerciser-3.22.0.tar.xz;
sha256 = "883306274442c7ecc076b24afca5190c835c40871ded1b9790da69347e9ca3c5";
};
}