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

24 lines
664 B
Nix
Raw Normal View History

2018-03-20 18:07:15 +01:00
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "toml";
2018-10-06 12:56:20 +02:00
version = "0.9.6";
2018-03-20 18:07:15 +01:00
src = fetchPypi {
inherit pname version;
2018-10-06 12:56:20 +02:00
sha256 = "380178cde50a6a79f9d2cf6f42a62a5174febe5eea4126fe4038785f1d888d42";
2018-03-20 18:07:15 +01: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 ];
};
}