nixpkgs/pkgs/development/python-modules/pip-tools/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

56 lines
1.8 KiB
Nix

{ stdenv, fetchPypi, buildPythonPackage, pip, pytest, click, six, first
, setuptools_scm, git, glibcLocales, mock }:
buildPythonPackage rec {
pname = "pip-tools";
version = "3.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "1vwh3hx4jrzf51yj9h31nk9ji53lqaq63mlqd7n84hcmfwy3rwz4";
};
LC_ALL = "en_US.UTF-8";
checkInputs = [ pytest git glibcLocales mock ];
propagatedBuildInputs = [ pip click six first setuptools_scm ];
disabledTests = stdenv.lib.concatMapStringsSep " and " (s: "not " + s) [
# Depend on network tests:
"test_allow_unsafe_option" #paramaterized, but all fail
"test_annotate_option" #paramaterized, but all fail
"test_editable_package_vcs"
"test_editable_top_level_deps_preserved" # can't figure out how to select only one parameter to ignore
"test_filter_pip_markers"
"test_filter_pip_markes"
"test_generate_hashes_all_platforms"
"test_generate_hashes_verbose"
"test_generate_hashes_with_editable"
"test_generate_hashes_with_url"
"test_generate_hashes_without_interfering_with_each_other"
"test_get_hashes_local_repository_cache_miss"
"test_realistic_complex_sub_dependencies"
"test_stdin"
"test_upgrade_packages_option"
"test_url_package"
# Expect specific version of "six":
"test_editable_package"
"test_input_file_without_extension"
"test_locally_available_editable_package_is_not_archived_in_cache_dir"
"test_no_candidates"
"test_no_candidates_pre"
];
checkPhase = ''
export HOME=$(mktemp -d) VIRTUAL_ENV=1
py.test -k "${disabledTests}"
'';
meta = with stdenv.lib; {
description = "Keeps your pinned dependencies fresh";
homepage = https://github.com/jazzband/pip-tools/;
license = licenses.bsd3;
maintainers = with maintainers; [ zimbatm ];
broken = true;
};
}