nixpkgs-suyu/pkgs/development/interpreters/shen-sources/default.nix
2021-01-23 20:29:03 +07:00

28 lines
662 B
Nix

{ lib, stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
name = "shen-sources-${version}";
version = "22.3";
src = fetchurl {
url = "https://github.com/Shen-Language/shen-sources/releases/download/shen-${version}/ShenOSKernel-${version}.tar.gz";
sha256 = "16jaliga3bia0f8c8ja1y22wanbnbriv31qfqdc87a4p4dx9c77q";
};
buildInputs = [];
buildPhase = "";
installPhase = ''
mkdir -p $out
cp . $out -R
'';
meta = with lib; {
homepage = https://shenlanguage.org;
description = "Source code for the Shen Language";
platforms = platforms.all;
maintainers = with maintainers; [ bsima ];
license = licenses.bsd3;
};
}