mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 01:17:28 +03:00
python3Packages.pyunpack: migrate to pyproject
This commit is contained in:
parent
36e22ae5d9
commit
e3a3e51708
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, pytestCheckHook
|
||||
, easyprocess
|
||||
, entrypoint2
|
||||
@ -11,7 +12,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pyunpack";
|
||||
version = "0.3";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ponty";
|
||||
@ -24,9 +25,11 @@ buildPythonPackage rec {
|
||||
substituteInPlace pyunpack/__init__.py \
|
||||
--replace \
|
||||
'_exepath("patool")' \
|
||||
'"${patool}/bin/.patool-wrapped"'
|
||||
'"${lib.getBin patool}/bin/.patool-wrapped"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
easyprocess
|
||||
entrypoint2
|
||||
|
Loading…
Reference in New Issue
Block a user