summaryrefslogtreecommitdiffstats
path: root/makefu/5pkgs/airsensor-py
diff options
context:
space:
mode:
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";
+ };
+}