nixpkgs-suyu/pkgs/development/interpreters/shen-sources/default.nix

31 lines
735 B
Nix
Raw Normal View History

2021-09-01 06:20:00 +02:00
{ lib
, stdenv
2020-05-26 06:07:42 +02:00
, fetchurl
}:
stdenv.mkDerivation rec {
2021-09-01 06:20:00 +02:00
pname = "shen-sources";
version = "22.4";
2020-05-26 06:07:42 +02:00
src = fetchurl {
url = "https://github.com/Shen-Language/shen-sources/releases/download/shen-${version}/ShenOSKernel-${version}.tar.gz";
2021-09-01 06:20:00 +02:00
sha256 = "1wlyh4rbzr615iykq1s779jvq28812rb4dascx1kzpakhw8z0260";
2020-05-26 06:07:42 +02:00
};
2021-09-01 06:20:00 +02:00
dontBuild = true;
2020-05-26 06:07:42 +02:00
installPhase = ''
mkdir -p $out
cp . $out -R
'';
meta = with lib; {
2021-09-01 06:20:00 +02:00
homepage = "https://shenlanguage.org";
2020-05-26 06:07:42 +02:00
description = "Source code for the Shen Language";
2021-09-01 06:20:00 +02:00
changelog = "https://github.com/Shen-Language/shen-sources/raw/shen-${version}/CHANGELOG.md";
platforms = platforms.all;
2020-05-26 06:07:42 +02:00
maintainers = with maintainers; [ bsima ];
license = licenses.bsd3;
};
}