nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 36 lines 707 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 SDL, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "cg-term"; 10 version = "1.7b2"; 11 12 src = fetchFromGitHub { 13 owner = "MagerValp"; 14 repo = "CGTerm"; 15 rev = "01e35d64c29bccee52211b0afc66035a10e4792a"; # no tags 16 hash = "sha256-Gk7t9wnVCRWwnqcItS3j031VqJnBqk6rHw1SABtzqfE="; 17 }; 18 19 buildInputs = [ 20 SDL 21 ]; 22 23 makeFlags = [ 24 "CC:=$(CC)" 25 "PREFIX=$(out)" 26 ]; 27 28 meta = with lib; { 29 description = "C/G telnet client for C64 BBS's"; 30 homepage = "https://github.com/MagerValp/CGTerm"; 31 license = licenses.bsd2; 32 maintainers = with maintainers; [ matthewcroughan ]; 33 mainProgram = "cg-term"; 34 platforms = platforms.all; 35 }; 36})