about summary refs log tree commit diff
path: root/pkgs/development/python-modules/getmac
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-01-30 08:00:26 +0100
committerGitHub <noreply@github.com>2023-01-30 08:00:26 +0100
commit35760ef789e2fbd742a930bcb499e913adc9a673 (patch)
treea8b69ef8fa0e77b4769fca2370d3b1636b6ce72b /pkgs/development/python-modules/getmac
parente81afd887eff1be3648ed051ceced90792728ed7 (diff)
python310Packages.getmac: add changelog to meta
- disable on older Python releases
Diffstat (limited to 'pkgs/development/python-modules/getmac')
-rw-r--r--pkgs/development/python-modules/getmac/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/getmac/default.nix b/pkgs/development/python-modules/getmac/default.nix
index ecc9760ae36e8..05b638559aecd 100644
--- a/pkgs/development/python-modules/getmac/default.nix
+++ b/pkgs/development/python-modules/getmac/default.nix
@@ -5,6 +5,7 @@
 , pytest-benchmark
 , pytest-mock
 , pytestCheckHook
+, pythonOlder
 }:
 
 buildPythonPackage rec {
@@ -12,11 +13,13 @@ buildPythonPackage rec {
   version = "0.9.1";
   format = "setuptools";
 
+  disabled = pythonOlder "3.7";
+
   src = fetchFromGitHub {
     owner = "GhostofGoes";
     repo = pname;
     rev = "refs/tags/${version}";
-    sha256 = "sha256-U04mtg7DCC78X5Fd0wGaHrf8XkUpDLi4+ctKCyR4dKg=";
+    hash = "sha256-U04mtg7DCC78X5Fd0wGaHrf8XkUpDLi4+ctKCyR4dKg=";
   };
 
   nativeCheckInputs = [
@@ -43,6 +46,7 @@ buildPythonPackage rec {
   meta = with lib; {
     description = "Python package to get the MAC address of network interfaces and hosts on the local network";
     homepage = "https://github.com/GhostofGoes/getmac";
+    changelog = "https://github.com/GhostofGoes/getmac/blob/${version}/CHANGELOG.md";
     license = licenses.mit;
     maintainers = with maintainers; [ colemickens ];
   };