2024-05-18 02:08:59 -04:00
|
|
|
{
|
2024-05-18 01:50:05 -04:00
|
|
|
lib,
|
|
|
|
fetchFromGitHub,
|
|
|
|
gcc13Stdenv,
|
|
|
|
makeWrapper,
|
|
|
|
zlib,
|
|
|
|
glibc,
|
|
|
|
}:
|
|
|
|
|
|
|
|
gcc13Stdenv.mkDerivation {
|
|
|
|
pname = "ird_tools";
|
|
|
|
version = "v0.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "ird_tools";
|
|
|
|
owner = "Zarh";
|
|
|
|
repo = "ird_tools";
|
|
|
|
rev = "9489afc0979715a86fbfb6b5a9a93330863505eb";
|
|
|
|
hash = "sha256-1m243bPabo2riOInblDggqTniXg1f16UqeLXJfEBrf4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper glibc.static zlib.static zlib.dev ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ird_tools $out/bin
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/Zarh/ird_tools";
|
|
|
|
description = "DESCRIPTION PLACEHOLDER";
|
|
|
|
longDescription = "DESCRIPTION PLACEHOLDER";
|
2024-05-18 02:11:05 -04:00
|
|
|
# license = lib.licenses.gpl3;
|
2024-05-18 02:08:59 -04:00
|
|
|
license = lib.licenses.unfree;
|
|
|
|
/*
|
|
|
|
Dev feels that it should be GPLv3, but doesn't have a `LICENSE` file in
|
|
|
|
the repository "proving" the licensing. Running with it for now.
|
|
|
|
Info on this: https://github.com/Zarh/ird_tools/issues/3
|
2024-05-18 02:11:05 -04:00
|
|
|
I'm keeping `lib.licenses.gpl3` license comment just to make sure I
|
|
|
|
remember to change it back... If the dev adds the file.
|
2024-05-18 02:08:59 -04:00
|
|
|
*/
|
2024-05-18 02:16:16 -04:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2024-05-18 01:50:05 -04:00
|
|
|
mainProgram = "ird_tools";
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|