aa001cc937
Keep only the version atribute in derivations, with the full version string of the package. This will make it easier to write a script for automatic updating of the packages using the update-source-version command from common-updater-scripts.
24 lines
680 B
Nix
24 lines
680 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, libxklavier }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libmatekbd-${version}";
|
|
version = "1.18.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "030bl18qbjm7l92bp1bhs7v82bp8j3mv7c1j1a4gd89iz4611pq3";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
buildInputs = [ gtk3 libxklavier ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Keyboard management library for MATE";
|
|
homepage = https://github.com/mate-desktop/libmatekbd;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo ];
|
|
};
|
|
}
|