Merge pull request #165998 from SuperSandro2000/flit

This commit is contained in:
Sandro
2022-03-29 13:32:28 +02:00
committed by GitHub
2 changed files with 12 additions and 13 deletions
@@ -6,7 +6,7 @@
buildPythonPackage rec {
pname = "flit-core";
version = "3.6.0";
inherit (flit) version;
format = "pyproject";
outputs = [
@@ -35,7 +35,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Distribution-building parts of Flit. See flit package for more information";
homepage = "https://github.com/takluyver/flit";
homepage = "https://github.com/pypa/flit";
license = licenses.bsd3;
maintainers = with maintainers; [ fridh SuperSandro2000 ];
};
@@ -3,7 +3,7 @@
, fetchFromGitHub
, docutils
, requests
, pytest
, pytestCheckHook
, testpath
, responses
, flit-core
@@ -18,14 +18,14 @@
buildPythonPackage rec {
pname = "flit";
version = "3.6.0";
version = "3.7.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "takluyver";
repo = "flit";
rev = version;
sha256 = "sha256-D3q/1g6njrrmizooGmzNd9g2nKs00dMGj9jrrv3Y6HQ=";
sha256 = "sha256-zKgaeK3fskz2TuHvIWlxBrdZIWfIJHhaqopZ3+V36wY=";
};
nativeBuildInputs = [
@@ -40,18 +40,17 @@ buildPythonPackage rec {
tomli-w
];
checkInputs = [ pytest testpath responses ];
checkInputs = [ pytestCheckHook testpath responses ];
# Disable test that needs some ini file.
# Disable test that wants hg
checkPhase = ''
HOME=$(mktemp -d) pytest -k "not test_invalid_classifier and not test_build_sdist"
'';
disabledTests = [
# needs some ini file.
"test_invalid_classifier"
];
meta = with lib; {
description = "A simple packaging tool for simple packages";
homepage = "https://github.com/takluyver/flit";
homepage = "https://github.com/pypa/flit";
license = licenses.bsd3;
maintainers = [ maintainers.fridh ];
maintainers = with maintainers; [ fridh SuperSandro2000 ];
};
}