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-06-05 17:44:38 +00:00
version = "0.10.1";
2018-03-20 17:07:15 +00:00
src = fetchPypi {
inherit pname version;
2020-06-05 17:44:38 +00:00
sha256 = "926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f";
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 ];
};
}