dotfiles/pkgs/trekscii/default.nix

20 lines
463 B
Nix
Raw Normal View History

2023-07-28 22:15:33 +00:00
{ lib, stdenv, fetchFromGitHub }:
2024-12-20 01:30:06 +00:00
let pname = "trekscii";
in stdenv.mkDerivation {
2023-07-28 22:15:33 +00:00
inherit pname;
version = "unstable-2022-06-27";
src = fetchFromGitHub {
owner = "k-vernooy";
repo = pname;
rev = "8b51971c4c62f49f886d59f2c8445ce8734b00e8";
hash = "sha256-Mn3wasplwXsDCBEpHLqdh0G+SqYIirj7lKvM3VehPH0=";
};
installPhase = ''
install -Dm 0755 bin/trekscii $out/bin/trekscii
'';
2024-12-20 01:30:06 +00:00
meta = with lib; { platforms = platforms.all; };
}