nixpkgs-suyu/pkgs/tools/inputmethods/evscript/default.nix

25 lines
752 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
2020-08-23 00:39:03 +02:00
rustPlatform.buildRustPackage rec {
pname = "evscript";
version = "git-${builtins.substring 0 7 src.rev}";
src = fetchFromGitHub {
owner = "myfreeweb";
repo = pname;
rev = "47f86f0d15add2af785ea1ff47f24d130026d1b4";
sha256 = "1xm8297k0d8d0aq7fxgmibr4qva4d02cb6gnnlzq77jcmnknxv14";
};
cargoSha256 = "1dcyhxfyq0nrjl05g1s9pjkg7vqw63wbdhlskrdcvxncmci3s7rp";
verifyCargoDeps = true;
2021-01-15 10:19:50 +01:00
meta = with lib; {
2020-08-23 00:39:03 +02:00
homepage = "https://github.com/myfreeweb/${pname}";
description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
license = licenses.unlicense;
maintainers = with maintainers; [ milesbreslin ];
platforms = platforms.linux;
};
}