diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2020-06-07 10:02:16 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-06-11 10:00:25 +0200 |
commit | 9dfb5e415515b1ddc438fc60e966612bd228be59 (patch) | |
tree | b1f889b16f55eba7d4155f6fcfd438a93dd23bc4 /pkgs/development/python-modules/configparser | |
parent | 91e035056a9478f8a164ddab6f9a25c1e725a2f3 (diff) | |
download | nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar.gz nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar.bz2 nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar.lz nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar.xz nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.tar.zst nixpkgs-9dfb5e415515b1ddc438fc60e966612bd228be59.zip |
python2.pkgs.configparser: keep at 4.0.2 for python 2
Diffstat (limited to 'pkgs/development/python-modules/configparser')
-rw-r--r-- | pkgs/development/python-modules/configparser/4.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/configparser/4.nix b/pkgs/development/python-modules/configparser/4.nix new file mode 100644 index 00000000000..038ee49d2c6 --- /dev/null +++ b/pkgs/development/python-modules/configparser/4.nix @@ -0,0 +1,26 @@ +{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm }: + +buildPythonPackage rec { + pname = "configparser"; + version = "4.0.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "c7d282687a5308319bf3d2e7706e575c635b0a470342641c93bea0ea3b5331df"; + }; + + # No tests available + doCheck = false; + + nativeBuildInputs = [ setuptools_scm ]; + + preConfigure = '' + export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8 + ''; + + meta = with stdenv.lib; { + description = "Updated configparser from Python 3.7 for Python 2.6+."; + license = licenses.mit; + homepage = "https://github.com/jaraco/configparser"; + }; +} \ No newline at end of file |