Something went wrong. Try again.
lol
Something went wrong. Try again.
875 B · 44 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ 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 ]; };})