2016-07-01 00:51:24 +00:00
|
|
|
{ stdenv, lib, fetchurl, gzip }:
|
|
|
|
|
|
|
|
{
|
|
|
|
dvp = stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "dvp";
|
2016-07-01 00:51:24 +00:00
|
|
|
version = "1.2.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://kaufmann.no/downloads/linux/dvp-${lib.replaceStrings ["."] ["_"] version}.map.gz";
|
|
|
|
sha256 = "0e859211cfe16a18a3b9cbf2ca3e280a23a79b4e40b60d8d01d0fde7336b6d50";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gzip ];
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/share/keymaps/i386/dvorak
|
|
|
|
gzip -c -d $src > $out/share/keymaps/i386/dvorak/dvp.map
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
neo = stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "neo";
|
2016-07-01 00:51:24 +00:00
|
|
|
version = "2476";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
name = "neo.map";
|
2019-04-25 08:58:23 +00:00
|
|
|
url = "https://raw.githubusercontent.com/neo-layout/neo-layout/"
|
|
|
|
+ "a0dee06fed824abfad658b7f10e6d907b270be0a/linux/console/neo.map";
|
2016-07-01 00:51:24 +00:00
|
|
|
sha256 = "19mfrd31vzpsjiwc7pshxm0b0sz5dd17xrz6k079cy4im1vf0r4g";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildCommand = ''
|
|
|
|
install -D $src $out/share/keymaps/i386/neo/neo.map
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|