mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
6b999f3c42
Did not test all packages. Likely we'll have some breakage.
30 lines
857 B
Nix
30 lines
857 B
Nix
{ stdenv, fetchFromGitHub, buildPythonPackage, pip, pytest, click, six, first, glibcLocales }:
|
|
buildPythonPackage rec {
|
|
pname = "pip-tools";
|
|
version = "1.9.0";
|
|
name = "pip-tools-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jazzband";
|
|
repo = "pip-tools";
|
|
rev = version;
|
|
sha256 = "0706feb27263a2dade6d39cc508e718282bd08f455d0643f251659f905be4d56";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|