Loading pkgs/development/python-modules/pystemd/default.nix +19 −6 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ buildPythonPackage, lib, fetchPypi, setuptools, systemd, lxml, psutil, Loading @@ -14,7 +15,8 @@ buildPythonPackage rec { pname = "pystemd"; version = "0.13.2"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-Tc+ksTpVaFxJ09F8EGMeyhjDN3D2Yxb47yM3uJUcwUQ="; Loading @@ -27,9 +29,13 @@ buildPythonPackage rec { buildInputs = [ systemd ]; build-system = [ setuptools cython ]; nativeBuildInputs = [ pkg-config cython ]; propagatedBuildInputs = [ Loading @@ -42,15 +48,22 @@ buildPythonPackage rec { pytest ]; checkPhase = "pytest tests"; checkPhase = '' runHook preCheck # pytestCheckHook doesn't work pytest tests runHook postCheck ''; pythonImportsCheck = [ "pystemd" ]; meta = with lib; { meta = { description = '' Thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way ''; homepage = "https://github.com/facebookincubator/pystemd/"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ flokli ]; license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ flokli ]; }; } Loading
pkgs/development/python-modules/pystemd/default.nix +19 −6 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ buildPythonPackage, lib, fetchPypi, setuptools, systemd, lxml, psutil, Loading @@ -14,7 +15,8 @@ buildPythonPackage rec { pname = "pystemd"; version = "0.13.2"; format = "setuptools"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-Tc+ksTpVaFxJ09F8EGMeyhjDN3D2Yxb47yM3uJUcwUQ="; Loading @@ -27,9 +29,13 @@ buildPythonPackage rec { buildInputs = [ systemd ]; build-system = [ setuptools cython ]; nativeBuildInputs = [ pkg-config cython ]; propagatedBuildInputs = [ Loading @@ -42,15 +48,22 @@ buildPythonPackage rec { pytest ]; checkPhase = "pytest tests"; checkPhase = '' runHook preCheck # pytestCheckHook doesn't work pytest tests runHook postCheck ''; pythonImportsCheck = [ "pystemd" ]; meta = with lib; { meta = { description = '' Thin Cython-based wrapper on top of libsystemd, focused on exposing the dbus API via sd-bus in an automated and easy to consume way ''; homepage = "https://github.com/facebookincubator/pystemd/"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ flokli ]; license = lib.licenses.lgpl21Plus; maintainers = with lib.maintainers; [ flokli ]; }; }