pkgs/hexagon: init at unstable-2023-07-24

This commit is contained in:
Infinidoge 2023-07-24 15:19:19 -04:00
parent 4c275b2d3c
commit 13c9db6b82
2 changed files with 25 additions and 0 deletions

View file

@ -3,6 +3,7 @@ final: prev: {
sources = prev.callPackage (import ./_sources/generated.nix) { };
# then, call packages with `final.callPackage`
hexagon = final.callPackage ./hexagon.nix { };
mcaselector = final.callPackage ./mcaselector.nix { };
nix-modrinth-prefetch = final.callPackage ./nix-modrinth-prefetch.nix { };
olympus = final.callPackage ./olympus.nix { };

24
pkgs/hexagon.nix Normal file
View file

@ -0,0 +1,24 @@
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "hexagon";
version = "unstable-2023-07-24";
src = fetchFromGitHub {
owner = "Master-Bw3";
repo = pname;
rev = "8a2361b0e3e3deedf4bfda9275390e6c6fc7b335";
hash = "sha256-hQ5igy9OT+BdYVki/xrIqh12lOboJYPPQmk0BuGqx0o=";
};
cargoHash = "sha256-FWY+se0CDavX+kskV3nPRT2lYRRS8MwmM2kbdApA464=";
doCheck = false;
meta = with lib; {
description = "Hexagon is a programming language for Hex Casting. Hexagon is a superset of the hexpattern format, adding variables, if statements, and more.";
homepage = "https://github.com/Master-Bw3/Hexagon";
license = licenses.unfree;
maintainers = with maintainers; [ infinidoge ];
};
}