mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
40 lines
750 B
Nix
40 lines
750 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lxml,
|
|
setuptools,
|
|
setuptools-git,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "dbus-deviation";
|
|
version = "0.6.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-4GuI7+IjiF0nJd9Rz3ybe0Y9HG8E6knUaQh0MY0Ot6M=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i "/'sphinx',/d" setup.py
|
|
'';
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-git
|
|
];
|
|
|
|
propagatedBuildInputs = [ lxml ];
|
|
|
|
pythonImportsCheck = [ "dbusdeviation" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://tecnocode.co.uk/dbus-deviation/";
|
|
description = "Project for parsing D-Bus introspection XML and processing it in various ways";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|