Unverified Commit e52738fb authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #217102 from MilesBreslin/evscript_2022-11-20

evscript: unstable-2021-06-16 -> unstable-2022-11-20
parents 43daa308 4513fc69
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, rustPlatform, fetchFromGitea }:

rustPlatform.buildRustPackage rec {
  pname = "evscript";
  version = "unstable-2021-06-16";
  version = "unstable-2022-11-20";

  src = fetchFromGitHub {
    owner = "unrelentingtech";
  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "valpackett";
    repo = pname;
    rev = "25912c0b6446f31b0f64485af3fa4aa8a93b33df";
    sha256 = "sha256-apq3kHipEX6zOTNwqpIQR46JqmeE7EKVSOGrNNSkyu8=";
    rev = "ba997c9723a91717c683f08e9957d0ecea3da6cd";
    sha256 = "sha256-wuTPcBUuPK1D4VO8BXexx9AdiPM+X0TkJ3G7b7ofER8=";
  };

  cargoSha256 = "sha256-1aR9/fhJQ+keRIxSG2cpY1HTalE6nM+MTb1Za3Tot28=";
  cargoSha256 = "sha256-5jcb/MajXV9bp0T9Og8d5TEzTwQyiyPTPHeWh8Ewr8Q=";

  meta = with lib; {
    homepage = "https://github.com/unrelentingtech/evscript";
    homepage = "https://codeberg.org/valpackett/evscript";
    description = "A tiny sandboxed Dyon scripting environment for evdev input devices";
    license = licenses.unlicense;
    maintainers = with maintainers; [ milesbreslin ];