3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #101063 from IvarWithoutBones/psychonaut

pythonPackages.pysychonaut: init at 0.6.0
This commit is contained in:
Sandro 2020-12-29 00:00:31 +01:00 committed by GitHub
commit a1d1410730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -5702,6 +5702,8 @@ in {
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
};
pysychonaut = callPackage ../development/python-modules/pysychonaut { };
pytabix = callPackage ../development/python-modules/pytabix { };
pytado = callPackage ../development/python-modules/pytado { };