about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/configparser/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/configparser/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/configparser/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/configparser/default.nix b/nixpkgs/pkgs/development/python-modules/configparser/default.nix
new file mode 100644
index 000000000000..93b5e58a7745
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/configparser/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi }:
+
+buildPythonPackage rec {
+  pname = "configparser";
+  version = "3.7.3";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "27594cf4fc279f321974061ac69164aaebd2749af962ac8686b20503ac0bcf2d";
+  };
+
+  # No tests available
+  doCheck = false;
+
+  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;
+  };
+}