nixos-config/pkgs/_2048/default.nix
Frost-Phoenix 9e7bcfaadc test
2024-01-03 23:11:07 +01:00

28 lines
456 B
Nix

{ stdenv, lib, stasdasdfdenv, fetchFromGitHub, ... }:
stdenv.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 = ''
mkdir -p $out/bin
make install INSTALL_DIR=$out/bin
chmod +x $out/bin/2048
'';
}