Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 654 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6stdenv.mkDerivation (finaAttrs: { 7 pname = "scom"; 8 version = "1.1"; 9 10 src = fetchFromGitHub { 11 owner = "crash-systems"; 12 repo = "scom"; 13 tag = finaAttrs.version; 14 hash = "sha256-ZcD7H+tgekwZ6TOAjw6cxa78uMsBXFkIFZrHF+ErW4k="; 15 }; 16 17 enableParallelBuilding = true; 18 19 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 20 21 meta = { 22 description = "Minimal serial communication tool"; 23 homepage = "https://github.com/crash-systems/scom"; 24 mainProgram = "scom"; 25 license = lib.licenses.gpl3Plus; 26 maintainers = with lib.maintainers; [ savalet ]; 27 platforms = lib.platforms.unix; 28 }; 29})