xkbset: 0.6 -> 0.8
This commit is contained in:
parent
0ddb075c4d
commit
8e1af55405
@ -1,18 +1,20 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchurl,
|
fetchFromGitHub,
|
||||||
perl,
|
perl,
|
||||||
libX11,
|
libX11,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "xkbset";
|
pname = "xkbset";
|
||||||
version = "0.6";
|
version = "0.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://faculty.missouri.edu/~stephen/software/xkbset/xkbset-${version}.tar.gz";
|
owner = "stephenmontgomerysmith";
|
||||||
sha256 = "sha256-rAMv7EnExPDyMY0/RhiXDFFBkbFC4GxRpmH+I0KlNaU=";
|
repo = "xkbset";
|
||||||
|
tag = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-N2kD4XeBV09tzdBlHW/Y5ZK3xdr3aiszFtR6bvfTRvU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -20,9 +22,7 @@ stdenv.mkDerivation rec {
|
|||||||
libX11
|
libX11
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
makeFlags = [ "X11PREFIX=${placeholder "out"}" ];
|
||||||
sed "s:^X11PREFIX=.*:X11PREFIX=$out:" -i Makefile
|
|
||||||
'';
|
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
@ -33,12 +33,12 @@ stdenv.mkDerivation rec {
|
|||||||
rm -f $out/bin/xkbset-gui
|
rm -f $out/bin/xkbset-gui
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "http://faculty.missouri.edu/~stephen/software/#xkbset";
|
homepage = "https://github.com/stephenmontgomerysmith/xkbset";
|
||||||
description = "Program to help manage many of XKB features of X window";
|
description = "Program to help manage many of XKB features of X window";
|
||||||
maintainers = with maintainers; [ drets ];
|
maintainers = with lib.maintainers; [ drets ];
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
license = licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
mainProgram = "xkbset";
|
mainProgram = "xkbset";
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user