mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
parent
9800410742
commit
9bf45755a8
1 changed files with 33 additions and 10 deletions
|
@ -1,27 +1,50 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, libxml2, glib, gtk3, enchant2, isocodes, vala, gobject-introspection, gnome3 }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, pkgconfig
|
||||||
|
, libxml2
|
||||||
|
, glib
|
||||||
|
, gtk3
|
||||||
|
, enchant2
|
||||||
|
, icu
|
||||||
|
, vala
|
||||||
|
, gobject-introspection
|
||||||
|
, gnome3
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
pname = "gspell";
|
pname = "gspell";
|
||||||
version = "1.8.4";
|
version = "1.9.1";
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1d23pl9956dkpy52pbndp0vrba0y030msh1issdl84z82skickfg";
|
sha256 = "1pdb4gbjrs8mk6r0ipw5vxyvzav1wvkjq46kiq53r3nyznfpdfyw";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ enchant2 ]; # required for pkgconfig
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
vala
|
||||||
|
gobject-introspection
|
||||||
|
libxml2
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig vala gobject-introspection libxml2 ];
|
buildInputs = [
|
||||||
buildInputs = [ glib gtk3 isocodes ];
|
glib
|
||||||
|
gtk3
|
||||||
|
icu
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
# required for pkgconfig
|
||||||
|
enchant2
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
versionPolicy = "none";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue