mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.pysychonaut: init at 0.6.0
This commit is contained in:
parent
b50ef4e3f2
commit
0e9c5297fe
2 changed files with 30 additions and 0 deletions
28
pkgs/development/python-modules/pysychonaut/default.nix
Normal file
28
pkgs/development/python-modules/pysychonaut/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue