package.nix (754B)
1 { 2 lib, 3 stdenv, 4 rustPlatform, 5 fetchFromGitHub, 6 }: 7 8 rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "arnis"; 10 version = "2.3.0"; 11 12 src = fetchFromGitHub { 13 owner = "louis-e"; 14 repo = "arnis"; 15 tag = "v${finalAttrs.version}"; 16 hash = "sha256-pZS0tXoLzQW19n2zZZEgr4C1Y45q/JEX3loetLRb/WY="; 17 }; 18 19 cargoHash = "sha256-2wklCohCShRQaJACiLIYbLej4xSP70qTwMQ0iN2hSJ0="; 20 21 checkFlags = [ 22 "--skip=map_transformation::translate::translator::tests::test_translate_by_vector" 23 ]; 24 25 meta = { 26 description = "Generate real life cities in Minecraft"; 27 homepage = "https://github.com/louis-e/arnis"; 28 license = lib.licenses.asl20; 29 maintainers = [ lib.maintainers.sikmir ]; 30 broken = stdenv.hostPlatform.isLinux; 31 }; 32 })