mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
Merge master into staging-next
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, requests
|
||||
{ lib, buildPythonPackage, fetchPypi, requests
|
||||
, websocket_client, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jellyfin-apiclient-python";
|
||||
version = "1.6.1";
|
||||
version = "1.7.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iwalton3";
|
||||
repo = "jellyfin-apiclient-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0f7czq83ic22fz1vnf0cavb7l3grcxxd5yyw9wcjz3g1j2d76735";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-nSLUa9/jAT6XrHo77kV5HYBxPO/lhcWKqPfpES7ul9A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests websocket_client ];
|
||||
|
||||
doCheck = false; # no tests
|
||||
pythonImportsCheck = [ "jellyfin_apiclient_python" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/iwalton3/jellyfin-apiclient-python";
|
||||
homepage = "https://github.com/jellyfin/jellyfin-apiclient-python";
|
||||
description = "Python API client for Jellyfin";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ jojosch ];
|
||||
|
||||
@@ -1,36 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, six
|
||||
, fetchpatch
|
||||
, icu
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyICU";
|
||||
version = "2.3.1";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "ddb2b453853b4c25db382bc5e8c4cde09b3f4696ef1e1494f8294e174f459cf4";
|
||||
sha256 = "0wb3v421i2fnnxdywam4ay8hqvnxlz0r2nrpx5lqy3rn6dlbz9d9";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/python-team/modules/pyicu/raw/debian/2.2-2/"
|
||||
+ "debian/patches/icu_test.patch";
|
||||
sha256 = "1iavdkyqixm9i753svl17barla93b7jzgkw09dn3hnggamx7zwx9";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ icu ]; # for icu-config
|
||||
buildInputs = [ icu ];
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ six ];
|
||||
checkInputs = [ pytestCheckHook six ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pypi.python.org/pypi/PyICU/";
|
||||
homepage = "https://github.com/ovalhub/pyicu/";
|
||||
description = "Python extension wrapping the ICU C++ API";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -24,15 +24,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-miio";
|
||||
version = "0.5.5.1";
|
||||
|
||||
version = "0.5.5.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-3IBObrytkn6rLUT+wMlwzreqQ4AfCgxiMTJm2Iwm+5E=";
|
||||
sha256 = "sha256-lk7egCyj+vSsaXmxuWxlQuom8n3JEs/RIWwCuwTOXeI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -66,10 +64,12 @@ buildPythonPackage rec {
|
||||
pyyaml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "miio" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interfacing with Xiaomi smart appliances";
|
||||
homepage = "https://github.com/rytilahti/python-miio";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ flyfloh ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user