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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
735 B
Nix
Raw Normal View History

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