default.nix (674B)
1 { 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 }: 6 7 rustPlatform.buildRustPackage rec { 8 pname = "osm-lump-ways"; 9 version = "2.2.0"; 10 11 src = fetchFromGitHub { 12 owner = "amandasaurus"; 13 repo = "osm-lump-ways"; 14 tag = "v${version}"; 15 hash = "sha256-gHGszPt3rgzm3Q4T3nSBE6y92ovBxa7AUDHvF6/UAE4="; 16 }; 17 18 useFetchCargoVendor = true; 19 cargoHash = "sha256-nskIJ4dOih2OsDlGOhL1xTsMwcwY8H8Z32hQZmzgazM="; 20 21 meta = { 22 description = "Group OSM ways together based on topology & tags"; 23 homepage = "https://github.com/amandasaurus/osm-lump-ways"; 24 license = with lib.licenses; [ 25 asl20 26 mit 27 ]; 28 maintainers = [ lib.maintainers.sikmir ]; 29 }; 30 }