Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 55 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ lib, fetchurl, pkg-config, buildPythonPackage, isPy3k, at-spi2-core, pygobject3, gnome, python,}:
buildPythonPackage rec { pname = "pyatspi"; version = "2.46.1"; format = "other";
src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; sha256 = "+R9qV0NOnAfRPVxL+BndeOjuYFqsKuRdjGTCgRT7BBs="; };
nativeBuildInputs = [ pkg-config ];
buildInputs = [ at-spi2-core pygobject3 ];
configureFlags = [ "PYTHON=${python.pythonOnBuildForHost.interpreter}" ];
postPatch = '' # useless python existence check for us substituteInPlace configure \ --replace '&& ! which' '&& false' '';
disabled = !isPy3k;
passthru = { updateScript = gnome.updateScript { packageName = pname; attrPath = "python3.pkgs.${pname}"; versionPolicy = "odd-unstable"; }; };
meta = with lib; { description = "Python client bindings for D-Bus AT-SPI"; homepage = "https://wiki.linuxfoundation.org/accessibility/d-bus"; license = licenses.gpl2; maintainers = with maintainers; [ jtojnar ]; platforms = with platforms; unix; };}