forked from mirrors/nixpkgs
parent
4cd2cb43fb
commit
509a1e0b78
|
@ -1,19 +1,58 @@
|
||||||
{ stdenv, fetchurl, colord, intltool, glib, gtk3, pkgconfig, lcms2 }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, colord
|
||||||
|
, gettext
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk-doc
|
||||||
|
, docbook-xsl-ns
|
||||||
|
, docbook_xsl
|
||||||
|
, docbook_xml_dtd_412
|
||||||
|
, libxslt
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, pkgconfig
|
||||||
|
, lcms2
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "colord-gtk-0.1.26";
|
pname = "colord-gtk";
|
||||||
|
version = "0.2.0";
|
||||||
|
|
||||||
|
outputs = [ "out" "dev" "devdoc" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.freedesktop.org/software/colord/releases/${name}.tar.xz";
|
url = "https://www.freedesktop.org/software/colord/releases/${pname}-${version}.tar.xz";
|
||||||
sha256 = "0i9y3bb5apj6a0f8cx36l6mjzs7xc0k7nf0magmf58vy2mzhpl18";
|
sha256 = "05y78jbcbar22sgyhzffhv98dbpl4v6k8j9p807h17y6ighglk1a";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ intltool colord glib gtk3 lcms2 ];
|
pkgconfig
|
||||||
|
gettext
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
gobject-introspection
|
||||||
|
gtk-doc
|
||||||
|
docbook-xsl-ns
|
||||||
|
docbook_xsl
|
||||||
|
docbook_xml_dtd_412
|
||||||
|
libxslt
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
buildInputs = [
|
||||||
homepage = http://www.freedesktop.org/software/colord/intro.html;
|
glib
|
||||||
license = stdenv.lib.licenses.lgpl2Plus;
|
lcms2
|
||||||
platforms = stdenv.lib.platforms.linux;
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
colord
|
||||||
|
gtk3
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://www.freedesktop.org/software/colord/intro.html";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue