gnome.caribou: Format with nixfmt
This commit is contained in:
parent
b8d83d9ac3
commit
e186593ede
@ -1,16 +1,37 @@
|
||||
{ fetchurl, lib, stdenv, pkg-config, gnome, glib, gtk3, clutter, dbus, python3, libxml2
|
||||
, libxklavier, libXtst, gtk2, intltool, libxslt, at-spi2-core, autoreconfHook
|
||||
, wrapGAppsHook3, libgee, vala }:
|
||||
{
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenv,
|
||||
pkg-config,
|
||||
gnome,
|
||||
glib,
|
||||
gtk3,
|
||||
clutter,
|
||||
dbus,
|
||||
python3,
|
||||
libxml2,
|
||||
libxklavier,
|
||||
libXtst,
|
||||
gtk2,
|
||||
intltool,
|
||||
libxslt,
|
||||
at-spi2-core,
|
||||
autoreconfHook,
|
||||
wrapGAppsHook3,
|
||||
libgee,
|
||||
vala,
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "caribou";
|
||||
version = "0.4.21";
|
||||
pythonEnv = python3.withPackages ( ps: with ps; [ pygobject3 ] );
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pythonEnv = python3.withPackages (ps: with ps; [ pygobject3 ]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "caribou-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/caribou/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "0mfychh1q3dx0b96pjz9a9y112bm9yqyim40yykzxx1hppsdjhww";
|
||||
};
|
||||
|
||||
@ -38,14 +59,32 @@ in stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config intltool libxslt libxml2 autoreconfHook wrapGAppsHook3 vala ];
|
||||
|
||||
buildInputs = [
|
||||
glib gtk3 clutter at-spi2-core dbus pythonEnv python3.pkgs.pygobject3
|
||||
libXtst gtk2
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
intltool
|
||||
libxslt
|
||||
libxml2
|
||||
autoreconfHook
|
||||
wrapGAppsHook3
|
||||
vala
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ libgee libxklavier ];
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
clutter
|
||||
at-spi2-core
|
||||
dbus
|
||||
pythonEnv
|
||||
python3.pkgs.pygobject3
|
||||
libXtst
|
||||
gtk2
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libgee
|
||||
libxklavier
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
@ -54,8 +93,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
attrPath = "gnome.${pname}";
|
||||
packageName = "caribou";
|
||||
attrPath = "gnome.caribou";
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user