mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
hyprpaper: 0.6.0 -> 0.7.0
This commit is contained in:
parent
c6c9a121cb
commit
470a554712
@ -2,14 +2,24 @@
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, cairo
|
||||
, expat
|
||||
, file
|
||||
, fribidi
|
||||
, hyprlang
|
||||
, libdatrie
|
||||
, libGL
|
||||
, libjpeg
|
||||
, libselinux
|
||||
, libsepol
|
||||
, libthai
|
||||
, libwebp
|
||||
, mesa
|
||||
, libXdmcp
|
||||
, pango
|
||||
, pcre
|
||||
, pcre2
|
||||
, pkg-config
|
||||
, util-linux
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, wayland-scanner
|
||||
@ -17,13 +27,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hyprpaper";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-mqxnaNiCVJS88Dk4V1v2wdS0RaCbOk8HFOUUbp0Uiy0=";
|
||||
hash = "sha256-l13c8ALA7ZKDgluYA1C1OfkDGYD6e1/GR6LJnxCLRhA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -33,13 +43,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cairo
|
||||
expat
|
||||
file
|
||||
fribidi
|
||||
hyprlang
|
||||
libdatrie
|
||||
libGL
|
||||
libjpeg
|
||||
libselinux
|
||||
libsepol
|
||||
libthai
|
||||
libwebp
|
||||
mesa
|
||||
libXdmcp
|
||||
pango
|
||||
pcre
|
||||
pcre2
|
||||
util-linux
|
||||
wayland
|
||||
wayland-protocols
|
||||
];
|
||||
@ -49,18 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
--replace GIT_COMMIT_HASH '"${finalAttrs.src.rev}"'
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
make protocols
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 ./hyprpaper -t $out/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit (finalAttrs.src.meta) homepage;
|
||||
description = "A blazing fast wayland wallpaper utility";
|
||||
|
Loading…
Reference in New Issue
Block a user