mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
habanero: init at 0.6.0
This commit is contained in:
parent
4422a70922
commit
e6a42f8252
29
pkgs/development/python-modules/habanero/default.nix
Normal file
29
pkgs/development/python-modules/habanero/default.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
@ -241,6 +241,8 @@ in {
|
||||
hdf5 = pkgs.hdf5-mpi;
|
||||
};
|
||||
|
||||
habanero = callPackage ../development/python-modules/habanero { };
|
||||
|
||||
intelhex = callPackage ../development/python-modules/intelhex { };
|
||||
|
||||
lmtpd = callPackage ../development/python-modules/lmtpd { };
|
||||
|
Loading…
Reference in New Issue
Block a user