mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 00:52:07 +03:00
Merge pull request #242362 from figsoda/catnip
This commit is contained in:
commit
662c9c2428
43
pkgs/tools/audio/catnip-gtk4/default.nix
Normal file
43
pkgs/tools/audio/catnip-gtk4/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wrapGAppsHook4
|
||||
, gobject-introspection
|
||||
, gtk4
|
||||
, libadwaita
|
||||
}:
|
||||
|
||||
buildGoModule {
|
||||
pname = "catnip-gtk4";
|
||||
version = "unstable-2023-06-17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diamondburned";
|
||||
repo = "catnip-gtk4";
|
||||
rev = "e635904af952fcee7e9f4b1a3e45ce8519428d9f";
|
||||
hash = "sha256-yJNw/pDgvIzcX4H6RoFJBiRwzWQXWF3obUPxYf4ALOY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-gcr3e5Fm2xCTOoTgl71Dv3rxI6gQbqRz0M1NO7fAZk0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wrapGAppsHook4
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gobject-introspection
|
||||
gtk4
|
||||
libadwaita
|
||||
];
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK4 frontend for catnip";
|
||||
homepage = "https://github.com/diamondburned/catnip-gtk4";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
@ -18413,6 +18413,8 @@ with pkgs;
|
||||
|
||||
catnip = callPackage ../tools/audio/catnip { };
|
||||
|
||||
catnip-gtk4 = callPackage ../tools/audio/catnip-gtk4 { };
|
||||
|
||||
cbrowser = callPackage ../development/tools/misc/cbrowser { };
|
||||
|
||||
cc-tool = callPackage ../development/embedded/cc-tool { };
|
||||
|
Loading…
Reference in New Issue
Block a user