My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/pysychonaut/default.nix

28 lines
774 B

{ 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;
};
}