2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, setuptools
|
|
|
|
, pyyaml
|
|
|
|
, twine
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pycomposefile";
|
|
|
|
version = "0.0.30";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-11-16 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
extension = "tar.gz";
|
|
|
|
hash = "sha256-GQopIO8F+G5iDz4NF2GTHCpXo4uqKHdHIzffacihylM=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInput = [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyyaml
|
|
|
|
twine
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # tests are broken
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for structured deserialization of Docker Compose files";
|
|
|
|
homepage = "https://github.com/smurawski/pycomposefile";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ mdarocha ];
|
|
|
|
};
|
|
|
|
}
|