1 { lib, buildPythonPackage, fetchPypi, isPy27
2 , enum34, functools32, typing
5 buildPythonPackage rec {
10 inherit pname version;
11 sha256 = "ac57f29693fab3e309ea789252fcce3061e19110085aa31af5446ca749325618";
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
24 homepage = "https://github.com/sdispater/tomlkit";
25 description = "Style-preserving TOML library for Python";
26 license = licenses.mit;
27 maintainers = with maintainers; [ jakewaksbaum ];