diff options
author | Nicolò Balzarotti <anothersms@gmail.com> | 2018-02-09 16:41:24 +0100 |
---|---|---|
committer | Nicolò Balzarotti <anothersms@gmail.com> | 2018-02-10 09:23:01 +0100 |
commit | e6a42f82526432e0c515af5ad4982631ac7bdaae (patch) | |
tree | 14d77cc1a18d9f0bf2e1937c66f4aeb534f2d9df /pkgs/development/python-modules/habanero | |
parent | 4422a70922b23a22ff69a968cf844e13952fc4e9 (diff) |
habanero: init at 0.6.0
Diffstat (limited to 'pkgs/development/python-modules/habanero')
-rw-r--r-- | pkgs/development/python-modules/habanero/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/habanero/default.nix b/pkgs/development/python-modules/habanero/default.nix new file mode 100644 index 0000000000000..09d82d74f2b1a --- /dev/null +++ b/pkgs/development/python-modules/habanero/default.nix @@ -0,0 +1,29 @@ +{ buildPythonPackage, lib, fetchFromGitHub +, requests +, nose, vcrpy +}: + +buildPythonPackage rec { + pname = "habanero"; + version = "0.6.0"; + + # Install from Pypi is failing because of a missing file (Changelog.rst) + src = fetchFromGitHub { + owner = "sckott"; + repo = pname; + rev = "v${version}"; + sha256 = "1l2cgl6iiq8jff2w2pib6w8dwaj8344crhwsni2zzq0p44dwi13d"; + }; + + propagatedBuildInputs = [ requests ]; + + checkInputs = [ nose vcrpy ]; + checkPhase = "make test"; + + meta = { + description = "Python interface to Library Genesis"; + homepage = http://habanero.readthedocs.io/en/latest/; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.nico202 ]; + }; +} |