python3Packages.nkdfu: switch to pypaBuildHook
This commit is contained in:
parent
e827c3de44
commit
3b82eeeee0
|
@ -1,15 +1,19 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, fire, tqdm, intelhex, libusb1 }:
|
{ lib, buildPythonPackage, fetchPypi, flit-core, fire, tqdm, intelhex, libusb1 }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "nkdfu";
|
pname = "nkdfu";
|
||||||
version = "0.2";
|
version = "0.2";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-8l913dOCxHKFtpQ83p9RV3sUlu0oT5PVi14FSuYJ9fg=";
|
hash = "sha256-8l913dOCxHKFtpQ83p9RV3sUlu0oT5PVi14FSuYJ9fg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
flit-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
fire
|
fire
|
||||||
tqdm
|
tqdm
|
||||||
|
|
Loading…
Reference in a new issue