mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
dbip-country-lite: 2023-07 -> 2023-08
This commit is contained in:
parent
8767a67247
commit
69a9c3509e
@ -1,16 +1,15 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchurl
|
||||
, dbip-country-lite
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "dbip-country-lite";
|
||||
version = "2023-07";
|
||||
version = "2023-08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.db-ip.com/free/dbip-country-lite-${version}.mmdb.gz";
|
||||
hash = "sha256-WVsyhopYbBlCWDq9UoPe1rcGU3pBYsXkqNWbaQXzRFA=";
|
||||
url = "https://download.db-ip.com/free/dbip-country-lite-${finalAttrs.version}.mmdb.gz";
|
||||
hash = "sha256-+IQSHgfVZ2codxkOKwi23CLjm+rYDZOQq5EWJs0OLiQ=";
|
||||
};
|
||||
|
||||
dontUnpack = true;
|
||||
@ -24,7 +23,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
passthru.mmdb = "${dbip-country-lite}/share/dbip/dbip-country-lite.mmdb";
|
||||
passthru.mmdb = "${finalAttrs.finalPackage}/share/dbip/dbip-country-lite.mmdb";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The free IP to Country Lite database by DB-IP";
|
||||
@ -33,4 +32,4 @@ stdenvNoCC.mkDerivation rec {
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user