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
|
|
|
|
'';
|
|
|
|
|
2021-01-23 14:15:07 +01:00
|
|
|
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";
|
2020-05-29 21:08:29 +02:00
|
|
|
platforms = platforms.all;
|
2020-05-26 06:07:42 +02:00
|
|
|
maintainers = with maintainers; [ bsima ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|