pythonPackages.pysychonaut: init at 0.6.0

This commit is contained in:
IvarWithoutBones 2020-10-19 13:04:13 +02:00
parent b50ef4e3f2
commit 0e9c5297fe
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi, requests, requests-cache, beautifulsoup4 }:
buildPythonPackage rec {
pname = "PySychonaut";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "1wgk445gmi0x7xmd8qvnyxy1ka0n72fr6nrhzdm29q6687dqyi7h";
};
preConfigure = ''
substituteInPlace setup.py --replace "bs4" "beautifulsoup4"
'';
propagatedBuildInputs = [ requests requests-cache beautifulsoup4 ];
# No tests available
doCheck = false;
pythonImportsCheck = [ "pysychonaut" ];
meta = with lib; {
description = "Unofficial python api for Erowid, PsychonautWiki and AskTheCaterpillar";
homepage = "https://github.com/OpenJarbas/PySychonaut";
maintainers = [ maintainers.ivar ];
license = licenses.asl20;
};
}

View file

@ -5472,6 +5472,8 @@ in {
pysvn = callPackage ../development/python-modules/pysvn { };
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
pytabix = callPackage ../development/python-modules/pytabix { };
pytado = callPackage ../development/python-modules/pytado { };