Files
2025-08-11 01:54:14 +02:00

36 lines
779 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
pyyaml,
}:
buildPythonPackage rec {
pname = "pycomposefile";
version = "0.0.34";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-kzqTtDn4aSiCtNUP90ThKj2ZYEAGjpZlGjfdhCEmpQg=";
};
build-system = [ flit-core ];
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 ];
};
}