diff --git a/pkgs/tools/geo/osm2mp/default.nix b/pkgs/tools/geo/osm2mp/default.nix
index c4465e4743f725582ebd4fc5442d704289b2b988..f3cf293e7bdac349cd26bb2d6bfb0e9ee8504800 100644
--- a/pkgs/tools/geo/osm2mp/default.nix
+++ b/pkgs/tools/geo/osm2mp/default.nix
@@ -1,5 +1,6 @@
-{ lib
+{ stdenv
, buildPerlPackage
+, shortenPerlShebang
, sources
, ConfigStd
, EncodeLocale
@@ -18,7 +19,7 @@ , YAML
}:
let
pname = "osm2mp";
version = "unstable-" + date;
in
buildPerlPackage {
@@ -27,6 +28,8 @@ src = sources.osm2mp;
outputs = [ "out" ];
propagatedBuildInputs = [
ConfigStd
EncodeLocale
@@ -49,10 +52,7 @@ substituteInPlace osm2mp.pl \
--replace "\$Bin/cfg" "$out/share/osm2mp/cfg"
'';
installPhase = ''
install -Dm755 osm2mp.pl $out/bin/osm2mp
@@ -60,9 +60,13 @@ install -dm755 $out/share/osm2mp/cfg
cp -r cfg/* $out/share/osm2mp/cfg
install -dm755 $out/lib/perl5/site_perl
cp -r lib/* $out/lib/perl5/site_perl
'';
inherit (sources.osm2mp) description homepage;
license = licenses.gpl2;
maintainers = with maintainers; [ sikmir ];
application/octet-stream
This content has been proxied by September (3851b).