first commit

This commit is contained in:
2026-02-24 14:03:16 -05:00
commit 75504d20cd
4 changed files with 51 additions and 0 deletions

27
hello/icat.nix Normal file
View File

@@ -0,0 +1,27 @@
{
stdenv,
fetchFromGitHub,
imlib2,
xorg
}:
stdenv.mkDerivation {
pname = "icat";
version = "v0.5";
src = fetchFromGitHub {
owner = "atextor";
repo = "icat";
rev = "v0.5";
sha256 = "0wyy2ksxp95vnh71ybj1bbmqd5ggp13x3mk37pzr99ljs9awy8ka";
};
buildInputs = [ imlib2 xorg.libX11 ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp icat $out/bin
runHook postInstall
'';
}