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

24 lines
665 B
Nix
Raw Normal View History

2018-03-20 17:07:15 +00:00
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "toml";
2020-11-04 14:04:24 +00:00
version = "0.10.2";
2018-03-20 17:07:15 +00:00
src = fetchPypi {
inherit pname version;
2020-11-04 14:04:24 +00:00
sha256 = "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f";
2018-03-20 17:07:15 +00:00
};
# 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 stdenv.lib; {
description = "a Python library for parsing and creating TOML";
homepage = "https://github.com/uiri/toml";
license = licenses.mit;
maintainers = with maintainers; [ twey ];
};
}