3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/kde/gwenview.nix

30 lines
904 B
Nix
Raw Normal View History

{
2017-05-16 16:56:41 +01:00
mkDerivation, lib,
2017-05-17 20:26:11 +01:00
extra-cmake-modules, kdoctools,
exiv2, lcms2,
baloo, kactivities, kdelibs4support, kio, kipi-plugins, libkdcraw, libkipi,
2019-06-27 02:34:14 +01:00
phonon, qtimageformats, qtsvg, qtx11extras, kinit, fetchpatch
}:
2017-05-16 16:56:41 +01:00
mkDerivation {
name = "gwenview";
meta = {
license = with lib.licenses; [ gpl2 fdl12 ];
maintainers = [ lib.maintainers.ttuegel ];
};
2017-05-17 20:26:11 +01:00
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
baloo exiv2 kactivities kdelibs4support kio libkdcraw lcms2 libkipi phonon
2017-05-17 20:26:11 +01:00
qtimageformats qtsvg qtx11extras
2017-05-16 16:56:41 +01:00
];
propagatedUserEnvPkgs = [ kipi-plugins libkipi (lib.getBin kinit) ];
2019-06-27 02:34:14 +01:00
# Fixes build with exiv2-0.27.1. Drop in 19.04.2
patches = [
(fetchpatch {
url = "https://github.com/KDE/gwenview/commit/172560b845460b6121154f88221c855542219943.patch";
sha256 = "0y1l34h2s7rhfknvg6ggcc389jfzhpq69wf0s3xd5ccwfw7c0ycq";
})
];
2016-10-18 12:45:30 +01:00
}