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
56
pkgs/development/tools/jpexs/default.nix
Normal file
56
pkgs/development/tools/jpexs/default.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{ lib, stdenv, fetchzip, makeWrapper, makeDesktopItem, jdk8 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jpexs";
|
||||
version = "15.0.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "${meta.homepage}/releases/download/version${version}/ffdec_${version}.zip";
|
||||
sha256 = "1w8sh0dzln6mxcbibyw6r9f9c8g0cbwxq4qbm5kawq00yydvwfza";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/{ffdec,icons/hicolor/512x512/apps}
|
||||
|
||||
cp ffdec.jar $out/share/ffdec
|
||||
cp -r lib $out/share/ffdec
|
||||
cp icon.png $out/share/icons/hicolor/512x512/apps/ffdec.png
|
||||
cp -r ${desktopItem}/share/applications $out/share
|
||||
|
||||
makeWrapper ${jdk8}/bin/java $out/bin/ffdec \
|
||||
--add-flags "-jar $out/share/ffdec/ffdec.jar"
|
||||
'';
|
||||
|
||||
desktopItem = makeDesktopItem rec {
|
||||
name = "ffdec";
|
||||
exec = name;
|
||||
icon = name;
|
||||
desktopName = "JPEXS Free Flash Decompiler";
|
||||
genericName = "Flash Decompiler";
|
||||
comment = meta.description;
|
||||
categories = [ "Development" "Java" ];
|
||||
startupWMClass = "com-jpexs-decompiler-flash-gui-Main";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flash SWF decompiler and editor";
|
||||
longDescription = ''
|
||||
Open-source Flash SWF decompiler and editor. Extract resources,
|
||||
convert SWF to FLA, edit ActionScript, replace images, sounds,
|
||||
texts or fonts.
|
||||
'';
|
||||
homepage = "https://github.com/jindrapetrik/jpexs-decompiler";
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||
license = licenses.gpl3;
|
||||
platforms = jdk8.meta.platforms;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue