Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
851 B · 33 lines
Nix
12345678910111213141516171819202122232425262728293031323334{ lib, stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, setuptools-scm }:
buildPythonPackage rec { pname = "configparser"; version = "6.0.0"; format = "pyproject";
src = fetchPypi { inherit pname version; hash = "sha256-7JFKseVsZy3h9cNIOWTmj3GzTkV5BLe3bga5Iq7AZ6g="; };
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
preConfigure = '' export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8 '';
preCheck = '' # avoid FileNotFoundError # FileNotFoundError: [Errno 2] No such file or directory: 'cfgparser.3' cd tests '';
meta = with lib; { description = "Updated configparser from Python 3.7 for Python 2.6+."; homepage = "https://github.com/jaraco/configparser"; license = licenses.mit; maintainers = with maintainers; [ ]; };}