1{ stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first, setuptools_scm, glibcLocales }: 2buildPythonPackage rec { 3 pname = "pip-tools"; 4 version = "1.9.0"; 5 name = "pip-tools-${version}"; 6 7 src = fetchurl { 8 url = "mirror://pypi/p/pip-tools/${name}.tar.gz"; 9 sha256 = "0mjdpq2zjn8n4lzn9l2myh4bv0l2f6751k1rdpgdm8k3fargw1h7"; 10 }; 11 12 LC_ALL = "en_US.UTF-8"; 13 buildInputs = [ pytest glibcLocales ]; 14 propagatedBuildInputs = [ pip click six first setuptools_scm ]; 15 16 checkPhase = '' 17 export HOME=$(mktemp -d) 18 py.test -k "not test_realistic_complex_sub_dependencies" # requires network 19 ''; 20 21 meta = with stdenv.lib; { 22 description = "Keeps your pinned dependencies fresh"; 23 homepage = https://github.com/jazzband/pip-tools/; 24 license = licenses.bsd3; 25 maintainers = with maintainers; [ zimbatm ]; 26 }; 27}