Merge master into staging-next
This commit is contained in:
38
pkgs/development/python-modules/aiopylgtv/default.nix
Normal file
38
pkgs/development/python-modules/aiopylgtv/default.nix
Normal file
@@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, pythonOlder
|
||||
, sqlitedict
|
||||
, websockets
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiopylgtv";
|
||||
version = "0.4.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bendavid";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0x0xcnlz42arsp53zlq5wyv9pwif1in8j2pv48gh0pkdnz9s86b6";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
sqlitedict
|
||||
websockets
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "aiopylgtv" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to control webOS based LG TV units";
|
||||
homepage = "https://github.com/bendavid/aiopylgtv";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
32
pkgs/development/python-modules/chirpstack-api/default.nix
Normal file
32
pkgs/development/python-modules/chirpstack-api/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, grpcio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chirpstack-api";
|
||||
version = "3.9.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "08djidy3fyhghyzvndcjas3hb1s9d7719gvmgbl8bzxjm4h2c433";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
grpcio
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "chirpstack_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ChirpStack gRPC API message and service wrappers for Python";
|
||||
homepage = "https://github.com/brocaar/chirpstack-api";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
{ lib, stdenv
|
||||
, buildPythonPackage
|
||||
, darwin
|
||||
, grpc
|
||||
, six
|
||||
, protobuf
|
||||
@@ -20,8 +19,7 @@ buildPythonPackage rec {
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ cython pkg-config ]
|
||||
++ lib.optional stdenv.isDarwin darwin.cctools;
|
||||
nativeBuildInputs = [ cython pkg-config ];
|
||||
|
||||
buildInputs = [ c-ares openssl zlib ];
|
||||
propagatedBuildInputs = [ six protobuf ]
|
||||
|
||||
34
pkgs/development/python-modules/pleroma-bot/default.nix
Normal file
34
pkgs/development/python-modules/pleroma-bot/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, requests-mock
|
||||
, oauthlib
|
||||
, requests_oauthlib
|
||||
, requests
|
||||
, pyaml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pleroma-bot";
|
||||
version = "0.8.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "robertoszek";
|
||||
repo = "pleroma-bot";
|
||||
rev = version;
|
||||
sha256 = "1q0xhgqq41zbqiawpd4kbdx41zhwxxp5ipn1c2rc8d7pjyb5p75w";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyaml requests requests_oauthlib oauthlib ];
|
||||
checkInputs = [ pytestCheckHook requests-mock ];
|
||||
|
||||
pythonImportsCheck = [ "pleroma_bot" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://robertoszek.github.io/pleroma-bot/";
|
||||
description = "Bot for mirroring one or multiple Twitter accounts in Pleroma/Mastodon";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ robertoszek ];
|
||||
};
|
||||
}
|
||||
36
pkgs/development/python-modules/pymediaroom/default.nix
Normal file
36
pkgs/development/python-modules/pymediaroom/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymediaroom";
|
||||
version = "0.6.4.1";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dgomes";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1klf2dxd8rlq3n4b9m03lzwcsasn9vi6m3hzrjqhqnprhrnp0xmy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
xmltodict
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pymediaroom" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Remote Control for Mediaroom STB";
|
||||
homepage = "https://github.com/dgomes/pymediaroom";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -14,11 +14,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sagemaker";
|
||||
version = "2.25.2";
|
||||
version = "2.26.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-oacqDLgt11fplc6e3ruCrwDV/iRhoTgx1mu3Pm/5kmw=";
|
||||
sha256 = "sha256-CT0vXt6x+cp4yHZtfBiRq+/Aurd4Q7Zagn4lNRqji/o=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
Reference in New Issue
Block a user