mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
24 lines
471 B
Nix
24 lines
471 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;
|
||
|
};
|
||
|
}
|