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
48
pkgs/applications/graphics/pikopixel/default.nix
Normal file
48
pkgs/applications/graphics/pikopixel/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, fetchurl
|
||||
, gnustep
|
||||
, gcc
|
||||
, llvmPackages_9
|
||||
}:
|
||||
|
||||
let
|
||||
# Earlier llvm than 9 segfaults
|
||||
gnustep' = gnustep.override { llvmPackages = llvmPackages_9; };
|
||||
|
||||
in gnustep'.gsmakeDerivation rec {
|
||||
pname = "pikopixel";
|
||||
version = "1.0-b10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://twilightedge.com/downloads/PikoPixel.Sources.${version}.tar.gz";
|
||||
sha256 = "1b27npgsan2nx1p581b9q2krx4506yyd6s34r4sf1r9x9adshm77";
|
||||
};
|
||||
|
||||
sourceRoot = "PikoPixel.Sources.${version}/PikoPixel";
|
||||
|
||||
buildInputs = [
|
||||
gnustep'.base
|
||||
gnustep'.gui
|
||||
gnustep'.back
|
||||
];
|
||||
|
||||
# Fix the Exec and Icon paths in the .desktop file, and save the file in the
|
||||
# correct place.
|
||||
# postInstall gets redefined in gnustep.make's builder.sh, so we use preFixup
|
||||
preFixup = ''
|
||||
mkdir -p $out/share/applications
|
||||
sed \
|
||||
-e "s@^Exec=.*\$@Exec=$out/bin/PikoPixel %F@" \
|
||||
-e "s@^Icon=.*/local@Icon=$out@" \
|
||||
PikoPixel.app/Resources/PikoPixel.desktop > $out/share/applications/PikoPixel.desktop
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Application for drawing and editing pixel-art images";
|
||||
homepage = "http://twilightedge.com/mac/pikopixel/";
|
||||
downloadPage = "http://twilightedge.com/mac/pikopixel/";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue