summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/flit
diff options
context:
space:
mode:
authorJon <jonringer@users.noreply.github.com>2019-09-26 14:09:03 -0700
committerzimbatm <zimbatm@zimbatm.com>2019-09-26 21:09:03 +0000
commit28af6ac647861bc7ac5968029f89eec2a01bbce7 (patch)
tree65f92aa56e86b077958498264d91f14c8ca88c55 /pkgs/development/python-modules/flit
parenthtml-proofer: 3.12.2 -> 3.13.0 (diff)
downloadnixpkgs-28af6ac647861bc7ac5968029f89eec2a01bbce7.tar.gz
python3Packages.flit: fix tests and packaging (#69546)
* python3Packages.flit: fix tests * python: fix flit setup hook
Diffstat (limited to 'pkgs/development/python-modules/flit')
-rw-r--r--pkgs/development/python-modules/flit/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/flit/default.nix b/pkgs/development/python-modules/flit/default.nix
index 64decd9c41c8..22bba39ff010 100644
--- a/pkgs/development/python-modules/flit/default.nix
+++ b/pkgs/development/python-modules/flit/default.nix
@@ -7,7 +7,7 @@
, requests_download
, zipfile36
, pythonOlder
-, pytest
+, pytest_4
, testpath
, responses
, pytoml
@@ -21,17 +21,17 @@
buildPythonPackage rec {
pname = "flit";
version = "1.3";
+ disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "6f6f0fb83c51ffa3a150fa41b5ac118df9ea4a87c2c06dff4ebf9adbe7b52b36";
};
- disabled = !isPy3k;
propagatedBuildInputs = [ docutils requests requests_download pytoml ]
++ lib.optional (pythonOlder "3.6") zipfile36;
- checkInputs = [ pytest testpath responses ];
+ checkInputs = [ pytest_4 testpath responses ];
# Disable test that needs some ini file.
# Disable test that wants hg
@@ -39,10 +39,10 @@ buildPythonPackage rec {
HOME=$(mktemp -d) pytest -k "not test_invalid_classifier and not test_build_sdist"
'';
- meta = {
+ meta = with lib; {
description = "A simple packaging tool for simple packages";
homepage = https://github.com/takluyver/flit;
- license = lib.licenses.bsd3;
- maintainers = [ lib.maintainers.fridh ];
+ license = licenses.bsd3;
+ maintainers = [ maintainers.fridh ];
};
}