mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
surgescript: init at 0.6.1
Signed-off-by: Federico Damián Schonborn <federicoschonborn@disroot.org>
This commit is contained in:
parent
2631b0b7ab
commit
cb2436316f
1 changed files with 42 additions and 0 deletions
42
pkgs/by-name/su/surgescript/package.nix
Normal file
42
pkgs/by-name/su/surgescript/package.nix
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
cmake,
|
||||||
|
ninja,
|
||||||
|
versionCheckHook,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "surgescript";
|
||||||
|
version = "0.6.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "alemart";
|
||||||
|
repo = "surgescript";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-m6H9cyoUY8Mgr0FDqPb98PRJTgF7DgSa+jC+EM0TDEw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
mainProgram = "surgescript";
|
||||||
|
description = "Scripting language for games";
|
||||||
|
homepage = "https://docs.opensurge2d.org/";
|
||||||
|
downloadPage = "https://github.com/alemart/surgescript";
|
||||||
|
changelog = "https://github.com/alemart/surgescript/blob/v${finalAttrs.version}/CHANGES.md";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
maintainers = with lib.maintainers; [ federicoschonborn ];
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue