Files
nixpkgs/pkgs/development/python-modules/mac-vendor-lookup/default.nix
T
Martin Weinelt bc95d1136e python3Packages.mac-vendor-lookup: 0.1.12 -> 0.1.15
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:30 +01:00

45 lines
875 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
aiofiles,
aiohttp,
}:
buildPythonPackage (finalAttrs: {
pname = "mac-vendor-lookup";
version = "0.1.15";
pyproject = true;
src = fetchFromGitHub {
owner = "bauerj";
repo = "mac_vendor_lookup";
tag = finalAttrs.version;
hash = "sha256-RLCEyDalwQUVmcZdVPN1cyKLIPbWcZfjzIkClUZCeJU=";
};
postPatch = ''
sed -i '/mac-vendors.txt/d' setup.py
'';
build-system = [ setuptools ];
dependencies = [
aiofiles
aiohttp
];
doCheck = false; # no tests
pythonImportsCheck = [ "mac_vendor_lookup" ];
meta = {
description = "Find the vendor for a given MAC address";
mainProgram = "mac_vendor_lookup";
homepage = "https://github.com/bauerj/mac_vendor_lookup";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ hexa ];
};
})