nixpkgs/pkgs/by-name/sa/sanjuuni/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
999 B
Nix
Raw Normal View History

2024-06-30 07:25:21 +00:00
{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
ffmpeg,
poco,
ocl-icd,
opencl-clhpp,
2022-12-31 19:04:13 +00:00
}:
stdenv.mkDerivation rec {
pname = "sanjuuni";
version = "0.5";
2022-12-31 19:04:13 +00:00
src = fetchFromGitHub {
owner = "MCJack123";
repo = "sanjuuni";
rev = version;
sha256 = "sha256-wJRPD4OWOTPiyDr9dYseRA7BI942HPfHONVJGTc/+wU=";
2022-12-31 19:04:13 +00:00
};
nativeBuildInputs = [ pkg-config ];
2022-12-31 19:04:13 +00:00
buildInputs = [
ffmpeg
poco
ocl-icd
opencl-clhpp
2022-12-31 19:04:13 +00:00
];
installPhase = ''
runHook preInstall
install -Dm755 sanjuuni $out/bin/sanjuuni
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/MCJack123/sanjuuni";
description = "Command-line tool that converts images and videos into a format that can be displayed in ComputerCraft";
2023-02-02 00:04:38 +00:00
changelog = "https://github.com/MCJack123/sanjuuni/releases/tag/${version}";
2022-12-31 19:04:13 +00:00
maintainers = [ maintainers.tomodachi94 ];
license = licenses.gpl2Plus;
broken = stdenv.isDarwin;
2023-11-23 02:51:17 +00:00
mainProgram = "sanjuuni";
2022-12-31 19:04:13 +00:00
};
}