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
40
pkgs/development/libraries/libgxps/default.nix
Normal file
40
pkgs/development/libraries/libgxps/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib, stdenv, fetchurl, meson, ninja, pkg-config, glib, gobject-introspection, cairo
|
||||
, libarchive, freetype, libjpeg, libtiff, gnome, lcms2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgxps";
|
||||
version = "0.3.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "bSeGclajXM+baSU+sqiKMrrKO5fV9O9/guNmf6Q1JRw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ];
|
||||
buildInputs = [ glib cairo freetype libjpeg libtiff lcms2 ];
|
||||
propagatedBuildInputs = [ libarchive ];
|
||||
|
||||
mesonFlags = [
|
||||
"-Denable-test=false"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"-Ddisable-introspection=true"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
versionPolicy = "none";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GObject based library for handling and rendering XPS documents";
|
||||
homepage = "https://wiki.gnome.org/Projects/libgxps";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue