summary refs log tree commit diff
path: root/pkgs/development/libraries/geoip/default.nix
blob: 8698202541649d3ff5f5e7747c01413769cb56f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
a :  
let 
  s = import ./src-for-default.nix;
  buildInputs = with a; [
    zlib
  ];
in
rec {
  src = a.fetchUrlFromSrcInfo s;

  inherit (s) name;
  inherit buildInputs;
  configureFlags = [];

  /* doConfigure should be removed if not needed */
  phaseNames = ["doConfigure" "doMakeInstall"];
  goSrcDir = "cd GeoIP-*/";
      
  meta = {
    description = "Geolocation API";
    maintainers = [
      a.lib.maintainers.raskin
    ];
  };
}