mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Merge pull request #139484 from fabaff/streamlabswater
This commit is contained in:
commit
040866734d
37
pkgs/development/python-modules/streamlabswater/default.nix
Normal file
37
pkgs/development/python-modules/streamlabswater/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "streamlabswater";
|
||||
version = "0.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "stream-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "1lh1i1ksic9yhxnwc7mqm5qla98x85dfwj846kwldwam0vcrqlk7";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "streamlabswater" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the StreamLabs API";
|
||||
homepage = "https://github.com/streamlabswater/stream-python";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -824,7 +824,7 @@
|
|||
"stiebel_eltron" = ps: with ps; [ pymodbus ]; # missing inputs: pystiebeleltron
|
||||
"stookalert" = ps: with ps; [ ]; # missing inputs: stookalert
|
||||
"stream" = ps: with ps; [ aiohttp-cors av ];
|
||||
"streamlabswater" = ps: with ps; [ ]; # missing inputs: streamlabswater
|
||||
"streamlabswater" = ps: with ps; [ streamlabswater ];
|
||||
"stt" = ps: with ps; [ aiohttp-cors ];
|
||||
"subaru" = ps: with ps; [ subarulink ];
|
||||
"suez_water" = ps: with ps; [ ]; # missing inputs: pysuez
|
||||
|
|
|
@ -8683,6 +8683,8 @@ in {
|
|||
|
||||
streaming-form-data = callPackage ../development/python-modules/streaming-form-data { };
|
||||
|
||||
streamlabswater = callPackage ../development/python-modules/streamlabswater { };
|
||||
|
||||
streamz = callPackage ../development/python-modules/streamz { };
|
||||
|
||||
strict-rfc3339 = callPackage ../development/python-modules/strict-rfc3339 { };
|
||||
|
|
Loading…
Reference in a new issue