python311Packages.pyeapi: refactor

This commit is contained in:
Fabian Affolter
2024-04-03 20:54:07 +02:00
parent 732c13373e
commit f03249355c
@@ -11,22 +11,22 @@
buildPythonPackage rec {
pname = "pyeapi";
version = "1.0.2";
format = "pyproject";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "arista-eosplus";
repo = pname;
repo = "pyeapi";
rev = "refs/tags/v${version}";
sha256 = "sha256-GZBoCoAqij54rZezRDF/ihJDQ5T6FFyDSRXGV3//avQ=";
};
nativeBuildInputs = [
build-system = [
setuptools
];
propagatedBuildInputs = [
dependencies = [
netaddr
];
@@ -46,6 +46,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Client for Arista eAPI";
homepage = "https://github.com/arista-eosplus/pyeapi";
changelog = "https://github.com/arista-eosplus/pyeapi/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ astro ];
};