commit
925613c8c4
2 changed files with 48 additions and 0 deletions
46
pkgs/applications/misc/pw-viz/default.nix
Normal file
46
pkgs/applications/misc/pw-viz/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, libGL
|
||||
, pipewire
|
||||
, xorg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pw-viz";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ax9d";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1d46m7w6rzzjpxc2fxwka9xbz49szbfrl63kxlv6kw4lknrladjn";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-jx1mUP6ezpwUhmDD9tCJBhHCHU8fEMlB738yYfB1psc=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libGL
|
||||
pipewire
|
||||
rustPlatform.bindgenHook
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libxcb
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
patchelf $out/bin/pw-viz --add-rpath ${lib.makeLibraryPath [ libGL xorg.libXrandr ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple and elegant pipewire graph editor ";
|
||||
homepage = "https://github.com/ax9d/pw-viz";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -9872,6 +9872,8 @@ with pkgs;
|
|||
|
||||
pwsafe = callPackage ../applications/misc/pwsafe { };
|
||||
|
||||
pw-viz = callPackage ../applications/misc/pw-viz { };
|
||||
|
||||
napi-rs-cli = callPackage ../development/tools/napi-rs-cli { };
|
||||
|
||||
neil = callPackage ../development/tools/neil { };
|
||||
|
|
Loading…
Reference in a new issue