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/habanero/default.nix

30 lines
710 B

{ buildPythonPackage, lib, fetchFromGitHub
, requests, tqdm
, nose, vcrpy
}:
buildPythonPackage rec {
pname = "habanero";
version = "1.0.0";
# Install from Pypi is failing because of a missing file (Changelog.rst)
src = fetchFromGitHub {
owner = "sckott";
repo = pname;
rev = "v${version}";
sha256 = "0lhbd5c4sypcd65nh4cgxddsqrxwg89nn1qiii6m5l4fzsvblggv";
};
propagatedBuildInputs = [ requests tqdm ];
checkInputs = [ nose vcrpy ];
checkPhase = "make test";
meta = {
description = "Python interface to Library Genesis";
homepage = "https://habanero.readthedocs.io/en/latest/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.nico202 ];
};
}