depot/pkgs/by-name/cg/cgterm/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
691 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, SDL
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cg-term";
version = "1.7b2";
src = fetchFromGitHub {
owner = "MagerValp";
repo = "CGTerm";
rev = "01e35d64c29bccee52211b0afc66035a10e4792a"; # no tags
hash = "sha256-Gk7t9wnVCRWwnqcItS3j031VqJnBqk6rHw1SABtzqfE=";
};
buildInputs = [
SDL
];
makeFlags = [ "CC:=$(CC)" "PREFIX=$(out)" ];
meta = with lib; {
description = "C/G telnet client for C64 BBS's";
homepage = "https://github.com/MagerValp/CGTerm";
license = licenses.bsd2;
maintainers = with maintainers; [ matthewcroughan ];
mainProgram = "cg-term";
platforms = platforms.all;
};
})