Merge pull request #208462 from tomodachi94/sanjuuni
sanjuuni: init at 0.2
This commit is contained in:
commit
131aff3f5e
3 changed files with 53 additions and 0 deletions
|
@ -14223,6 +14223,13 @@
|
|||
githubId = 13155277;
|
||||
name = "Tom Houle";
|
||||
};
|
||||
tomodachi94 = {
|
||||
email = "tomodachi94+nixpkgs@protonmail.com";
|
||||
matrix = "@tomodachi94:matrix.org";
|
||||
github = "tomodachi94";
|
||||
githubId = 68489118;
|
||||
name = "Tomodachi94";
|
||||
};
|
||||
tomsmeets = {
|
||||
email = "tom.tsmeets@gmail.com";
|
||||
github = "TomSmeets";
|
||||
|
|
44
pkgs/tools/graphics/sanjuuni/default.nix
Normal file
44
pkgs/tools/graphics/sanjuuni/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -11468,6 +11468,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 {};
|
||||
|
|
Loading…
Reference in a new issue