python3Packages.flit: 2.3.0 -> 3.0.0

This commit is contained in:
Frederik Rietdijk
2020-11-29 15:04:28 +01:00
parent 4b03636646
commit 0949dfcaa3
2 changed files with 24 additions and 16 deletions

View File

@@ -1,26 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, flit
, isPy3k
, pytoml
, toml
}:
buildPythonPackage rec {
pname = "flit-core";
version = "2.3.0";
disabled = !isPy3k;
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "flit_core";
sha256 = "a50bcd8bf5785e3a7d95434244f30ba693e794c5204ac1ee908fc07c4acdbf80";
};
inherit (flit) src patches;
preConfigure = ''
cd flit_core
'';
propagatedBuildInputs = [
pytoml
toml
];
passthru.tests = {