2017-12-05 13:39:56 +00:00
|
|
|
{ pkgs, fetchFromGitHub, ... }:
|
|
|
|
with pkgs.python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
|
|
name = "airsensor-py-${version}";
|
2017-12-08 13:04:35 +00:00
|
|
|
version = "2017-12-05";
|
2017-12-05 13:39:56 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
pyusb
|
|
|
|
click
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-12-08 13:04:35 +00:00
|
|
|
owner = "makefu";
|
2017-12-05 13:39:56 +00:00
|
|
|
repo = "airsensor-py";
|
2017-12-08 13:04:35 +00:00
|
|
|
rev = "7ac5f185dc848fca1b556e4c0396dd73f6a93995";
|
|
|
|
sha256 = "0387b025y8kb0zml7916p70hmzc3y18kqh46b9xv5qayljxymq2w";
|
2017-12-05 13:39:56 +00:00
|
|
|
};
|
|
|
|
}
|