sanjuuni: init at 0.2

This commit is contained in:
Tomo 2022-12-31 11:04:13 -08:00
parent c2e4d92a65
commit 10b497b1ea
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, ffmpeg
, poco
}:
stdenv.mkDerivation rec {
pname = "sanjuuni";
version = "0.2";
src = fetchFromGitHub {
owner = "MCJack123";
repo = "sanjuuni";
rev = version;
sha256 = "sha256-WWDbPwiU4YD8XCMuqLWEGinpHkq2FNJZsz3GyVqjDHQ=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
ffmpeg
poco
];
installPhase = ''
runHook preInstall
install -Dm755 sanjuuni $out/bin/sanjuuni
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/MCJack123/sanjuuni";
description = "A command-line tool that converts images and videos into a format that can be displayed in ComputerCraft";
maintainers = [ maintainers.tomodachi94 ];
license = licenses.gpl2Plus;
broken = stdenv.isDarwin;
};
}

View File

@ -11453,6 +11453,8 @@ with pkgs;
sandboxfs = callPackage ../tools/filesystems/sandboxfs { };
sanjuuni = callPackage ../tools/graphics/sanjuuni { };
sasquatch = callPackage ../tools/filesystems/sasquatch { };
sasview = libsForQt5.callPackage ../applications/science/misc/sasview {};