mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-18 19:02:17 +00:00
23 lines
470 B
Nix
23 lines
470 B
Nix
|
{ lib, stdenv, fetchFromGitHub }:
|
||
|
let
|
||
|
pname = "trekscii";
|
||
|
in
|
||
|
stdenv.mkDerivation {
|
||
|
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
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
platforms = platforms.all;
|
||
|
};
|
||
|
}
|