biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dbus-deviation / default.nix
blob3f455b68a96126c9b69b2f48a42f5cbe6798362d
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   lxml,
6   setuptools,
7   setuptools-git,
8 }:
10 buildPythonPackage rec {
11   pname = "dbus-deviation";
12   version = "0.6.1";
13   pyproject = true;
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-4GuI7+IjiF0nJd9Rz3ybe0Y9HG8E6knUaQh0MY0Ot6M=";
18   };
20   postPatch = ''
21     sed -i "/'sphinx',/d" setup.py
22   '';
24   nativeBuildInputs = [
25     setuptools
26     setuptools-git
27   ];
29   propagatedBuildInputs = [ lxml ];
31   pythonImportsCheck = [ "dbusdeviation" ];
33   meta = with lib; {
34     homepage = "https://tecnocode.co.uk/dbus-deviation/";
35     description = "Project for parsing D-Bus introspection XML and processing it in various ways";
36     license = licenses.lgpl21Plus;
37     maintainers = [ ];
38   };