fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
38 lines
829 B
Nix
38 lines
829 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pyyaml,
|
|
pythonOlder,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycomposefile";
|
|
version = "0.0.31";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SYul81giQLUM1FdgfabKJyrbSu4xdoaWblcE87ZbBwg=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ pyyaml ];
|
|
|
|
# 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 ];
|
|
};
|
|
}
|