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

24 lines
653 B
Nix
Raw Normal View History

2018-03-20 17:07:15 +00:00
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "toml";
version = "0.10.0";
2018-03-20 17:07:15 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0p1xww2mzkhqvxkfvmfzm58bbfj812zhdz4rwdjiv94ifz2q37r2";
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 ];
};
}