diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/flit-core/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/flit-core/default.nix | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/flit-core/default.nix b/nixpkgs/pkgs/development/python-modules/flit-core/default.nix index c81a8567de2f..fc4d6479caee 100644 --- a/nixpkgs/pkgs/development/python-modules/flit-core/default.nix +++ b/nixpkgs/pkgs/development/python-modules/flit-core/default.nix @@ -1,6 +1,5 @@ { lib , buildPythonPackage -, callPackage , flit }: @@ -9,34 +8,22 @@ buildPythonPackage rec { inherit (flit) version; format = "pyproject"; - outputs = [ - "out" - "testsout" - ]; - inherit (flit) src patches; - preConfigure = '' - cd flit_core - ''; - - postInstall = '' - mkdir $testsout - cp -R ../tests $testsout/tests - ''; + sourceRoot = "source/flit_core"; - # check in passthru.tests.pytest to escape infinite recursion with setuptools-scm + # Tests are run in the "flit" package. doCheck = false; passthru.tests = { inherit flit; - pytest = callPackage ./tests.nix { }; }; meta = with lib; { description = "Distribution-building parts of Flit. See flit package for more information"; homepage = "https://github.com/pypa/flit"; + changelog = "https://github.com/pypa/flit/blob/${src.rev}/doc/history.rst"; license = licenses.bsd3; - maintainers = with maintainers; [ fridh ]; + maintainers = teams.python.members; }; } |