Merge branch 'staging' into staging-next
A few conflicts but relatively clear ones (I think).
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, lib
|
||||
{ stdenv, fetchpatch, fetchFromGitHub, lib
|
||||
, cmake, perl, uthash, pkg-config, gettext
|
||||
, python, freetype, zlib, glib, libungif, libpng, libjpeg, libtiff, libxml2, cairo, pango
|
||||
, readline, woff2, zeromq, libuninameslist
|
||||
@@ -23,6 +23,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-Rl/5lbXaPgIndANaD0IakaDus6T53FjiBb45FIuGrvc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Allow installing contrib files (e.g. extras and tools).
|
||||
# Taken from https://salsa.debian.org/fonts-team/fontforge/-/blob/master/debian/patches/0001-add-extra-cmake-install-rules.patch
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/fonts-team/fontforge/raw/76bffe6ccf8ab20a0c81476a80a87ad245e2fd1c/debian/patches/0001-add-extra-cmake-install-rules.patch";
|
||||
sha256 = "u3D9od2xLECNEHhZ+8dkuv9818tPkdP6y/Tvd9CADJg=";
|
||||
})
|
||||
];
|
||||
|
||||
# use $SOURCE_DATE_EPOCH instead of non-deterministic timestamps
|
||||
postPatch = ''
|
||||
find . -type f -name '*.c' -exec sed -r -i 's#\btime\(&(.+)\)#if (getenv("SOURCE_DATE_EPOCH")) \1=atol(getenv("SOURCE_DATE_EPOCH")); else &#g' {} \;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, fetchFromGitHub, buildPythonApplication, python3Packages, wrapGAppsHook
|
||||
, xflux, librsvg, gtk3, gobject-introspection, pango, gdk-pixbuf, atk
|
||||
, pexpect, pyGtkGlade, pygobject3, pyxdg, libappindicator-gtk3
|
||||
, pexpect, pygobject3, pyxdg, libappindicator-gtk3
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "xflux-gui";
|
||||
|
||||
Reference in New Issue
Block a user