1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/development/interpreters/shen-sources/default.nix
2021-01-23 20:29:03 +07:00

29 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;
};
}