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