mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
python3Packages.mac-vendor-lookup: init at 0.1.12
This commit is contained in:
parent
171e8e0c89
commit
a975823d5b
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiofiles
|
||||
, aiohttp
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mac-vendor-lookup";
|
||||
version = "0.1.12";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bauerj";
|
||||
repo = "mac_vendor_lookup";
|
||||
rev = "5b57faac0c5a701a7e18085e331853397b68c07c";
|
||||
hash = "sha256-F/aiMs+J4bAesr6mKy+tYVjAjZ3l9vyHxV7zaaB6KbA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/mac-vendors.txt/d' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mac_vendor_lookup"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find the vendor for a given MAC address";
|
||||
homepage = "https://github.com/bauerj/mac_vendor_lookup";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -5431,6 +5431,8 @@ self: super: with self; {
|
||||
|
||||
mac_alias = callPackage ../development/python-modules/mac_alias { };
|
||||
|
||||
mac-vendor-lookup = callPackage ../development/python-modules/mac-vendor-lookup { };
|
||||
|
||||
macfsevents = callPackage ../development/python-modules/macfsevents {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreFoundation CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user