1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 flit-core,
6 pyyaml,
7}:
8
9buildPythonPackage rec {
10 pname = "pycomposefile";
11 version = "0.0.34";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-kzqTtDn4aSiCtNUP90ThKj2ZYEAGjpZlGjfdhCEmpQg=";
17 };
18
19 build-system = [ flit-core ];
20
21 dependencies = [ pyyaml ];
22
23 # Tests are broken
24 doCheck = false;
25
26 pythonImportsCheck = [ "pycomposefile" ];
27
28 meta = with lib; {
29 description = "Python library for structured deserialization of Docker Compose files";
30 homepage = "https://github.com/smurawski/pycomposefile";
31 changelog = "https://github.com/smurawski/pycomposefile/releases/tag/v${version}";
32 license = licenses.mit;
33 maintainers = with maintainers; [ mdarocha ];
34 };
35}