first commit
This commit is contained in:
27
hello/icat.nix
Normal file
27
hello/icat.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user