osmtogeojson: drop

Upstream hasn't seen any activity since October 2022 [1] and this
package is blocking the removal of the `nodePackages` package set [2].

[1] https://github.com/tyrasd/osmtogeojson/
[2] https://github.com/NixOS/nixpkgs/issues/489959
This commit is contained in:
Tom Hunze
2026-02-22 15:17:01 +01:00
parent 279da3e1f6
commit 24a0a08db3
3 changed files with 1 additions and 3008 deletions
File diff suppressed because it is too large Load Diff
-56
View File
@@ -1,56 +0,0 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
fetchpatch,
nodePackages,
}:
buildNpmPackage rec {
pname = "osmtogeojson";
version = "3.0.0-beta.5";
src = fetchFromGitHub {
owner = "tyrasd";
repo = "osmtogeojson";
rev = version;
hash = "sha256-T6d/KQQGoXHgV0iNhOms8d9zfjYMfnBNwPLShrEkHG4=";
};
patches = [
# Fix critical xmldom security issue
# Se https://github.com/tyrasd/osmtogeojson/pull/146
(fetchpatch {
url = "https://github.com/tyrasd/osmtogeojson/commit/536ce2e9cfc3987b7596216223ce40dfbc9603e9.patch";
hash = "sha256-+LRithLPalcTROoJXGim7S10rxlnLxfH5mvn0dkFKIo=";
})
];
postPatch = ''
cp ${./package-lock.json} ./package-lock.json
# Fix 3 moderate-severity vulnerabilities
substituteInPlace package.json --replace-fail '"mocha": "~10.1.0",' '"mocha": "^10.1.0",'
'';
npmDepsHash = "sha256-tjdws4+xIEFa67bfAumewaYjGjjGbTJOiXbcTp/285U=";
dontNpmBuild = true;
# "browserify: command not found"
nativeBuildInputs = [ nodePackages.browserify ];
postBuild = "patchShebangs osmtogeojson";
doCheck = true;
checkPhase = ''
runHook preCheck
npm run test
runHook postCheck
'';
meta = {
description = "Converts OSM data to GeoJSON";
homepage = "https://tyrasd.github.io/osmtogeojson/";
maintainers = with lib.maintainers; [ thibautmarty ];
license = lib.licenses.mit;
mainProgram = "osmtogeojson";
};
}
+1
View File
@@ -1494,6 +1494,7 @@ mapAliases {
ortp = throw "'ortp' has been moved to 'linphonePackages.ortp'"; # Added 2025-09-20
OSCAR = throw "'OSCAR' has been renamed to/replaced by 'oscar'"; # Converted to throw 2025-10-27
osm2xmap = throw "osm2xmap has been removed, as it is unmaintained upstream and depended on old dependencies with broken builds"; # Added 2025-09-16
osmtogeojson = throw "'osmtogeojson' has been removed as it was unmaintained upstream"; # Added 2026-02-22
ossec-agent = throw "'ossec-agent' has been removed due to lack of maintenance"; # Added 2025-11-08
ossec-server = throw "'ossec-server' has been removed due to lack of maintenance"; # Added 2025-11-08
overrideLibcxx = throw "overrideLibcxx has been removed, as it was no longer used and Darwin now uses libc++ from the latest SDK; see the Nixpkgs 25.11 release notes for details"; # Added 2025-09-15