python3Packages.bash_kernel: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt 2023-09-10 00:04:22 +02:00
parent 22fb5906f0
commit ce95c6a009

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, fetchPypi
, fetchpatch
, flit-core
, ipykernel
, isPy27
, python
@ -12,7 +13,7 @@
buildPythonPackage rec {
pname = "bash_kernel";
version = "0.9.0";
format = "flit";
format = "pyproject";
disabled = isPy27;
src = fetchPypi {
@ -33,6 +34,8 @@ buildPythonPackage rec {
--replace "\"bash\"" "'${bash}/bin/bash'"
'';
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ ipykernel pexpect ];
# no tests