Merge pull request #270161 from maralorn/bump-nom

nix-output-monitor: 2.0.0.7 -> 2.1.1

authored by maralorn and committed by GitHub ce89133d 2ba41536

+28 -133
+25 -128
pkgs/tools/nix/nix-output-monitor/generated-package.nix
··· 1 1 # This file has been autogenerate with cabal2nix. 2 2 # Update via ./update.sh" 3 - { 4 - mkDerivation, 5 - ansi-terminal, 6 - async, 7 - attoparsec, 8 - base, 9 - bytestring, 10 - cassava, 11 - containers, 12 - data-default, 13 - directory, 14 - extra, 15 - fetchzip, 16 - filepath, 17 - hermes-json, 18 - HUnit, 19 - lib, 20 - lock-file, 21 - MemoTrie, 22 - mtl, 23 - nix-derivation, 24 - optics, 25 - random, 26 - relude, 27 - safe, 28 - stm, 29 - streamly-core, 30 - strict, 31 - strict-types, 32 - terminal-size, 33 - text, 34 - time, 35 - typed-process, 36 - wcwidth, 37 - word8, 3 + { mkDerivation, ansi-terminal, async, attoparsec, base, bytestring 4 + , cassava, containers, data-default, directory, extra, fetchzip 5 + , filepath, hermes-json, HUnit, lib, lock-file, MemoTrie 6 + , nix-derivation, optics, random, relude, safe, stm, streamly-core 7 + , strict, strict-types, terminal-size, text, time, transformers 8 + , typed-process, unix, word8 38 9 }: 39 10 mkDerivation { 40 11 pname = "nix-output-monitor"; 41 - version = "2.0.0.7"; 12 + version = "2.1.1"; 42 13 src = fetchzip { 43 - url = "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/v2.0.0.7.tar.gz"; 44 - sha256 = "1b2c9kfz80rv2r1s7h6iikyq3bn32h1fv2yq65wkhg3in7qg49jp"; 14 + url = "https://code.maralorn.de/maralorn/nix-output-monitor/archive/v2.1.1.tar.gz"; 15 + sha256 = "1k1gdx7yczz7xm096i8lk09zq6yw1yj8izx6czymfd4qqwj2y49l"; 45 16 }; 46 17 isLibrary = true; 47 18 isExecutable = true; 48 19 libraryHaskellDepends = [ 49 - ansi-terminal 50 - async 51 - attoparsec 52 - base 53 - bytestring 54 - cassava 55 - containers 56 - data-default 57 - directory 58 - extra 59 - filepath 60 - hermes-json 61 - lock-file 62 - MemoTrie 63 - mtl 64 - nix-derivation 65 - optics 66 - relude 67 - safe 68 - stm 69 - streamly-core 70 - strict 71 - strict-types 72 - terminal-size 73 - text 74 - time 75 - wcwidth 76 - word8 20 + ansi-terminal async attoparsec base bytestring cassava containers 21 + data-default directory extra filepath hermes-json lock-file 22 + MemoTrie nix-derivation optics relude safe stm streamly-core strict 23 + strict-types terminal-size text time transformers word8 77 24 ]; 78 25 executableHaskellDepends = [ 79 - ansi-terminal 80 - async 81 - attoparsec 82 - base 83 - bytestring 84 - cassava 85 - containers 86 - data-default 87 - directory 88 - extra 89 - filepath 90 - hermes-json 91 - lock-file 92 - MemoTrie 93 - mtl 94 - nix-derivation 95 - optics 96 - relude 97 - safe 98 - stm 99 - streamly-core 100 - strict 101 - strict-types 102 - terminal-size 103 - text 104 - time 105 - typed-process 106 - wcwidth 107 - word8 26 + ansi-terminal async attoparsec base bytestring cassava containers 27 + data-default directory extra filepath hermes-json lock-file 28 + MemoTrie nix-derivation optics relude safe stm streamly-core strict 29 + strict-types terminal-size text time transformers typed-process 30 + unix word8 108 31 ]; 109 32 testHaskellDepends = [ 110 - ansi-terminal 111 - async 112 - attoparsec 113 - base 114 - bytestring 115 - cassava 116 - containers 117 - data-default 118 - directory 119 - extra 120 - filepath 121 - hermes-json 122 - HUnit 123 - lock-file 124 - MemoTrie 125 - mtl 126 - nix-derivation 127 - optics 128 - random 129 - relude 130 - safe 131 - stm 132 - streamly-core 133 - strict 134 - strict-types 135 - terminal-size 136 - text 137 - time 138 - typed-process 139 - wcwidth 140 - word8 33 + ansi-terminal async attoparsec base bytestring cassava containers 34 + data-default directory extra filepath hermes-json HUnit lock-file 35 + MemoTrie nix-derivation optics random relude safe stm streamly-core 36 + strict strict-types terminal-size text time transformers 37 + typed-process word8 141 38 ]; 142 39 homepage = "https://github.com/maralorn/nix-output-monitor"; 143 - description = "Parses output of nix-build to show additional information"; 40 + description = "Processes output of Nix commands to show helpful and pretty information"; 144 41 license = lib.licenses.agpl3Plus; 145 42 mainProgram = "nom"; 146 - maintainers = [lib.maintainers.maralorn]; 43 + maintainers = [ lib.maintainers.maralorn ]; 147 44 }
+3 -5
pkgs/tools/nix/nix-output-monitor/update.sh
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p cabal2nix curl jq alejandra 2 + #!nix-shell -i bash -p cabal2nix curl jq 3 3 # 4 4 # This script will update the nix-output-monitor derivation to the latest version using 5 5 # cabal2nix. ··· 12 12 derivation_file="${script_dir}/generated-package.nix" 13 13 14 14 # This is the latest released version of nix-output-monitor on GitHub. 15 - new_version=$(curl --silent "https://api.github.com/repos/maralorn/nix-output-monitor/releases" | jq '.[0].tag_name' --raw-output) 15 + new_version=$(curl --silent "https://code.maralorn.de/api/v1/repos/maralorn/nix-output-monitor/releases" | jq '.[0].tag_name' --raw-output) 16 16 17 17 echo "Updating nix-output-monitor to version $new_version." 18 18 echo "Running cabal2nix and outputting to ${derivation_file}..." ··· 24 24 25 25 cabal2nix \ 26 26 --maintainer maralorn \ 27 - "https://github.com/maralorn/nix-output-monitor/archive/refs/tags/${new_version}.tar.gz" \ 27 + "https://code.maralorn.de/maralorn/nix-output-monitor/archive/${new_version}.tar.gz" \ 28 28 >> "$derivation_file" 29 - 30 - alejandra "${derivation_file}" | cat 31 29 32 30 echo "Finished."