Skip to content

Commit

Permalink
rockstar: init at 2.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
pinage404 committed Jan 10, 2025
1 parent 5ea8623 commit 8fa0d0b
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/ro/rockstar-lang/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchzip,
autoPatchelfHook,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "rockstar";
version = "2.0.29";

src = fetchzip {
url = "https://github.com/RockstarLang/rockstar/releases/download/v${finalAttrs.version}/rockstar-v${finalAttrs.version}-linux-x64.tar.gz";
hash = "sha256-sUy4UhjAs5ZsM5zophE2tlh0GLGl6WPtswPmNVCuIqY=";
stripRoot = false;
};

nativeBuildInputs = [
autoPatchelfHook
];

installPhase = ''
install -D rockstar-linux-x64-binary/rockstar $out/bin/rockstar
'';

meta = {
description = "Esoteric programming language whose syntax is inspired by the lyrics to 80s hard rock and heavy metal songs";
homepage = "https://codewithrockstar.com";
license = lib.licenses.agpl3Only;
platforms = [ "x86_64-linux" ];
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
maintainers = [ lib.maintainers.pinage404 ];
mainProgram = "rockstar";
};
})

0 comments on commit 8fa0d0b

Please sign in to comment.