ckbcomp: 1.133 -> 1.187

This commit is contained in:
c0bw3b 2018-11-25 01:21:11 +01:00
parent 11e2f31532
commit aed83accbf

View File

@ -1,13 +1,15 @@
{ stdenv, fetchgit, perl, xkeyboard_config }:
{ stdenv, fetchFromGitLab, perl, xkeyboard_config }:
stdenv.mkDerivation rec {
name = "ckbcomp-${version}";
version = "1.133";
version = "1.187";
src = fetchgit {
url = "git://anonscm.debian.org/d-i/console-setup.git";
rev = "refs/tags/${version}";
sha256 = "1whli40ik5izyfs0m8d08gq8zcsdjscnxbsvxyxvdnkrvzw4izdz";
src = fetchFromGitLab {
domain = "salsa.debian.org";
owner = "installer-team";
repo = "console-setup";
rev = version;
sha256 = "1dcsgdai5lm1r0bhlcfwh01s9k11iwgnd0111gpgbv568rs5isqh";
};
buildInputs = [ perl ];
@ -20,15 +22,13 @@ stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
mkdir -p "$out"/bin
cp Keyboard/ckbcomp "$out"/bin/
mkdir -p "$out"/share/man/man1
cp man/ckbcomp.1 "$out"/share/man/man1
install -Dm0555 -t $out/bin Keyboard/ckbcomp
install -Dm0444 -t $out/share/man/man1 man/ckbcomp.1
'';
meta = with stdenv.lib; {
description = "Compiles a XKB keyboard description to a keymap suitable for loadkeys";
homepage = http://anonscm.debian.org/cgit/d-i/console-setup.git;
homepage = https://salsa.debian.org/installer-team/console-setup;
license = licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ dezgeg ];
platforms = platforms.unix;