parabolic: 2024.5.0 -> 2025.1.4 (#378350)
[NixPkgs.git] / pkgs / development / python-modules / configparser / default.nix
blob2c9981db34a6b8d9c4d794fdd5c524f1f35dcd3d
2   lib,
3   stdenv,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pytestCheckHook,
7   setuptools,
8   setuptools-scm,
9 }:
11 buildPythonPackage rec {
12   pname = "configparser";
13   version = "7.1.0";
14   pyproject = true;
16   src = fetchFromGitHub {
17     owner = "jaraco";
18     repo = "configparser";
19     tag = "v${version}";
20     hash = "sha256-6B1I/kS60opMDpCzy2tnlnV65Qo500G0zPHP1I5TDWA=";
21   };
23   nativeBuildInputs = [
24     setuptools
25     setuptools-scm
26   ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   preConfigure = ''
31     export LC_ALL=${if stdenv.hostPlatform.isDarwin then "en_US" else "C"}.UTF-8
32   '';
34   meta = with lib; {
35     description = "Updated configparser from Python 3.7 for Python 2.6+";
36     homepage = "https://github.com/jaraco/configparser";
37     license = licenses.mit;
38     maintainers = [ ];
39   };