summary refs log tree commit diff
path: root/pkgs/development/python-modules/kaptan/default.nix
blob: dea22059f096f7fc06c4921cb43f8b4e0c51cdac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, stdenv
, buildPythonPackage
, fetchPypi
, pyyaml
, pytest
}:

buildPythonPackage rec {
  pname = "kaptan";
  version = "0.5.12";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1abd1f56731422fce5af1acc28801677a51e56f5d3c3e8636db761ed143c3dd2";
  };

  postPatch = ''
    sed -i "s/==.*//g" requirements/test.txt
  '';

  propagatedBuildInputs = [ pyyaml ];

  checkInputs = [ pytest ];

  meta = with lib; {
    description = "Configuration manager for python applications";
    homepage = "https://kaptan.readthedocs.io/";
    license = licenses.bsd3;
    maintainers = with maintainers; [ ];
  };

}