Merge pull request #212123 from atorres1985-contrib/misc-updates

Misc changes

authored by Anderson Torres and committed by GitHub c2aa9120 c3f76c22

+40 -26
+11 -11
pkgs/development/tools/castxml/default.nix
··· 1 - { lib, 2 - stdenv, 3 - fetchFromGitHub, 4 - cmake, 5 - libffi, 6 - libxml2, 7 - zlib, 8 - withManual ? true, 9 - withHTML ? true, 10 - llvmPackages, 11 - python3, 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , libffi 6 + , libxml2 7 + , zlib 8 + , withManual ? true 9 + , withHTML ? true 10 + , llvmPackages 11 + , python3 12 12 }: 13 13 14 14 let
+29 -15
pkgs/tools/graphics/wallutils/default.nix
··· 1 1 { lib 2 2 , buildGoModule 3 3 , fetchFromGitHub 4 - , pkg-config 5 - , wayland 6 4 , libX11 7 - , xbitmaps 8 5 , libXcursor 9 6 , libXmu 10 7 , libXpm 11 8 , libheif 9 + , pkg-config 10 + , wayland 11 + , xbitmaps 12 12 }: 13 13 14 14 buildGoModule rec { 15 15 pname = "wallutils"; 16 - version = "5.12.4"; 16 + version = "5.12.5"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "xyproto"; 20 20 repo = "wallutils"; 21 21 rev = version; 22 - sha256 = "sha256-NODG4Lw/7X1aoT+dDSWxWEbDX6EAQzzDJPwsWOLaJEM="; 22 + hash = "sha256-qC+AF+NFXSrUZAYaiFPwvfZtsAGhKE4XFDOUcfXUAbM="; 23 23 }; 24 24 25 25 vendorSha256 = null; 26 26 27 - patches = [ ./lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch ]; 27 + patches = [ 28 + ./000-add-nixos-dirs-to-default-wallpapers.patch 29 + ]; 28 30 29 31 excludedPackages = [ 30 32 "./pkg/event/cmd" # Development tools 31 33 ]; 32 34 33 - ldflags = [ "-s" "-w" ]; 35 + nativeBuildInputs = [ 36 + pkg-config 37 + ]; 34 38 35 - nativeBuildInputs = [ pkg-config ]; 36 - buildInputs = [ wayland libX11 xbitmaps libXcursor libXmu libXpm libheif ]; 39 + buildInputs = [ 40 + libX11 41 + libXcursor 42 + libXmu 43 + libXpm 44 + libheif 45 + wayland 46 + xbitmaps 47 + ]; 48 + 49 + ldflags = [ "-s" "-w" ]; 37 50 38 51 preCheck = 39 52 let skippedTests = [ 40 - "TestClosest" # Requiring Wayland or X. 41 - "TestNewSimpleEvent" # Blocking 53 + "TestClosest" # Requiring Wayland or X 42 54 "TestEveryMinute" # Blocking 55 + "TestNewSimpleEvent" # Blocking 43 56 ]; in 44 57 '' 45 58 export XDG_RUNTIME_DIR=`mktemp -d` ··· 47 60 buildFlagsArray+=("-run" "[^(${builtins.concatStringsSep "|" skippedTests})]") 48 61 ''; 49 62 50 - meta = with lib; { 63 + meta = { 51 64 description = "Utilities for handling monitors, resolutions, and (timed) wallpapers"; 52 65 inherit (src.meta) homepage; 53 - license = licenses.bsd3; 54 - maintainers = with maintainers; [ ]; 55 - platforms = platforms.linux; 66 + license = lib.licenses.bsd3; 67 + maintainers = [ lib.maintainers.AndersonTorres ]; 68 + inherit (wayland.meta) platforms; 69 + badPlatforms = lib.platforms.darwin; 56 70 }; 57 71 }
pkgs/tools/graphics/wallutils/lscollection-Add-NixOS-paths-to-DefaultWallpaperDirectories.patch pkgs/tools/graphics/wallutils/000-add-nixos-dirs-to-default-wallpapers.patch