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