mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +03:00
python310Packages.getmac: add changelog to meta
- disable on older Python releases
This commit is contained in:
parent
e81afd887e
commit
35760ef789
@ -5,6 +5,7 @@
|
|||||||
, pytest-benchmark
|
, pytest-benchmark
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -12,11 +13,13 @@ buildPythonPackage rec {
|
|||||||
version = "0.9.1";
|
version = "0.9.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "GhostofGoes";
|
owner = "GhostofGoes";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-U04mtg7DCC78X5Fd0wGaHrf8XkUpDLi4+ctKCyR4dKg=";
|
hash = "sha256-U04mtg7DCC78X5Fd0wGaHrf8XkUpDLi4+ctKCyR4dKg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
@ -43,6 +46,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python package to get the MAC address of network interfaces and hosts on the local network";
|
description = "Python package to get the MAC address of network interfaces and hosts on the local network";
|
||||||
homepage = "https://github.com/GhostofGoes/getmac";
|
homepage = "https://github.com/GhostofGoes/getmac";
|
||||||
|
changelog = "https://github.com/GhostofGoes/getmac/blob/${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ colemickens ];
|
maintainers = with maintainers; [ colemickens ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user