mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python312Packages.twitch-python: modernize
This commit is contained in:
parent
227ac2a7eb
commit
83026ffde6
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
rx,
|
||||
pytestCheckHook,
|
||||
@ -12,7 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "twitch-python";
|
||||
version = "0.0.20";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -22,10 +23,12 @@ buildPythonPackage rec {
|
||||
disabled = !isPy3k;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "'pipenv'," ""
|
||||
substituteInPlace setup.py --replace-fail "'pipenv'," ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
rx
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user