diff --git a/pkgs/development/python-modules/pycomposefile/default.nix b/pkgs/development/python-modules/pycomposefile/default.nix index 2789fbb69d22..9ede18903450 100644 --- a/pkgs/development/python-modules/pycomposefile/default.nix +++ b/pkgs/development/python-modules/pycomposefile/default.nix @@ -1,36 +1,37 @@ -{ lib -, buildPythonPackage -, fetchPypi -, setuptools -, pyyaml -, twine +{ + lib, + buildPythonPackage, + fetchPypi, + pyyaml, + pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pycomposefile"; - version = "0.0.30"; - format = "setuptools"; + version = "0.0.31"; + pyproject = true; + + disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - extension = "tar.gz"; - hash = "sha256-GQopIO8F+G5iDz4NF2GTHCpXo4uqKHdHIzffacihylM="; + hash = "sha256-SYul81giQLUM1FdgfabKJyrbSu4xdoaWblcE87ZbBwg="; }; - nativeBuildInput = [ - setuptools - ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ - pyyaml - twine - ]; + dependencies = [ pyyaml ]; - doCheck = false; # tests are broken + # Tests are broken + doCheck = false; + + pythonImportsCheck = [ "pycomposefile" ]; meta = with lib; { description = "Python library for structured deserialization of Docker Compose files"; homepage = "https://github.com/smurawski/pycomposefile"; + changelog = "https://github.com/smurawski/pycomposefile/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ mdarocha ]; };