default.nix (601B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage { 8 pname = "geoip2fast"; 9 version = "1.2.2"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "rabuchaim"; 14 repo = "geoip2fast"; 15 rev = "3d1e2692e3dba2efab66416d50698e2c4ec88369"; 16 hash = "sha256-nqmsD8ftJTLsXZkw19W12wVNmlDgKrwfpgJ98TCmfUQ="; 17 }; 18 19 meta = { 20 description = "GeoIP2Fast is the fastest GeoIP2 country/city/asn lookup library"; 21 homepage = "https://github.com/rabuchaim/geoip2fast"; 22 license = lib.licenses.mit; 23 maintainers = [ lib.maintainers.sikmir ]; 24 }; 25 }