depot/third_party/nixpkgs/pkgs/development/python-modules/pycomposefile/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}