linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / python-modules / tomlkit / default.nix
blob27f952386f12792ceac4227ae41046804849578c
1 { lib, buildPythonPackage, fetchPypi, isPy27
2 , enum34, functools32, typing
3 }:
5 buildPythonPackage rec {
6   pname = "tomlkit";
7   version = "0.7.0";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "ac57f29693fab3e309ea789252fcce3061e19110085aa31af5446ca749325618";
12   };
14   propagatedBuildInputs =
15     lib.optionals isPy27 [ enum34 functools32 ]
16     ++ lib.optional isPy27 typing;
18   # The Pypi tarball doesn't include tests, and the GitHub source isn't
19   # buildable until we bootstrap poetry, see
20   # https://github.com/NixOS/nixpkgs/pull/53599#discussion_r245855665
21   doCheck = false;
23   meta = with lib; {
24     homepage = "https://github.com/sdispater/tomlkit";
25     description = "Style-preserving TOML library for Python";
26     license = licenses.mit;
27     maintainers = with maintainers; [ jakewaksbaum ];
28   };