swipe-guess: init at 0.2.1
This commit is contained in:
parent
2dc99487ca
commit
d1d5ce7bd4
1 changed files with 39 additions and 0 deletions
39
pkgs/by-name/sw/swipe-guess/package.nix
Normal file
39
pkgs/by-name/sw/swipe-guess/package.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromSourcehut
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "swipe-guess";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromSourcehut {
|
||||||
|
owner = "~earboxer";
|
||||||
|
repo = "swipeGuess";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-8bPsnqjLeeZ7btTre9j1T93VWY9+FdBdJdxyvBVt34s=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
${lib.getExe stdenv.cc} swipeGuess.c -o swipeGuess
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
install -Dm555 swipeGuess -t $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Completion plugin for touchscreen-keyboards on mobile devices";
|
||||||
|
homepage = "https://git.sr.ht/~earboxer/swipeGuess/";
|
||||||
|
license = lib.licenses.agpl3Only;
|
||||||
|
mainProgram = "swipeGuess";
|
||||||
|
maintainers = with lib.maintainers; [ eclairevoyant ];
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue