commit 8c359baa96ecd7d4ec0837f82b297f670978e0ff
parent 4199db9de2060edea6d5ffac881f09739617d909
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 12 May 2024 17:19:45 +0400
Move imposm to nixpkgs
Diffstat:
2 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -476,7 +476,6 @@ lib.makeScope newScope (
cykhash = callPackage ./osm/cykhash { };
gcgn-converter = callPackage ./osm/gcgn-converter { };
- imposm = callPackage ./osm/imposm { };
level0 = callPackage ./osm/level0 { };
map-machine = callPackage ./osm/map-machine { };
map-stylizer = callPackage ./osm/map-stylizer { };
diff --git a/pkgs/osm/imposm/default.nix b/pkgs/osm/imposm/default.nix
@@ -1,32 +0,0 @@
-{ lib, buildGoModule, fetchFromGitHub, leveldb, geos }:
-
-buildGoModule rec {
- pname = "imposm";
- version = "0.12.0";
-
- src = fetchFromGitHub {
- owner = "omniscale";
- repo = "imposm3";
- rev = "v${version}";
- hash = "sha256-xX4cV/iU7u/g9n7dtkkkCtNOPZK5oyprNHGDUuW+ees=";
- };
-
- vendorHash = null;
-
- buildInputs = [ leveldb geos ];
-
- ldflags = [
- "-s -w"
- "-X github.com/omniscale/imposm3.Version=${version}"
- ];
-
- # requires network access
- doCheck = false;
-
- meta = with lib; {
- description = "Imposm imports OpenStreetMap data into PostGIS";
- inherit (src.meta) homepage;
- license = licenses.apsl20;
- maintainers = [ maintainers.sikmir ];
- };
-}