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

28 lines
598 B
Nix
Raw Normal View History

2018-02-06 11:56:36 +01:00
{ lib, pkgs, fetchFromGitHub, ... }:
with pkgs.python3Packages;buildPythonPackage rec {
name = "ampel-${version}";
2018-04-04 14:48:18 +02:00
version = "0.2.1";
2018-02-06 11:56:36 +01: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 14:48:18 +02:00
rev = "92321d7";
sha256 = "0mvpbpf1rx8sc589qjb73gl8z6fir2zs3gl3br1pbhg5jgn0ij4n";
2018-02-06 11:56:36 +01:00
};
meta = {
homepage = http://cgit.euer.krebsco.de/ampel;
description = "change colors of rgb cubes";
license = lib.licenses.asl20;
};
}