1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/libmaxminddb/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

20 lines
547 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "libmaxminddb-${version}";
version = "1.2.0";
src = fetchurl {
url = meta.homepage + "/releases/download/${version}/${name}.tar.gz";
sha256 = "0dxdyw6sxxmpzk2a96qp323r5kdmw7vm6m0l5a8gr52gf7nmks0z";
};
meta = with stdenv.lib; {
description = "C library for working with MaxMind geolocation DB files";
homepage = https://github.com/maxmind/libmaxminddb;
license = licenses.apsl20;
platforms = platforms.all;
maintainers = [ maintainers.vcunat ];
};
}