depot/third_party/nixpkgs/pkgs/development/python-modules/toml/default.nix

29 lines
685 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "toml";
version = "0.10.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f";
};
# This package has a test script (built for Travis) that involves a)
# looking in the home directory for a binary test runner and b) using
# git to download a test suite.
doCheck = false;
meta = with lib; {
description = "Python library for parsing and creating TOML";
homepage = "https://github.com/uiri/toml";
license = licenses.mit;
maintainers = with maintainers; [ twey ];
};
}