mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wzmach: init at 1.0.0
This commit is contained in:
parent
1c3ccc6d57
commit
46e12831f4
@ -49,5 +49,6 @@ let
|
||||
segno = libsForQt5.callPackage ./segno.nix { };
|
||||
vpaint = libsForQt5.callPackage ./vpaint.nix { };
|
||||
wayback = libsForQt5.callPackage ./wayback.nix { };
|
||||
wzmach = libsForQt5.callPackage ./wzmach { };
|
||||
};
|
||||
in lib.fix (lib.extends overrides packages)
|
||||
|
29
pkgs/wzmach/default.nix
Normal file
29
pkgs/wzmach/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, pkg-config, libinput, udev }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wzmach";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "d86leader";
|
||||
repo = "wzmach";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-o9fCiuNTyP4vUoUm9etqdAzUnd7PmXbTm7Zhim0y4rE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-MknrsJuNMS5BgCbgMuqSPzxyR70y24TGsKMPOuzfkjY=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libinput udev ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 config.ron -t $out/share/wzmach/examples
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/d86leader/wzmach";
|
||||
description = "Gesture engine for Wayland";
|
||||
license = licenses.gpl3Only;
|
||||
platform = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user