mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
python312Packages.pysychonaut: modernize
This commit is contained in:
parent
0645f76d9b
commit
6bd192cfd1
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
requests,
|
||||
requests-cache,
|
||||
beautifulsoup4,
|
||||
@ -10,6 +11,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pysychonaut";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PySychonaut";
|
||||
@ -18,10 +20,12 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py --replace "bs4" "beautifulsoup4"
|
||||
substituteInPlace setup.py --replace-fail "bs4" "beautifulsoup4"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
requests
|
||||
requests-cache
|
||||
beautifulsoup4
|
||||
|
Loading…
Reference in New Issue
Block a user