python3Packages.bash_kernel: switch to pypaBuildHook
This commit is contained in:
parent
22fb5906f0
commit
ce95c6a009
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, flit-core
|
||||||
, ipykernel
|
, ipykernel
|
||||||
, isPy27
|
, isPy27
|
||||||
, python
|
, python
|
||||||
|
@ -12,7 +13,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bash_kernel";
|
pname = "bash_kernel";
|
||||||
version = "0.9.0";
|
version = "0.9.0";
|
||||||
format = "flit";
|
format = "pyproject";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
|
@ -33,6 +34,8 @@ buildPythonPackage rec {
|
||||||
--replace "\"bash\"" "'${bash}/bin/bash'"
|
--replace "\"bash\"" "'${bash}/bin/bash'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ flit-core ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ ipykernel pexpect ];
|
propagatedBuildInputs = [ ipykernel pexpect ];
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
|
|
Loading…
Reference in a new issue