nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 57 lines 1.1 kB view raw
1{ lib 2, fetchPypi 3, pythonOlder 4, buildPythonPackage 5, pip 6, pytestCheckHook 7, pytest-xdist 8, click 9, setuptools-scm 10, pep517 11, stdenv 12}: 13 14buildPythonPackage rec { 15 pname = "pip-tools"; 16 version = "6.6.1"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "sha256-Y04+jUcHJXwAQxPRap1sFMHOlNPA+h+Tw40mRAHy5PI="; 23 }; 24 25 checkInputs = [ 26 pytestCheckHook 27 pytest-xdist 28 ]; 29 30 preCheck = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) '' 31 # https://github.com/python/cpython/issues/74570#issuecomment-1093748531 32 export no_proxy='*'; 33 ''; 34 35 nativeBuildInputs = [ 36 setuptools-scm 37 ]; 38 39 propagatedBuildInputs = [ 40 click 41 pep517 42 pip 43 ]; 44 45 disabledTests = [ 46 # these want internet access 47 "network" 48 "test_direct_reference_with_extras" 49 ]; 50 51 meta = with lib; { 52 description = "Keeps your pinned dependencies fresh"; 53 homepage = "https://github.com/jazzband/pip-tools/"; 54 license = licenses.bsd3; 55 maintainers = with maintainers; [ zimbatm ]; 56 }; 57}