uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue