stockholm/makefu/5pkgs/ampel/default.nix

28 lines
598 B
Nix
Raw Normal View History

2018-02-06 10:56:36 +00:00
{ lib, pkgs, fetchFromGitHub, ... }:
with pkgs.python3Packages;buildPythonPackage rec {
name = "ampel-${version}";
2018-04-04 12:48:18 +00:00
version = "0.2.1";
2018-02-06 10:56:36 +00:00
propagatedBuildInputs = [
docopt
paho-mqtt
requests
pytz
influxdb
httplib2
google_api_python_client
];
src = pkgs.fetchgit {
url = "http://cgit.euer.krebsco.de/ampel";
2018-04-04 12:48:18 +00:00
rev = "92321d7";
sha256 = "0mvpbpf1rx8sc589qjb73gl8z6fir2zs3gl3br1pbhg5jgn0ij4n";
2018-02-06 10:56:36 +00:00
};
meta = {
homepage = http://cgit.euer.krebsco.de/ampel;
description = "change colors of rgb cubes";
license = lib.licenses.asl20;
};
}