pip-tools: fix build

This commit is contained in:
Benno Fünfstück 2017-06-25 18:55:07 +02:00
parent 252e9ec84a
commit 883148ef26

View file

@ -1,19 +1,17 @@
{ stdenv, fetchFromGitHub, buildPythonPackage, pip, pytest, click, six, first, glibcLocales }: { stdenv, fetchurl, buildPythonPackage, pip, pytest, click, six, first, setuptools_scm, glibcLocales }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pip-tools"; pname = "pip-tools";
version = "1.9.0"; version = "1.9.0";
name = "pip-tools-${version}"; name = "pip-tools-${version}";
src = fetchFromGitHub { src = fetchurl {
owner = "jazzband"; url = "mirror://pypi/p/pip-tools/${name}.tar.gz";
repo = "pip-tools"; sha256 = "0mjdpq2zjn8n4lzn9l2myh4bv0l2f6751k1rdpgdm8k3fargw1h7";
rev = version;
sha256 = "0706feb27263a2dade6d39cc508e718282bd08f455d0643f251659f905be4d56";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
buildInputs = [ pytest glibcLocales ]; buildInputs = [ pytest glibcLocales ];
propagatedBuildInputs = [ pip click six first ]; propagatedBuildInputs = [ pip click six first setuptools_scm ];
checkPhase = '' checkPhase = ''
export HOME=$(mktemp -d) export HOME=$(mktemp -d)