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
62
pkgs/applications/video/mlv-app/default.nix
Normal file
62
pkgs/applications/video/mlv-app/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ fetchFromGitHub
|
||||
, lib
|
||||
, mkDerivation
|
||||
, qmake
|
||||
, qtbase
|
||||
, qtmultimedia
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "mlv-app";
|
||||
version = "1.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ilia3101";
|
||||
repo = "MLV-App";
|
||||
rev = "QTv${version}";
|
||||
sha256 = "0s5sjdxi8a17ddvih4ara7mlb2xrc9xqx52jmhfaca6ng341gi4x";
|
||||
};
|
||||
|
||||
patches = if stdenv.isAarch64 then ./aarch64-flags.patch else null;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm555 -t $out/bin mlvapp
|
||||
install -Dm444 -t $out/share/applications mlvapp.desktop
|
||||
install -Dm444 -t $out/share/icons/hicolor/512x512/apps RetinaIMG/MLVAPP.png
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
qmakeFlags = [ "MLVApp.pro" ];
|
||||
|
||||
preConfigure = ''
|
||||
export HOME=$TMPDIR
|
||||
cd platform/qt/
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
qtmultimedia
|
||||
qtbase
|
||||
];
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
preFixup = ''
|
||||
wrapQtApp "$out/bin/mlvapp"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
qmake
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "All in one MLV processing app that is pretty great";
|
||||
homepage = "https://mlv.app";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [
|
||||
kiwi
|
||||
];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue