1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 05:21:47 +03:00
mobile-nixos/overlay/ply-image/default.nix
Samuel Dionne-Riel 4a5896322d ply-image: Adds additional debug information.
This is to help figure out framebuffer RGBA/BGRA issues.
2018-07-04 20:20:02 -04:00

33 lines
595 B
Nix

{stdenv, fetchgit, libpng, libdrm, pkgconfig}:
let
version = "2016-01-11";
in
stdenv.mkDerivation {
inherit version;
name = "ply-image";
src = fetchgit {
url = https://chromium.googlesource.com/chromiumos/third_party/ply-image;
rev = "6cf4e4cd968bb72ade54e423e2b97eb3a80c6de9";
sha256 = "152hh9r04hjqrpfqskqh876vlf5dfqiwx719nyjq1y2qr8a9akm7";
};
patches = [
./99_additional_debug.diff
];
nativeBuildInputs = [
pkgconfig
];
buildInputs = [
libpng
libdrm
];
installPhase = ''
mkdir -p $out/bin
cp -v src/ply-image $out/bin/
'';
}