mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 04:02:11 +02:00
packages: Use waycorner from nixpkgs/master
This commit is contained in:
parent
0bb8eca867
commit
132e985a52
@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
makeWrapper,
|
|
||||||
rustPlatform,
|
|
||||||
pkg-config,
|
|
||||||
fetchFromGitHub,
|
|
||||||
wayland,
|
|
||||||
}:
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "waycorner";
|
|
||||||
version = "0.2.1";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "AndreasBackx";
|
|
||||||
repo = "waycorner";
|
|
||||||
rev = version;
|
|
||||||
hash = "sha256-xvmvtn6dMqt8kUwvn5d5Nl1V84kz1eWa9BSIN/ONkSQ=";
|
|
||||||
};
|
|
||||||
cargoHash = "sha256-Dl+GhJywWhaC4QMS70klazPsFipGVRW+6jrXH2XsEAI=";
|
|
||||||
buildInputs = [
|
|
||||||
wayland
|
|
||||||
];
|
|
||||||
nativeBuildInputs = [
|
|
||||||
pkg-config
|
|
||||||
makeWrapper
|
|
||||||
];
|
|
||||||
postFixup = ''
|
|
||||||
# the program looks for libwayland-client.so at runtime
|
|
||||||
wrapProgram $out/bin/waycorner \
|
|
||||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [wayland]}
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Hot corners for Wayland";
|
|
||||||
changelog = "https://github.com/AndreasBackx/waycorner/blob/main/CHANGELOG.md";
|
|
||||||
homepage = "https://github.com/AndreasBackx/waycorner";
|
|
||||||
platforms = platforms.linux;
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [NotAShelf];
|
|
||||||
};
|
|
||||||
}
|
|
@ -5,6 +5,7 @@
|
|||||||
nix-gaming,
|
nix-gaming,
|
||||||
crystal-flake,
|
crystal-flake,
|
||||||
nixpkgs-hyprland-autoname-workspaces,
|
nixpkgs-hyprland-autoname-workspaces,
|
||||||
|
nixpkgs-master,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
VARIABLES = import ./variables.nix;
|
VARIABLES = import ./variables.nix;
|
||||||
@ -62,7 +63,7 @@ in {
|
|||||||
ameba
|
ameba
|
||||||
crystal-flake.packages.${VARIABLES.system}.crystal
|
crystal-flake.packages.${VARIABLES.system}.crystal
|
||||||
crystal-flake.packages.${VARIABLES.system}.crystalline
|
crystal-flake.packages.${VARIABLES.system}.crystalline
|
||||||
(pkgs.callPackage ../packages/waycorner {})
|
nixpkgs-master.legacyPackages.${VARIABLES.system}.waycorner
|
||||||
(pkgs.callPackage ../packages/srb2 {})
|
(pkgs.callPackage ../packages/srb2 {})
|
||||||
slade
|
slade
|
||||||
typespeed
|
typespeed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user