From dda39b703d8760ddf05a10031ea3d246d406127b Mon Sep 17 00:00:00 2001 From: John Titor <50095635+JohnRTitor@users.noreply.github.com> Date: Wed, 19 Jun 2024 21:24:54 +0530 Subject: [PATCH] hyprutils: 0.1.2 -> 0.1.4 --- pkgs/by-name/hy/hyprutils/package.nix | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/hy/hyprutils/package.nix b/pkgs/by-name/hy/hyprutils/package.nix index f29cb3665fbda..1ad3a925ff323 100644 --- a/pkgs/by-name/hy/hyprutils/package.nix +++ b/pkgs/by-name/hy/hyprutils/package.nix @@ -2,25 +2,34 @@ lib, stdenv, cmake, + pkg-config, + pixman, fetchFromGitHub, }: stdenv.mkDerivation (finalAttrs: { pname = "hyprutils"; - version = "0.1.2"; + version = "0.1.4"; src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprutils"; - rev = "v${finalAttrs.version}"; - hash = "sha256-8KvVqtApNt4FWTdn1TqVvw00rpqyG9UuUPA2ilPVD1U="; + rev = "refs/tags/v${finalAttrs.version}"; + hash = "sha256-CqRZne63BpYlPd/i8lXV0UInUt59oKogiwdVtBRHt60="; }; - nativeBuildInputs = [ cmake ]; + nativeBuildInputs = [ + cmake + pkg-config + ]; - outputs = [ "out" "dev" ]; + buildInputs = [ + pixman + ]; - doCheck = false; + outputs = ["out" "dev"]; + + cmakeBuildType = "RelWithDebInfo"; meta = { homepage = "https://github.com/hyprwm/hyprutils";