uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
53
pkgs/applications/graphics/opentoonz/default.nix
Normal file
53
pkgs/applications/graphics/opentoonz/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ boost, cmake, fetchFromGitHub, freeglut, freetype, glew, libjpeg, libmypaint
|
||||
, libpng, libtiff, libusb1, lz4, xz, lzo, openblas, opencv, pkg-config, qtbase
|
||||
, qtmultimedia, qtscript, qtserialport, lib, stdenv, superlu, wrapQtAppsHook, }:
|
||||
let source = import ./source.nix { inherit fetchFromGitHub; };
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit (source) src;
|
||||
|
||||
pname = "opentoonz";
|
||||
version = source.versions.opentoonz;
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
freeglut
|
||||
freetype
|
||||
glew
|
||||
libjpeg
|
||||
libmypaint
|
||||
libpng
|
||||
libtiff
|
||||
libusb1
|
||||
lz4
|
||||
xz
|
||||
lzo
|
||||
openblas
|
||||
opencv
|
||||
qtbase
|
||||
qtmultimedia
|
||||
qtscript
|
||||
qtserialport
|
||||
superlu
|
||||
];
|
||||
|
||||
postUnpack = "sourceRoot=$sourceRoot/toonz";
|
||||
|
||||
cmakeDir = "../sources";
|
||||
cmakeFlags = [
|
||||
"-DTIFF_INCLUDE_DIR=${libtiff.dev}/include"
|
||||
"-DTIFF_LIBRARY=${libtiff.out}/lib/libtiff.so"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
sed -i '/cp -r .*stuff/a\ chmod -R u+w $HOME/.config/OpenToonz/stuff' $out/bin/opentoonz
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Full-featured 2D animation creation software";
|
||||
homepage = "https://opentoonz.github.io/";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ chkno ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue