diff options
author | lassulus <lass@aidsballs.de> | 2016-11-27 15:46:12 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-11-27 15:46:12 +0100 |
commit | 0ae17234e37042af1548b2effe1486c64f404993 (patch) | |
tree | 2074ec31a47a4094708edf29e6d5a9de8716c359 /makefu/5pkgs/elchhub/default.nix | |
parent | a5c6edac90da0cbfe3d60ee8c920256f9e0f6738 (diff) | |
parent | 78b4901cdf6bb6bce8c2a7890376734cbbd9291b (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs/elchhub/default.nix')
-rw-r--r-- | makefu/5pkgs/elchhub/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/makefu/5pkgs/elchhub/default.nix b/makefu/5pkgs/elchhub/default.nix new file mode 100644 index 000000000..a4fb86043 --- /dev/null +++ b/makefu/5pkgs/elchhub/default.nix @@ -0,0 +1,35 @@ +{ lib, pkgs, fetchFromGitHub, ... }: + +with pkgs.python3Packages; +let + ftputil = buildPythonPackage rec { + version = "3.3.1"; + name = "ftputil-${version}"; + doCheck = false; + src = pkgs.fetchurl { + url = "mirror://pypi/f/ftputil/${name}.tar.gz"; + sha256 = "bc88f35cc7f5f292ec4b56e99c8b05d361de1cc8b330050e32b0c4ecaa2d2b01"; + }; +}; +in buildPythonPackage rec { + name = "elchhub-${version}"; + version = "1.0.5"; + propagatedBuildInputs = [ + flask + requests2 + ftputil + redis + ]; + doCheck = false; + src = fetchFromGitHub { + owner = "krebscode"; + repo = "elchhub"; + rev = "2f499c1"; + sha256 = "1lbql3lx7i3ynsjanfy9vln6795rb56n9xq9vkb7xbml60gmn1wg"; + }; + meta = { + homepage = https://github.com/krebscode/elchhub; + description = "elchhub"; + license = lib.licenses.wtfpl; + }; +} |