summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/airsensor-py
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-12-05 14:39:56 +0100
committermakefu <github@syntax-fehler.de>2017-12-05 14:39:56 +0100
commitcd9447c43cb931b97de373bb728dab4045551651 (patch)
treee204676b15c0ee144bcea20089edba5baba172e3 /makefu/5pkgs/airsensor-py
parent7cbb04c7c62a339559d192886f5b4b29e49f0b7e (diff)
ma pkgs.airsensor-py: init at 2017-12-05
Diffstat (limited to 'makefu/5pkgs/airsensor-py')
-rw-r--r--makefu/5pkgs/airsensor-py/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/makefu/5pkgs/airsensor-py/default.nix b/makefu/5pkgs/airsensor-py/default.nix
new file mode 100644
index 000000000..b467872b4
--- /dev/null
+++ b/makefu/5pkgs/airsensor-py/default.nix
@@ -0,0 +1,17 @@
+{ pkgs, fetchFromGitHub, ... }:
+with pkgs.python3Packages;
+buildPythonApplication rec {
+ name = "airsensor-py-${version}";
+ version = "2017-04-24";
+ propagatedBuildInputs = [
+ pyusb
+ click
+ ];
+
+ src = fetchFromGitHub {
+ owner = "dfederschmidt";
+ repo = "airsensor-py";
+ rev = "c476918";
+ sha256 = "0dc88vqxsgx20asbwfdjmz6yl6bvv65k0krvmmss3gcwxdgh9p2q";
+ };
+}