nixos-config/5pkgs/elchhub/default.nix

36 lines
827 B
Nix
Raw Normal View History

2016-11-25 01:47:12 +01:00
{ 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
2017-05-12 17:52:37 +02:00
requests
2016-11-25 01:47:12 +01:00
ftputil
redis
];
doCheck = false;
src = fetchFromGitHub {
2018-06-12 18:43:12 +02:00
owner = "krebs";
2016-11-25 01:47:12 +01:00
repo = "elchhub";
2017-02-04 14:35:29 +01:00
rev = "58707c6";
sha256 = "04spbcr660dxyc4jvrai094na25zizd2cfi36jz19lahb0k66lqm";
2016-11-25 01:47:12 +01:00
};
meta = {
2018-06-12 18:43:12 +02:00
homepage = https://github.com/krebs/elchhub;
2016-11-25 01:47:12 +01:00
description = "elchhub";
license = lib.licenses.wtfpl;
};
}