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

29 lines
655 B
Nix
Raw Normal View History

2020-06-07 09:16:32 +01:00
{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm
, toml
}:
buildPythonPackage rec {
pname = "configparser";
2020-06-06 07:47:01 +01:00
version = "5.0.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:01 +01:00
sha256 = "2ca44140ee259b5e3d8aaf47c79c36a7ab0d5e94d70bd4105c03ede7a20ea5a1";
};
# No tests available
doCheck = false;
2020-06-07 09:16:32 +01:00
nativeBuildInputs = [ setuptools_scm toml ];
2019-10-24 07:47:28 +01:00
2019-02-14 07:37:13 +00:00
preConfigure = ''
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
2019-02-14 07:37:13 +00:00
'';
meta = with stdenv.lib; {
2019-02-14 07:37:13 +00:00
description = "Updated configparser from Python 3.7 for Python 2.6+.";
license = licenses.mit;
homepage = "https://github.com/jaraco/configparser";
};
}