Files
nixpkgs/pkgs/development/python-modules/dbus-python-client-gen/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

42 lines
979 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
into-dbus-python,
dbus-python,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "dbus-python-client-gen";
version = "0.8.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "stratis-storage";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-4Y4cL254ZlZKF6d6cStIOya3J4ZfypuumwKOdDNzuNc=";
};
propagatedBuildInputs = [
into-dbus-python
dbus-python
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "dbus_python_client_gen" ];
meta = with lib; {
description = "Python library for generating dbus-python client code";
homepage = "https://github.com/stratis-storage/dbus-python-client-gen";
changelog = "https://github.com/stratis-storage/dbus-python-client-gen/blob/v${version}/CHANGES.txt";
license = licenses.mpl20;
maintainers = with maintainers; [ nickcao ];
};
}