Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 735 B view raw
1{ lib 2, stdenv 3, fetchurl 4}: 5 6stdenv.mkDerivation rec { 7 pname = "shen-sources"; 8 version = "22.4"; 9 10 src = fetchurl { 11 url = "https://github.com/Shen-Language/shen-sources/releases/download/shen-${version}/ShenOSKernel-${version}.tar.gz"; 12 sha256 = "1wlyh4rbzr615iykq1s779jvq28812rb4dascx1kzpakhw8z0260"; 13 }; 14 15 dontBuild = true; 16 17 installPhase = '' 18 mkdir -p $out 19 cp . $out -R 20 ''; 21 22 meta = with lib; { 23 homepage = "https://shenlanguage.org"; 24 description = "Source code for the Shen Language"; 25 changelog = "https://github.com/Shen-Language/shen-sources/raw/shen-${version}/CHANGELOG.md"; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ bsima ]; 28 license = licenses.bsd3; 29 }; 30}