nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit d1a5c1afefd13fd628215cc8a31b7a4da1e10c55
parent 5d8ed6d80cd503a459fac2006a7d7d5506bf3e47
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Tue,  5 Aug 2025 23:59:33 +0400

Add arnis

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/osm/arnis/default.nix | 26++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -479,6 +479,7 @@ lib.makeScope newScope ( ### OSM abstreet = callPackage ./osm/abstreet { }; + arnis = callPackage ./osm/arnis { }; cykhash = callPackage ./osm/cykhash { }; gcgn-converter = callPackage ./osm/gcgn-converter { }; level0 = callPackage ./osm/level0 { }; diff --git a/pkgs/osm/arnis/default.nix b/pkgs/osm/arnis/default.nix @@ -0,0 +1,26 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "arnis"; + version = "2.2.1"; + + src = fetchFromGitHub { + owner = "louis-e"; + repo = "arnis"; + tag = "v${finalAttrs.version}"; + hash = "sha256-xvVG5LCVbAB7y+0usuVDQEeIH09geIL0s1n6rZGWvAU="; + }; + + cargoHash = "sha256-J2ymz+lV30UFZqIpynxH6TA8zNgauaoAQon5WsPJONY="; + + meta = { + description = "Generate real life cities in Minecraft"; + homepage = "https://github.com/louis-e/arnis"; + license = lib.licenses.asl20; + maintainers = [ lib.maintainers.sikmir ]; + }; +})