37 lines
689 B
Nix
37 lines
689 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, setuptools
|
||
|
, pyyaml
|
||
|
, twine
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "pycomposefile";
|
||
|
version = "0.0.30";
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|