python312Packages.soco: refactor

This commit is contained in:
Fabian Affolter 2024-04-15 08:21:32 +02:00
parent be14b2e8fc
commit 6c62744581

View file

@ -1,23 +1,24 @@
{ lib { lib
, appdirs
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, graphviz , graphviz
, appdirs
, ifaddr , ifaddr
, pythonOlder
, lxml , lxml
, mock , mock
, nix-update-script , nix-update-script
, pytestCheckHook , pytestCheckHook
, pythonOlder
, requests , requests
, requests-mock , requests-mock
, setuptools
, xmltodict , xmltodict
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "soco"; pname = "soco";
version = "0.30.2"; version = "0.30.2";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -28,7 +29,11 @@ buildPythonPackage rec {
hash = "sha256-T5kZxwLtqdECuYNfI0z2kLuTPp8yuPsx+MQG27WUJYU="; hash = "sha256-T5kZxwLtqdECuYNfI0z2kLuTPp8yuPsx+MQG27WUJYU=";
}; };
propagatedBuildInputs = [ build-system = [
setuptools
];
dependencies = [
appdirs appdirs
ifaddr ifaddr
lxml lxml