add my own game to exported pkgs
This commit is contained in:
parent
263cf8436e
commit
c8b92d77a8
25
pkgs/2048/default.nix
Normal file
25
pkgs/2048/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, stdenv, fetchFromGitHub, ... }:
|
||||
|
||||
lib.mkDerivation rec {
|
||||
pname = "2048";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Frost-Phoenix";
|
||||
repo = "nixos-config";
|
||||
rev = "main";
|
||||
sha256 = "..."; # Replace with the actual hash
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
];
|
||||
|
||||
# buildPhase = ''
|
||||
# make release
|
||||
# '';
|
||||
|
||||
installPhase = ''
|
||||
make install INSTALL_DIR=$out/bin
|
||||
'';
|
||||
}
|
Loading…
Reference in a new issue