depot/third_party/nixpkgs/pkgs/tools/inputmethods/evscript/default.nix
Default email bb5b50588c Project import generated by Copybara.
GitOrigin-RevId: 9816b99e71c3504b0b4c1f8b2e004148460029d4
2021-02-19 20:06:45 +01:00

23 lines
718 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
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";
meta = with lib; {
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;
};
}