Merge pull request #249199 from fabaff/zeroconf-bump

python311Packages.zeroconf: 0.74.0 -> 0.79.0
This commit is contained in:
Fabian Affolter 2023-08-16 21:41:13 +02:00 committed by GitHub
commit 1b554166d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 24 deletions

View file

@ -1,9 +1,9 @@
{ lib { lib
, python3
, fetchFromGitHub
, copyDesktopItems , copyDesktopItems
, wrapQtAppsHook , fetchFromGitHub
, makeDesktopItem , makeDesktopItem
, python3
, wrapQtAppsHook
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "casualsnek"; owner = "casualsnek";
repo = "onthespot"; repo = "onthespot";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg="; hash = "sha256-VaJBNsT7uNOGY43GnzhUqDQNiPoFZcc2UaIfOKgkufg=";
}; };
@ -54,11 +54,12 @@ python3.pkgs.buildPythonApplication rec {
makeWrapperArgs+=("''${qtWrapperArgs[@]}") makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; '';
meta = { meta = with lib; {
description = " QT based Spotify music downloader written in Python"; description = " QT based Spotify music downloader written in Python";
homepage = "https://github.com/casualsnek/onthespot"; homepage = "https://github.com/casualsnek/onthespot";
license = lib.licenses.gpl2; changelog = "https://github.com/casualsnek/onthespot/releases/tag/v${version}";
maintainers = with lib.maintainers; [ onny ]; license = licenses.gpl2Only;
platforms = lib.platforms.linux; maintainers = with maintainers; [ onny ];
platforms = platforms.linux;
}; };
} }

View file

@ -1,15 +1,15 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub
, defusedxml , defusedxml
, fetchFromGitHub
, protobuf , protobuf
, pythonRelaxDepsHook
, websocket-client
, pyogg
, zeroconf
, requests
, pycryptodomex , pycryptodomex
, pyogg
, pytestCheckHook , pytestCheckHook
, pythonRelaxDepsHook
, requests
, websocket-client
, zeroconf
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -20,10 +20,12 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kokarare1212"; owner = "kokarare1212";
repo = "librespot-python"; repo = "librespot-python";
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM="; hash = "sha256-k9qVsxjRlUZ7vCBx00quiAR7S+YkfyoZiAKVnOOG4xM=";
}; };
pythonRelaxDeps = true;
nativeBuildInputs = [ nativeBuildInputs = [
pythonRelaxDepsHook pythonRelaxDepsHook
]; ];
@ -38,13 +40,6 @@ buildPythonPackage rec {
zeroconf zeroconf
]; ];
pythonRelaxDeps = [
"protobuf"
"pyogg"
"requests"
"zeroconf"
];
# Doesn't include any tests # Doesn't include any tests
doCheck = false; doCheck = false;
@ -55,6 +50,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Open Source Spotify Client"; description = "Open Source Spotify Client";
homepage = "https://github.com/kokarare1212/librespot-python"; homepage = "https://github.com/kokarare1212/librespot-python";
changelog = "https://github.com/kokarare1212/librespot-python/releases/tag/v${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ onny ]; maintainers = with maintainers; [ onny ];
}; };

View file

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zeroconf"; pname = "zeroconf";
version = "0.74.0"; version = "0.80.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "jstasiak"; owner = "jstasiak";
repo = "python-zeroconf"; repo = "python-zeroconf";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-0QmAq1+dRfRkomZgh4Q0YF20omQBDUTgGt8cP1L6cx0="; hash = "sha256-+NxLQGgTFHOPyOs8yoZvtZj0D42V6qma+PHgTGwPJsg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [