mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
pip-tools: init at 1.8.1rc3
This commit is contained in:
parent
5e701625de
commit
a3c03eb11f
29
pkgs/development/python-modules/pip-tools/default.nix
Normal file
29
pkgs/development/python-modules/pip-tools/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchFromGitHub, buildPythonPackage, pip, pytest, click, six, first, glibcLocales }:
|
||||
buildPythonPackage rec {
|
||||
pname = "pip-tools";
|
||||
version = "1.8.1rc3";
|
||||
name = "pip-tools-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = "pip-tools";
|
||||
rev = version;
|
||||
sha256 = "09rbgzj71bfp1x1jfr1zx3vax4qjbw5l6vcd3fqvshsdvg9lcnpx";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
buildInputs = [ pytest glibcLocales ];
|
||||
propagatedBuildInputs = [ pip click six first ];
|
||||
|
||||
checkPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
py.test -k "not test_realistic_complex_sub_dependencies" # requires network
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Keeps your pinned dependencies fresh";
|
||||
homepage = https://github.com/jazzband/pip-tools/;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
|
@ -18874,6 +18874,10 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
pip-tools = callPackage ../development/python-modules/pip-tools {
|
||||
glibcLocales = pkgs.glibcLocales;
|
||||
};
|
||||
|
||||
pika = buildPythonPackage rec {
|
||||
name = "pika-${version}";
|
||||
version = "0.10.0";
|
||||
|
|
Loading…
Reference in a new issue