aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/interpreters/shen-sources/default.nix
blob: f35631daa28227ee0bb5d3a6e75f6960b211abc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ 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 stdenv.lib; {
    homepage = https://shenlanguage.org;
    description = "Source code for the Shen Language";
    platforms = platforms.all;
    maintainers = with maintainers; [ bsima ];
    license = licenses.bsd3;
  };
}