Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub ea28ef6c 45094428

+1855 -568
+3 -2
doc/Makefile
··· 3 3 PANDOC ?= pandoc 4 4 5 5 pandoc_media_dir = media 6 + # NOTE: Keep in sync with NixOS manual (/nixos/doc/manual/md-to-db.sh). 6 7 # TODO: Remove raw-attribute when we can get rid of DocBook altogether. 7 8 pandoc_commonmark_enabled_extensions = +attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute 8 9 pandoc_flags = --extract-media=$(pandoc_media_dir) \ ··· 101 102 %.section.xml: %.section.md 102 103 $(PANDOC) $^ -t docbook \ 103 104 $(pandoc_flags) \ 104 - | cat > $@ 105 + -o $@ 105 106 106 107 %.chapter.xml: %.chapter.md 107 108 $(PANDOC) $^ -t docbook \ 108 109 --top-level-division=chapter \ 109 110 $(pandoc_flags) \ 110 - | cat > $@ 111 + -o $@
+17 -1
maintainers/maintainer-list.nix
··· 6515 6515 name = "Matthias C. M. Troffaes"; 6516 6516 }; 6517 6517 McSinyx = { 6518 - email = "vn.mcsinyx@gmail.com"; 6518 + email = "mcsinyx@disroot.org"; 6519 6519 github = "McSinyx"; 6520 6520 githubId = 13689192; 6521 6521 name = "Nguyễn Gia Phong"; 6522 + keys = [{ 6523 + longkeyid = "rsa3072/0x27148B2C06A2224B"; 6524 + fingerprint = "E90E 11B8 0493 343B 6132 E394 2714 8B2C 06A2 224B"; 6525 + }]; 6522 6526 }; 6523 6527 mcwitt = { 6524 6528 email = "mcwitt@gmail.com"; ··· 9864 9868 githubId = 39732259; 9865 9869 name = "Justus K"; 9866 9870 }; 9871 + SubhrajyotiSen = { 9872 + email = "subhrajyoti12@gmail.com"; 9873 + github = "SubhrajyotiSen"; 9874 + githubId = 12984845; 9875 + name = "Subhrajyoti Sen"; 9876 + }; 9867 9877 suhr = { 9868 9878 email = "suhr@i2pmail.org"; 9869 9879 github = "suhr"; ··· 10665 10675 github = "uri-canva"; 10666 10676 githubId = 33242106; 10667 10677 name = "Uri Baghin"; 10678 + }; 10679 + urlordjames = { 10680 + email = "urlordjames@gmail.com"; 10681 + github = "urlordjames"; 10682 + githubId = 32751441; 10683 + name = "urlordjames"; 10668 10684 }; 10669 10685 uskudnik = { 10670 10686 email = "urban.skudnik@gmail.com";
+7 -7
nixos/doc/manual/from_md/administration/boot-problems.section.xml
··· 3 3 <para> 4 4 If NixOS fails to boot, there are a number of kernel command line 5 5 parameters that may help you to identify or fix the issue. You can 6 - add these parameters in the GRUB boot menu by pressing 7 - <quote>e</quote> to modify the selected boot entry and editing the 8 - line starting with <literal>linux</literal>. The following are some 9 - useful kernel command line parameters that are recognised by the 10 - NixOS boot scripts or by systemd: 6 + add these parameters in the GRUB boot menu by pressing “e” to modify 7 + the selected boot entry and editing the line starting with 8 + <literal>linux</literal>. The following are some useful kernel 9 + command line parameters that are recognised by the NixOS boot 10 + scripts or by systemd: 11 11 </para> 12 12 <variablelist> 13 13 <varlistentry> ··· 44 44 <para> 45 45 Like <literal>boot.debug1</literal>, but runs stage1 until 46 46 kernel modules are loaded and device nodes are created. This 47 - may help with e.g. making the keyboard work. 47 + may help with e.g. making the keyboard work. 48 48 </para> 49 49 </listitem> 50 50 </varlistentry> ··· 117 117 if you’d chosen <quote>ignore the error and continue</quote>. 118 118 </para> 119 119 <para> 120 - If no login prompts or X11 login screens appear (e.g. due to hanging 120 + If no login prompts or X11 login screens appear (e.g. due to hanging 121 121 dependencies), you can press Alt+ArrowUp. If you’re lucky, this will 122 122 start rescue mode (described above). (Also note that since most 123 123 units have a 90-second timeout before systemd gives up on them, the
+6 -6
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 1 - <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="release-21.11"> 2 - <title>Release 21.11 (<quote>?</quote>, 2021.11/??)</title> 1 + <section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="sec-release-21.11"> 2 + <title>Release 21.11 (“?”, 2021.11/??)</title> 3 3 <para> 4 4 In addition to numerous new and upgraded packages, this release has 5 5 the following highlights: ··· 12 12 </para> 13 13 </listitem> 14 14 </itemizedlist> 15 - <section xml:id="highlights"> 15 + <section xml:id="sec-release-21.11-highlights"> 16 16 <title>Highlights</title> 17 17 <itemizedlist spacing="compact"> 18 18 <listitem> ··· 22 22 </listitem> 23 23 </itemizedlist> 24 24 </section> 25 - <section xml:id="new-services"> 25 + <section xml:id="sec-release-21.11-new-services"> 26 26 <title>New Services</title> 27 27 <itemizedlist> 28 28 <listitem> ··· 50 50 </listitem> 51 51 </itemizedlist> 52 52 </section> 53 - <section xml:id="backward-incompatibilities"> 53 + <section xml:id="sec-release-21.11-incompatibilities"> 54 54 <title>Backward Incompatibilities</title> 55 55 <itemizedlist> 56 56 <listitem> ··· 311 311 </listitem> 312 312 </itemizedlist> 313 313 </section> 314 - <section xml:id="other-notable-changes"> 314 + <section xml:id="sec-release-21.11-notable-changes"> 315 315 <title>Other Notable Changes</title> 316 316 <para> 317 317 </para>
+14 -8
nixos/doc/manual/md-to-db.sh
··· 8 8 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 9 9 pushd $DIR 10 10 11 + # NOTE: Keep in sync with Nixpkgs manual (/doc/Makefile). 12 + # TODO: Remove raw-attribute when we can get rid of DocBook altogether. 13 + pandoc_commonmark_enabled_extensions=+attributes+fenced_divs+footnotes+bracketed_spans+definition_lists+pipe_tables+raw_attribute 14 + pandoc_flags=( 15 + # media extraction and diagram-generator.lua not needed 16 + "--lua-filter=$DIR/../../../doc/labelless-link-is-xref.lua" 17 + -f "commonmark${pandoc_commonmark_enabled_extensions}+smart" 18 + -t docbook 19 + ) 20 + 11 21 OUT="$DIR/from_md" 12 22 mapfile -t MD_FILES < <(find . -type f -regex '.*\.md$') 13 23 14 24 for mf in ${MD_FILES[*]}; do 15 25 if [ "${mf: -11}" == ".section.md" ]; then 16 26 mkdir -p $(dirname "$OUT/$mf") 17 - pandoc "$mf" -t docbook \ 18 - --extract-media=media \ 19 - -f markdown+smart \ 20 - | cat > "$OUT/${mf%".section.md"}.section.xml" 27 + pandoc "$mf" "${pandoc_flags[@]}" \ 28 + -o "$OUT/${mf%".section.md"}.section.xml" 21 29 fi 22 30 23 31 if [ "${mf: -11}" == ".chapter.md" ]; then 24 32 mkdir -p $(dirname "$OUT/$mf") 25 - pandoc "$mf" -t docbook \ 33 + pandoc "$mf" "${pandoc_flags[@]}" \ 26 34 --top-level-division=chapter \ 27 - --extract-media=media \ 28 - -f markdown+smart \ 29 - | cat > "$OUT/${mf%".chapter.md"}.chapter.xml" 35 + -o "$OUT/${mf%".chapter.md"}.chapter.xml" 30 36 fi 31 37 done 32 38
+5 -5
nixos/doc/manual/release-notes/rl-2111.section.md
··· 1 - # Release 21.11 (“?”, 2021.11/??) {#release-21.11} 1 + # Release 21.11 (“?”, 2021.11/??) {#sec-release-21.11} 2 2 3 3 In addition to numerous new and upgraded packages, this release has the following highlights: 4 4 5 5 * Support is planned until the end of April 2022, handing over to 22.05. 6 6 7 - ## Highlights 7 + ## Highlights {#sec-release-21.11-highlights} 8 8 9 9 * PHP now defaults to PHP 8.0, updated from 7.4. 10 10 11 - ## New Services 11 + ## New Services {#sec-release-21.11-new-services} 12 12 13 13 * [geoipupdate](https://github.com/maxmind/geoipupdate), a GeoIP 14 14 database updater from MaxMind. Available as ··· 22 22 implementation of the Common Address Redundancy Protocol (CARP). Available as 23 23 [networking.ucarp](options.html#opt-networking.ucarp.enable). 24 24 25 - ## Backward Incompatibilities 25 + ## Backward Incompatibilities {#sec-release-21.11-incompatibilities} 26 26 27 27 * The `staticjinja` package has been upgraded from 1.0.4 to 2.0.0 28 28 ··· 85 85 - GitVersionTree 86 86 - NDeskOptions 87 87 88 - ## Other Notable Changes 88 + ## Other Notable Changes {#sec-release-21.11-notable-changes}
+76 -14
pkgs/applications/audio/adlplug/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, pkg-config, libjack2, alsa-lib 2 - , freetype, libX11, libXrandr, libXinerama, libXext, libXcursor 3 - , fetchpatch, fmt 4 - , adlplugChip ? "-DADLplug_CHIP=OPL3" 5 - , pname ? "ADLplug" }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , fetchpatch 5 + , cmake 6 + , pkg-config 7 + , fmt 8 + , liblo 9 + , alsa-lib 10 + , freetype 11 + , libX11 12 + , libXrandr 13 + , libXinerama 14 + , libXext 15 + , libXcursor 16 + , libobjc 17 + , Cocoa 18 + , CoreServices 19 + , WebKit 20 + , DiscRecording 21 + 22 + # Enabling JACK requires a JACK server at runtime, no fallback mechanism 23 + , withJack ? false, jack 24 + 25 + , type ? "ADL" 26 + }: 6 27 28 + assert lib.assertOneOf "type" type [ "ADL" "OPN" ]; 29 + let 30 + chip = { 31 + ADL = "OPL3"; 32 + OPN = "OPN2"; 33 + }.${type}; 34 + mainProgram = "${type}plug"; 35 + in 7 36 stdenv.mkDerivation rec { 8 - inherit pname; 37 + pname = "${lib.strings.toLower type}plug"; 9 38 version = "1.0.2"; 10 39 11 40 src = fetchFromGitHub { 12 41 owner = "jpcima"; 13 42 repo = "ADLplug"; 14 43 rev = "v${version}"; 15 - sha256 = "0mqx4bzri8s880v7jwd24nb93m5i3aklqld0b3h0hjnz0lh2qz0f"; 16 44 fetchSubmodules = true; 45 + sha256 = "0mqx4bzri8s880v7jwd24nb93m5i3aklqld0b3h0hjnz0lh2qz0f"; 17 46 }; 18 47 19 48 patches = [ ··· 25 54 }) 26 55 ]; 27 56 28 - cmakeFlags = [ adlplugChip "-DADLplug_USE_SYSTEM_FMT=ON" ]; 57 + cmakeFlags = [ 58 + "-DADLplug_CHIP=${chip}" 59 + "-DADLplug_USE_SYSTEM_FMT=ON" 60 + "-DADLplug_Jack=${if withJack then "ON" else "OFF"}" 61 + ]; 62 + 63 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [ 64 + "-isystem ${CoreServices}/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers" 65 + ]); 66 + 67 + nativeBuildInputs = [ 68 + cmake 69 + pkg-config 70 + ]; 29 71 30 72 buildInputs = [ 31 - libjack2 alsa-lib freetype libX11 libXrandr libXinerama libXext 73 + fmt 74 + liblo 75 + ] ++ lib.optionals stdenv.hostPlatform.isLinux [ 76 + alsa-lib 77 + freetype 78 + libX11 79 + libXrandr 80 + libXinerama 81 + libXext 32 82 libXcursor 33 - ]; 34 - nativeBuildInputs = [ cmake pkg-config fmt ]; 83 + ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ 84 + libobjc 85 + Cocoa 86 + CoreServices 87 + WebKit 88 + DiscRecording 89 + ] ++ lib.optional withJack jack; 90 + 91 + postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' 92 + mkdir $out/Applications 93 + mv $out/bin/${mainProgram}.app $out/Applications/ 94 + ln -s $out/{Applications/${mainProgram}.app/Contents/MacOS,bin}/${mainProgram} 95 + ''; 35 96 36 97 meta = with lib; { 37 - description = "OPL3 and OPN2 FM Chip Synthesizer"; 98 + inherit mainProgram; 99 + description = "${chip} FM Chip Synthesizer"; 38 100 homepage = src.meta.homepage; 39 101 license = licenses.boost; 40 - platforms = platforms.linux; 41 - maintainers = with maintainers; [ ]; 102 + platforms = platforms.all; 103 + maintainers = with maintainers; [ OPNA2608 ]; 42 104 }; 43 105 }
+5 -1
pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
··· 34 34 ldLibraryPath = lib.strings.makeLibraryPath buildInputs; 35 35 36 36 installPhase = '' 37 + runHook preInstall 38 + 37 39 mkdir -p $out/bin 38 40 cp -r opt/bitwig-studio $out/libexec 39 41 ln -s $out/libexec/bitwig-studio $out/bin/bitwig-studio ··· 41 43 substitute usr/share/applications/bitwig-studio.desktop \ 42 44 $out/share/applications/bitwig-studio.desktop \ 43 45 --replace /usr/bin/bitwig-studio $out/bin/bitwig-studio 46 + 47 + runHook postInstall 44 48 ''; 45 49 46 50 postFixup = '' ··· 57 61 wrapProgram $f \ 58 62 "''${gappsWrapperArgs[@]}" \ 59 63 --prefix PATH : "${binPath}" \ 60 - --prefix LD_LIBRARY_PATH : "${ldLibraryPath}" 64 + --suffix LD_LIBRARY_PATH : "${ldLibraryPath}" 61 65 done 62 66 63 67 '';
+33 -20
pkgs/applications/audio/munt/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, cmake, qtbase, alsa-lib, makeDesktopItem, libjack2 }: 1 + { lib 2 + , mkDerivation 3 + , stdenv 4 + , fetchFromGitHub 5 + , makeDesktopItem 6 + , cmake 7 + , pkg-config 8 + , qtbase 9 + , glib 10 + , alsa-lib 11 + , withJack ? stdenv.hostPlatform.isUnix, jack 12 + }: 2 13 3 14 let 4 - desktopItem = makeDesktopItem rec { 5 - name = "Munt"; 6 - exec = "mt32emu-qt"; 7 - desktopName = name; 8 - genericName = "Munt synthesiser"; 9 - categories = "Audio;AudioVideo;"; 10 - }; 11 - in mkDerivation rec { 12 - version = "2.4.1"; 15 + mainProgram = "mt32emu-qt"; 16 + in 17 + mkDerivation rec { 13 18 pname = "munt"; 19 + version = "2.5.0"; 14 20 15 21 src = fetchFromGitHub { 16 22 owner = pname; 17 23 repo = pname; 18 - rev = with lib.versions; "libmt32emu_${major version}_${minor version}_${patch version}"; 19 - sha256 = "0bszhkbz24hhx32f973l6h5lkyn4lxhqrckiwmv765d1sba8n5bk"; 24 + rev = "munt_${lib.replaceChars [ "." ] [ "_" ] version}"; 25 + sha256 = "1lknq2a72gv1ddhzr7f967wpa12lh805jj4gjacdnamgrc1h22yn"; 20 26 }; 21 - 22 - postInstall = '' 23 - ln -s ${desktopItem}/share/applications $out/share 24 - ''; 25 27 26 28 dontFixCmake = true; 27 29 28 - nativeBuildInputs = [ cmake ]; 29 - buildInputs = [ qtbase alsa-lib libjack2 ]; 30 + nativeBuildInputs = [ cmake pkg-config ]; 31 + 32 + buildInputs = [ qtbase glib ] 33 + ++ lib.optional stdenv.hostPlatform.isLinux alsa-lib 34 + ++ lib.optional withJack jack; 35 + 36 + postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' 37 + mkdir $out/Applications 38 + mv $out/bin/${mainProgram}.app $out/Applications/ 39 + wrapQtApp $out/Applications/${mainProgram}.app/Contents/MacOS/${mainProgram} 40 + ln -s $out/{Applications/${mainProgram}.app/Contents/MacOS,bin}/${mainProgram} 41 + ''; 30 42 31 43 meta = with lib; { 44 + inherit mainProgram; 32 45 description = "Multi-platform software synthesiser emulating Roland MT-32, CM-32L, CM-64 and LAPC-I devices"; 33 46 homepage = "http://munt.sourceforge.net/"; 34 47 license = with licenses; [ lgpl21 gpl3 ]; 35 - platforms = platforms.linux; 36 - maintainers = with maintainers; [ ]; 48 + platforms = platforms.all; 49 + maintainers = with maintainers; [ OPNA2608 ]; 37 50 }; 38 51 }
+7 -8
pkgs/applications/audio/openmpt123/default.nix
··· 1 1 { config, lib, stdenv, fetchurl, zlib, pkg-config, mpg123, libogg, libvorbis, portaudio, libsndfile, flac 2 2 , usePulseAudio ? config.pulseaudio or false, libpulseaudio }: 3 3 4 - let 5 - version = "0.5.8"; 6 - in stdenv.mkDerivation { 4 + stdenv.mkDerivation rec { 7 5 pname = "openmpt123"; 8 - inherit version; 6 + version = "0.5.9"; 9 7 10 8 src = fetchurl { 11 9 url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz"; 12 - sha256 = "sha256-KeLCEXS3P2fyul7naAjWLxgrEw5PcE7i2a6Cg5gtis0="; 10 + sha256 = "0h86p8mnpm98vc4v6jbvrmm02fch7dnn332i26fg3a2s1738m04d"; 13 11 }; 14 12 15 13 enableParallelBuilding = true; 16 - doCheck = true; 17 14 18 15 nativeBuildInputs = [ pkg-config ]; 19 16 buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ] ··· 21 18 22 19 configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio"; 23 20 21 + doCheck = true; 22 + 24 23 meta = with lib; { 25 24 description = "A cross-platform command-line based module file player"; 26 25 homepage = "https://lib.openmpt.org/libopenmpt/"; 27 26 license = licenses.bsd3; 28 - maintainers = with maintainers; [ ]; 29 - platforms = platforms.linux; 27 + maintainers = with maintainers; [ OPNA2608 ]; 28 + platforms = platforms.unix; 30 29 }; 31 30 }
+62 -13
pkgs/applications/audio/uade123/default.nix
··· 1 - { lib, stdenv, fetchurl, which, libao, pkg-config }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , pkg-config 5 + , which 6 + , makeWrapper 7 + , libao 8 + , libbencodetools 9 + , sox 10 + , lame 11 + , flac 12 + , vorbis-tools 13 + }: 2 14 3 - let 4 - version = "2.13"; 5 - in stdenv.mkDerivation { 15 + stdenv.mkDerivation { 6 16 pname = "uade123"; 7 - inherit version; 8 - src = fetchurl { 9 - url = "http://zakalwe.fi/uade/uade2/uade-${version}.tar.bz2"; 10 - sha256 = "04nn5li7xy4g5ysyjjngmv5d3ibxppkbb86m10vrvadzxdd4w69v"; 17 + version = "unstable-2021-05-21"; 18 + 19 + src = fetchFromGitLab { 20 + owner = "uade-music-player"; 21 + repo = "uade"; 22 + rev = "7169a46e777d19957cd7ff8ac31843203e725ddc"; 23 + sha256 = "1dm7c924fy79y3wkb0qi71m1k6yw1x6j3whw7d0w4ka9hv6za03b"; 11 24 }; 12 - nativeBuildInputs = [ pkg-config which ]; 13 - buildInputs = [ libao ]; 25 + 26 + postPatch = '' 27 + patchShebangs . 28 + substituteInPlace src/frontends/mod2ogg/mod2ogg2.sh.in \ 29 + --replace '-e stat' '-n stat' \ 30 + --replace '/usr/local' "$out" 31 + ''; 32 + 33 + nativeBuildInputs = [ 34 + pkg-config 35 + which 36 + makeWrapper 37 + ]; 38 + 39 + buildInputs = [ 40 + libao 41 + libbencodetools 42 + sox 43 + lame 44 + flac 45 + vorbis-tools 46 + ]; 47 + 48 + configureFlags = [ 49 + "--bencode-tools-prefix=${libbencodetools}" 50 + ]; 14 51 15 52 enableParallelBuilding = true; 53 + 16 54 hardeningDisable = [ "format" ]; 17 55 56 + postInstall = '' 57 + wrapProgram $out/bin/mod2ogg2.sh \ 58 + --prefix PATH : $out/bin:${lib.makeBinPath [ sox lame flac vorbis-tools ]} 59 + # This is an old script, don't break expectations by renaming it 60 + ln -s $out/bin/mod2ogg2{.sh,} 61 + ''; 62 + 18 63 meta = with lib; { 19 64 description = "Plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API"; 20 - homepage = "http://zakalwe.fi/uade/"; 21 - license = licenses.gpl2; 22 - maintainers = [ ]; 65 + homepage = "https://zakalwe.fi/uade/"; 66 + # It's a mix of licenses. "GPL", Public Domain, "LGPL", GPL2+, BSD, LGPL21+ and source code with unknown licenses. E.g. 67 + # - hippel-coso player is "[not] under any Open Source certified license" 68 + # - infogrames player is disassembled from Andi Silvas player, unknown license 69 + # Let's make it easy and flag the whole package as unfree. 70 + license = licenses.unfree; 71 + maintainers = with maintainers; [ OPNA2608 ]; 23 72 platforms = platforms.unix; 24 73 }; 25 74 }
+4 -4
pkgs/applications/blockchains/faraday/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "faraday"; 8 - version = "0.2.3-alpha"; 8 + version = "0.2.5-alpha"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "lightninglabs"; 12 12 repo = "faraday"; 13 13 rev = "v${version}"; 14 - sha256 = "16cqaslsbwda23b5n0sfppybd3ma4ch545100ydxrwac4zhrq4kq"; 14 + sha256 = "16mz333a6awii6g46gr597j31jmgws4285s693q0b87fl1ggj2zz"; 15 15 }; 16 16 17 - vendorSha256 = "1hh99nfprlmhkc36arg3w1kxby59i2l7n258cp40niv7bjn37hrq"; 17 + vendorSha256 = "1nclmvypxp5436q6qaagp1k5bfmaia7hsykw47va0pijlsvsbmck"; 18 18 19 19 subPackages = [ "cmd/frcli" "cmd/faraday" ]; 20 20 ··· 22 22 description = "LND Channel Management Tools"; 23 23 homepage = "https://github.com/lightninglabs/faraday"; 24 24 license = licenses.mit; 25 - maintainers = with maintainers; [ proofofkeags ]; 25 + maintainers = with maintainers; [ proofofkeags prusnak ]; 26 26 }; 27 27 }
+3 -3
pkgs/applications/blockchains/go-ethereum.nix
··· 9 9 10 10 in buildGoModule rec { 11 11 pname = "go-ethereum"; 12 - version = "1.10.3"; 12 + version = "1.10.4"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "ethereum"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-85aUR7MvaPeRilC+4oj6XW2IEUvxRUsVz63tQ/Jc7xw="; 18 + sha256 = "sha256-DRlIiO3iXUsQnmOf5T9uk3560tVbS+Hrs8QtVkmllAI="; 19 19 }; 20 20 21 21 runVend = true; 22 - vendorSha256 = "sha256-8zhVQ8FUdzog7h9RBfuq8uBp0zjulXbDOLAPljp4deA="; 22 + vendorSha256 = "sha256-a/vY9iyqSM9QPs7lGFF6E7e2cMjIerVkNf5KwiWdyr0="; 23 23 24 24 doCheck = false; 25 25
+27
pkgs/applications/blockchains/lightning-loop/default.nix
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , lib 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "lightning-loop"; 8 + version = "0.14.1-beta"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "lightninglabs"; 12 + repo = "loop"; 13 + rev = "v${version}"; 14 + sha256 = "0fnbf0cryrw9yk3z1g7innv1rxxk7h2lhfakdj994l5a0pgzghmy"; 15 + }; 16 + 17 + vendorSha256 = "1i7mmf4ab4a6h08df6zlyjdnmvn44i2y3fc05hq6g1ln1bzdrz40"; 18 + 19 + subPackages = [ "cmd/loop" "cmd/loopd" ]; 20 + 21 + meta = with lib; { 22 + description = "Lightning Loop Client"; 23 + homepage = "https://github.com/lightninglabs/loop"; 24 + license = licenses.mit; 25 + maintainers = with maintainers; [ proofofkeags prusnak ]; 26 + }; 27 + }
+27
pkgs/applications/blockchains/lightning-pool/default.nix
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , lib 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "lightning-pool"; 8 + version = "0.5.0-alpha"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "lightninglabs"; 12 + repo = "pool"; 13 + rev = "v${version}"; 14 + sha256 = "0i8qkxnrx3a89aw3v0mx7przlldl8kc0ng6g1m435366y6nzdarb"; 15 + }; 16 + 17 + vendorSha256 = "04v2788w8l734n5xz6fwjbwkqlbk8q77nwncjpn7890mw75yd3rn"; 18 + 19 + subPackages = [ "cmd/pool" "cmd/poold" ]; 20 + 21 + meta = with lib; { 22 + description = "Lightning Pool Client"; 23 + homepage = "https://github.com/lightninglabs/pool"; 24 + license = licenses.mit; 25 + maintainers = with maintainers; [ proofofkeags prusnak ]; 26 + }; 27 + }
+3 -3
pkgs/applications/blockchains/lnd.nix
··· 6 6 7 7 buildGoModule rec { 8 8 pname = "lnd"; 9 - version = "0.12.1-beta"; 9 + version = "0.13.0-beta"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "lightningnetwork"; 13 13 repo = "lnd"; 14 14 rev = "v${version}"; 15 - sha256 = "0ly6909cg0qzdsp9idp1g7zqd6liw7f142d7n7vga64s1ksvv6lx"; 15 + sha256 = "0fwidjkfzzd7k891x5z7jrx2arl0kwj6vm9z2acsyy7riv4zfjbq"; 16 16 }; 17 17 18 - vendorSha256 = "00q8dydskzg4rhxnnpzpbmmvc3q4wzm8z3dps2bv0nx3fk0fmrl3"; 18 + vendorSha256 = "19myr9f5zh05y6lagd9pra60y8df7pz837310cbpq9a6zzwpdxk2"; 19 19 20 20 subPackages = ["cmd/lncli" "cmd/lnd"]; 21 21
+5 -5
pkgs/applications/editors/vscode/vscode.nix
··· 13 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 14 15 15 sha256 = { 16 - x86_64-linux = "1bj954kjwrk0nx8griy2y8gp7dys0wf610ki0jrby46mlvrmszs1"; 17 - x86_64-darwin = "1dqpz7qpnycd4b7iqg639rab3ds4m06m15rmyp7r70053qaw1s61"; 18 - aarch64-linux = "04ifmw39swdl6ybz6jpan2krsqli1kjyjnicjaisww8vhvhr2lzk"; 19 - armv7l-linux = "0y1rzn2jy4wrn2yr95v7zzyl36pj9mbz4dgvazvy465wzk5ai7b4"; 16 + x86_64-linux = "0cklp0mp7qylzrqnfbvzs308q0bzpswlqw5n98qhl1jb5783svx1"; 17 + x86_64-darwin = "04yyv0wpkzdjfiy9kj2jslhv7nc5i6nw2207vfnbzysgs55l3x63"; 18 + aarch64-linux = "1ygk51902g0q7x3r6kd3s7gi2gx86x10svpvbipl494qcyfngqzs"; 19 + armv7l-linux = "0z5rg1nl8lz7zsvml6dfz093dbyrkr4zvvfssqiyarw4n24d2mim"; 20 20 }.${system}; 21 21 in 22 22 callPackage ./generic.nix rec { 23 23 # Please backport all compatible updates to the stable release. 24 24 # This is important for the extension ecosystem. 25 - version = "1.57.0"; 25 + version = "1.57.1"; 26 26 pname = "vscode"; 27 27 28 28 executableName = "code" + lib.optionalString isInsiders "-insiders";
+97 -18
pkgs/applications/kde/kmail.nix
··· 1 - { 2 - mkDerivation, lib, kdepimTeam, 3 - extra-cmake-modules, kdoctools, 4 - akonadi-search, kbookmarks, kcalutils, kcmutils, kcompletion, kconfig, 5 - kconfigwidgets, kcoreaddons, libkdepim, 6 - kdepim-runtime, kguiaddons, ki18n, kiconthemes, kinit, kio, kldap, 7 - kmail-account-wizard, kmailtransport, knotifications, knotifyconfig, 8 - kontactinterface, kparts, kpty, kservice, ktextwidgets, ktnef, kwallet, 9 - kwidgetsaddons, kwindowsystem, kxmlgui, libgravatar, libksieve, mailcommon, 10 - messagelib, pim-sieve-editor, qtscript, qtwebengine, akonadi, kdepim-addons, 11 - qtkeychain, libsecret 1 + { mkDerivation 2 + , lib 3 + , akonadi 4 + , akonadi-import-wizard 5 + , akonadi-search 6 + , extra-cmake-modules 7 + , kaddressbook 8 + , kbookmarks 9 + , kcalutils 10 + , kcmutils 11 + , kcompletion 12 + , kconfig 13 + , kconfigwidgets 14 + , kcoreaddons 15 + , kdepim-addons 16 + , kdepim-runtime 17 + , kdepimTeam 18 + , kdoctools 19 + , kguiaddons 20 + , ki18n 21 + , kiconthemes 22 + , kinit 23 + , kio 24 + , kldap 25 + , kleopatra 26 + , kmail-account-wizard 27 + , kmailtransport 28 + , knotifications 29 + , knotifyconfig 30 + , kontactinterface 31 + , kparts 32 + , kpty 33 + , kservice 34 + , ktextwidgets 35 + , ktnef 36 + , kwallet 37 + , kwidgetsaddons 38 + , kwindowsystem 39 + , kxmlgui 40 + , libgravatar 41 + , libkdepim 42 + , libksieve 43 + , libsecret 44 + , mailcommon 45 + , messagelib 46 + , pim-data-exporter 47 + , pim-sieve-editor 48 + , qtkeychain 49 + , qtscript 50 + , qtwebengine 12 51 }: 13 52 14 53 mkDerivation { ··· 19 58 }; 20 59 nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 21 60 buildInputs = [ 22 - akonadi-search kbookmarks kcalutils kcmutils kcompletion kconfig 23 - kconfigwidgets kcoreaddons kguiaddons ki18n 24 - kiconthemes kinit kio kldap kmail-account-wizard kmailtransport libkdepim 25 - knotifications knotifyconfig kontactinterface kparts kpty kservice 26 - ktextwidgets ktnef kwidgetsaddons kwindowsystem kxmlgui libgravatar 27 - libksieve mailcommon messagelib pim-sieve-editor qtscript qtwebengine 28 - kdepim-addons qtkeychain libsecret 61 + akonadi-search 62 + kbookmarks 63 + kcalutils 64 + kcmutils 65 + kcompletion 66 + kconfig 67 + kconfigwidgets 68 + kcoreaddons 69 + kdepim-addons 70 + kguiaddons 71 + ki18n 72 + kiconthemes 73 + kinit 74 + kio 75 + kldap 76 + kmail-account-wizard 77 + kmailtransport 78 + knotifications 79 + knotifyconfig 80 + kontactinterface 81 + kparts 82 + kpty 83 + kservice 84 + ktextwidgets 85 + ktnef 86 + kwidgetsaddons 87 + kwindowsystem 88 + kxmlgui 89 + libgravatar 90 + libkdepim 91 + libksieve 92 + libsecret 93 + mailcommon 94 + messagelib 95 + pim-sieve-editor 96 + qtkeychain 97 + qtscript 98 + qtwebengine 99 + akonadi-import-wizard 100 + kaddressbook 101 + kleopatra 102 + pim-data-exporter 29 103 ]; 104 + outputs = [ "out" "doc" ]; 30 105 propagatedUserEnvPkgs = [ kdepim-runtime kwallet akonadi ]; 106 + postFixup = '' 107 + wrapProgram "$out/bin/kmail" \ 108 + --prefix PATH : "${lib.makeBinPath [ akonadi akonadi-import-wizard kaddressbook kleopatra kmail-account-wizard pim-data-exporter ]}" 109 + ''; 31 110 }
+16 -5
pkgs/applications/misc/hubstaff/default.nix
··· 1 1 { lib, stdenv, fetchurl, unzip, makeWrapper, libX11, zlib, libSM, libICE 2 2 , libXext , freetype, libXrender, fontconfig, libXft, libXinerama 3 3 , libXfixes, libXScrnSaver, libnotify, glib , gtk3, libappindicator-gtk3 4 - , curl }: 4 + , curl, writeShellScript, common-updater-scripts }: 5 5 6 6 let 7 - 8 - data = builtins.fromJSON (builtins.readFile ./revision.json); 9 - 10 - inherit (data) version url sha256; 7 + url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.5.19-9e79d1da/Hubstaff-1.5.19-9e79d1da.sh"; 8 + version = "1.5.19-9e79d1da"; 9 + sha256 = "1l4sq8cblpl1kclkx5pgy0ldfmqa3n8bvdl5qml0n78r0lpk382j"; 11 10 12 11 rpath = lib.makeLibraryPath 13 12 [ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft ··· 54 53 55 54 # Why is this needed? SEGV otherwise. 56 55 ln -s $opt/data/resources $opt/x86_64/resources 56 + ''; 57 + 58 + updateScript = writeShellScript "hubstaff-updater" '' 59 + set -eu -o pipefail 60 + 61 + installation_script_url=$(curl --fail --head --location --silent --output /dev/null --write-out %{url_effective} https://app.hubstaff.com/download/linux) 62 + 63 + version=$(echo "$installation_script_url" | sed -r 's/^https:\/\/hubstaff\-production\.s3\.amazonaws\.com\/downloads\/HubstaffClient\/Builds\/Release\/([^\/]+)\/Hubstaff.+$/\1/') 64 + 65 + sha256=$(nix-prefetch-url "$installation_script_url") 66 + 67 + ${common-updater-scripts}/bin/update-source-version hubstaff "$version" "$sha256" "$installation_script_url" 57 68 ''; 58 69 59 70 meta = with lib; {
-5
pkgs/applications/misc/hubstaff/revision.json
··· 1 - { 2 - "url": "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.5.15-28673d1c/Hubstaff-1.5.15-28673d1c.sh", 3 - "version": "1.5.15-28673d1c", 4 - "sha256": "0ging41l3a3sdj6bggh913h71gqmb8l3rplp4civpgclnfzv7fg2" 5 - }
-18
pkgs/applications/misc/hubstaff/update.sh
··· 1 - #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p nix-prefetch-git curl 3 - 4 - SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")") 5 - 6 - installation_script_url=$(curl --fail --head --location --silent --output /dev/null --write-out %{url_effective} https://app.hubstaff.com/download/linux) 7 - 8 - version=$(echo "$installation_script_url" | sed -r 's/^https:\/\/hubstaff\-production\.s3\.amazonaws\.com\/downloads\/HubstaffClient\/Builds\/Release\/([^\/]+)\/Hubstaff.+$/\1/') 9 - 10 - sha256=$(nix-prefetch-url "$installation_script_url") 11 - 12 - cat <<EOT > $SCRIPT_DIR/revision.json 13 - { 14 - "url": "$installation_script_url", 15 - "version": "$version", 16 - "sha256": "$sha256" 17 - } 18 - EOT
+48
pkgs/applications/misc/nwg-menu/default.nix
··· 1 + { lib, fetchFromGitHub 2 + , buildGoModule, pkg-config, wrapGAppsHook, gobject-introspection 3 + , gtk-layer-shell, gtk3, pango, gdk-pixbuf, atk 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "nwg-menu"; 8 + version = "unstable-2021-06-12"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "nwg-piotr"; 12 + repo = "nwg-menu"; 13 + rev = "b0746e26514a047ed9c6b975a71b7263aa39bd56"; 14 + hash = "sha256-rxyf3CfpfWnRAlIR/pl+s7LGAZbZjdtNWPPK7BecdhQ="; 15 + }; 16 + 17 + vendorSha256 = "sha256-nN5iBleK12SKY9PBiDA+tM4B8FiVGZLXbtJM2+YrEfA="; 18 + 19 + runVend = true; 20 + 21 + doCheck = false; 22 + 23 + buildInputs = [ atk gtk3 gdk-pixbuf gtk-layer-shell pango ]; 24 + nativeBuildInputs = [ pkg-config wrapGAppsHook gobject-introspection ]; 25 + 26 + prePatch = '' 27 + for file in main.go tools.go; do 28 + substituteInPlace $file --replace '/usr/share/nwg-menu' $out/share 29 + done 30 + ''; 31 + 32 + postInstall = '' 33 + mkdir -p $out/share/ 34 + cp menu-start.css $out/share/ 35 + ''; 36 + 37 + preFixup = '' 38 + gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$out/share") 39 + ''; 40 + 41 + meta = with lib; { 42 + homepage = "https://github.com/nwg-piotr/nwg-menu"; 43 + description = "MenuStart plugin for nwg-panel"; 44 + license = licenses.mit; 45 + platforms = platforms.linux; 46 + maintainers = with maintainers; [ berbiche ]; 47 + }; 48 + }
+11 -1
pkgs/applications/misc/printrun/default.nix
··· 1 - { lib, python3Packages, fetchFromGitHub }: 1 + { lib, python3Packages, fetchFromGitHub, glib, wrapGAppsHook }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "printrun"; ··· 10 10 rev = "${pname}-${version}"; 11 11 sha256 = "179x8lwrw2h7cxnkq7izny6qcb4nhjnd8zx893i77zfhzsa6kx81"; 12 12 }; 13 + 14 + nativeBuildInputs = [ glib wrapGAppsHook ]; 13 15 14 16 propagatedBuildInputs = with python3Packages; [ 15 17 appdirs cython dbus-python numpy six wxPython_4_0 psutil pyglet pyopengl pyserial ··· 27 29 for f in $out/share/applications/*.desktop; do 28 30 sed -i -e "s|/usr/|$out/|g" "$f" 29 31 done 32 + ''; 33 + 34 + dontWrapGApps = true; 35 + # https://github.com/NixOS/nixpkgs/issues/56943 36 + strictDeps = false; 37 + 38 + preFixup = '' 39 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 30 40 ''; 31 41 32 42 meta = with lib; {
+3 -3
pkgs/applications/networking/browsers/chromium/upstream-info.json
··· 1 1 { 2 2 "stable": { 3 - "version": "91.0.4472.106", 4 - "sha256": "1fxy1l2dl0f6v8566lykcng18ma6fv4nlwxmdb0hh06fgp6khpjl", 5 - "sha256bin64": "11l88fqrl1r7b02j78zgrr6kajayl8kw8mb8b91ard18w5kz1xvd", 3 + "version": "91.0.4472.114", 4 + "sha256": "0wbyiwbdazgjjgj9vs56x26q3g9r80a57gfl0f2rfl1j7xwgxiy1", 5 + "sha256bin64": "00ac1dyqxpxy1j11jvc5j35bgc629n2f2pll3912gzih4ir0vrys", 6 6 "deps": { 7 7 "gn": { 8 8 "version": "2021-04-06",
+2 -2
pkgs/applications/networking/cluster/helm/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "helm"; 5 - version = "3.6.0"; 5 + version = "3.6.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "helm"; 9 9 repo = "helm"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sVa7d69MuOjH1IhUMcXu79kEE0BKylLYx6yrOV/DExY="; 11 + sha256 = "sha256-MXMgCqdFNRMJaStoFMx8BO8OI1B7FqSETk0zW6a/vbE="; 12 12 }; 13 13 vendorSha256 = "sha256-PTAyRG6PZK+vaiheUd3oiu4iBGlnFjoCrci0CYbXjBk="; 14 14
+2 -2
pkgs/applications/networking/cluster/kubernetes/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "kubernetes"; 23 - version = "1.21.1"; 23 + version = "1.21.2"; 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "kubernetes"; 27 27 repo = "kubernetes"; 28 28 rev = "v${version}"; 29 - sha256 = "sha256-gJjCw28SqU49kIiRH+MZgeYN4VBgKVEaRPr5A/2c5Pc="; 29 + sha256 = "sha256-GAX8ODjGj5LM44KgJC0N5uuOH4z33lDWoQgImOl8/xo="; 30 30 }; 31 31 32 32 nativeBuildInputs = [ removeReferencesTo makeWrapper which go rsync installShellFiles ];
+3 -3
pkgs/applications/networking/cluster/linkerd/default.nix
··· 64 64 }; 65 65 edge = generic { 66 66 channel = "edge"; 67 - version = "21.6.2"; 68 - sha256 = "sha256-kgdKH+cIYRg5A3+wrJJ7jcY6Xl206EwBYa37PT3xn1k"; 69 - vendorSha256 = "sha256-QVLg1ZRsNQPM4lERVHpZLbd+I32JZ1pbGNSGIVTbseg="; 67 + version = "21.6.3"; 68 + sha256 = "sha256-NgfbkeVRl0AGNkZSS2nSAHp4eZ49QNSEYMuFe1G5iBY="; 69 + vendorSha256 = "sha256-rq/MHo5MG2EKZ3d937TIDXFCoWnLlQO3C/fo1bhRxCA="; 70 70 }; 71 71 }
+11 -5
pkgs/applications/networking/instant-messengers/bluejeans/default.nix
··· 38 38 , xdg-utils 39 39 }: 40 40 41 + let 42 + getFirst = n: v: builtins.concatStringsSep "." (lib.take n (lib.splitString "." v)); 43 + in 44 + 41 45 stdenv.mkDerivation rec { 42 46 pname = "bluejeans"; 43 - version = "2.21.3"; 44 - buildNumber = "2"; 47 + version = "2.22.0.87"; 45 48 46 49 src = fetchurl { 47 - url = "https://swdl.bluejeans.com/desktop-app/linux/${version}/BlueJeans_${version}.${buildNumber}.rpm"; 48 - sha256 = "sha256-a/REuxkqZmLLa7N3CUgUAdq74VMD9D10a/Sx2jOj1QA="; 50 + url = "https://swdl.bluejeans.com/desktop-app/linux/${getFirst 3 version}/BlueJeans_${version}.rpm"; 51 + sha256 = "sha256-0nobn+YcvqakwvBdkoEJrzHoL+OGym2zJ806oUabYfo="; 49 52 }; 50 53 51 54 nativeBuildInputs = [ rpmextract makeWrapper ]; ··· 106 109 --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ 107 110 opt/BlueJeans/resources/BluejeansHelper 108 111 109 - cc $localtime64_stub -shared -o "$out"/opt/BlueJeans/liblocaltime64_stub.so 112 + cc $localtime64_stub -shared -o "${placeholder "out"}"/opt/BlueJeans/liblocaltime64_stub.so 110 113 111 114 makeWrapper $out/opt/BlueJeans/bluejeans-v2 $out/bin/bluejeans \ 112 115 --set LD_LIBRARY_PATH "${libPath}":"${placeholder "out"}"/opt/BlueJeans \ ··· 119 122 patchShebangs "$out" 120 123 ''; 121 124 125 + passthru.updateScript = ./update.sh; 126 + 122 127 meta = with lib; { 123 128 description = "Video, audio, and web conferencing that works together with the collaboration tools you use every day"; 124 129 homepage = "https://www.bluejeans.com"; ··· 127 132 platforms = [ "x86_64-linux" ]; 128 133 }; 129 134 } 135 +
+12
pkgs/applications/networking/instant-messengers/bluejeans/update.sh
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i bash -p curl pup common-updater-scripts 3 + 4 + set -eu -o pipefail 5 + 6 + version="$(curl -Ls https://www.bluejeans.com/download | \ 7 + pup 'a[aria-label~="Linux"] attr{href}' | \ 8 + #output contains *.deb and *.rpm 9 + grep "\.rpm" | \ 10 + awk -F'[ ._ ]' '{printf $6"."$7"."$8"."$9"\n"}')" 11 + 12 + update-source-version bluejeans-gui "$version"
+2
pkgs/applications/networking/mailreaders/mailspring/default.nix
··· 8 8 , dpkg 9 9 , glib 10 10 , gtk3 11 + , wrapGAppsHook 11 12 , libkrb5 12 13 , libsecret 13 14 , nss ··· 28 29 nativeBuildInputs = [ 29 30 autoPatchelfHook 30 31 dpkg 32 + wrapGAppsHook 31 33 ]; 32 34 33 35 buildInputs = [
+2 -2
pkgs/applications/office/portfolio/default.nix
··· 24 24 in 25 25 stdenv.mkDerivation rec { 26 26 pname = "PortfolioPerformance"; 27 - version = "0.52.0"; 27 + version = "0.53.1"; 28 28 29 29 src = fetchurl { 30 30 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 31 - sha256 = "1pvjckh7z803piqyzrvk54jd43f2vcyx20zjcgmq1va8jc3q69k1"; 31 + sha256 = "0hddq1nijxhr6kgf7gydw0nh07lh86fs8srkhm29ik4hmv8ch19p"; 32 32 }; 33 33 34 34 nativeBuildInputs = [
+10 -17
pkgs/applications/science/math/gurobi/default.nix
··· 1 - { stdenv, lib, fetchurl, autoPatchelfHook, python2 }: 1 + { stdenv, lib, fetchurl, autoPatchelfHook, python3 }: 2 2 3 - let 4 - majorVersion = "8.1"; 5 - in stdenv.mkDerivation rec { 3 + stdenv.mkDerivation rec { 6 4 pname = "gurobi"; 7 - version = "${majorVersion}.0"; 5 + version = "9.1.2"; 8 6 9 - src = with lib; fetchurl { 10 - url = "http://packages.gurobi.com/${versions.majorMinor version}/gurobi${version}_linux64.tar.gz"; 11 - sha256 = "1yjqbzqnq4jjkjm616d36bgd3rmqr0a1ii17n0prpdjzmdlq63dz"; 7 + src = fetchurl { 8 + url = "https://packages.gurobi.com/${lib.versions.majorMinor version}/gurobi${version}_linux64.tar.gz"; 9 + sha256 = "7f60bd675f79476bb2b32cd632aa1d470f8246f2b033b7652d8de86f6e7e429b"; 12 10 }; 13 11 14 12 sourceRoot = "gurobi${builtins.replaceStrings ["."] [""] version}/linux64"; 15 13 16 14 nativeBuildInputs = [ autoPatchelfHook ]; 17 - buildInputs = [ (python2.withPackages (ps: [ ps.gurobipy ])) ]; 15 + buildInputs = [ (python3.withPackages (ps: [ ps.gurobipy ])) ]; 18 16 19 17 strictDeps = true; 20 18 21 - buildPhase = '' 22 - cd src/build 23 - make 24 - cd ../.. 25 - ''; 19 + makeFlags = [ "--directory=src/build" ]; 26 20 27 21 installPhase = '' 28 22 mkdir -p $out/bin 29 23 cp bin/* $out/bin/ 30 - rm $out/bin/gurobi.env 31 24 rm $out/bin/gurobi.sh 32 - rm $out/bin/python2.7 25 + rm $out/bin/python* 33 26 34 27 cp lib/gurobi.py $out/bin/gurobi.sh 35 28 ··· 48 41 ln -s $out/lib/gurobi-javadoc.jar $out/share/java/ 49 42 ''; 50 43 51 - passthru.libSuffix = lib.replaceStrings ["."] [""] majorVersion; 44 + passthru.libSuffix = lib.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor version); 52 45 53 46 meta = with lib; { 54 47 description = "Optimization solver for mathematical programming";
+1
pkgs/applications/video/mplayer/default.nix
··· 205 205 optional fontconfigSupport "-lfontconfig" 206 206 ++ optional fribidiSupport "-lfribidi" 207 207 ++ optionals x11Support [ "-lX11" "-lXext" ] 208 + ++ optional x264Support "-lx264" 208 209 ++ [ "-lfreetype" ] 209 210 ); 210 211
+6 -2
pkgs/common-updater/unstable-updater.nix
··· 1 - { writeShellScript 1 + { lib 2 + , writeShellScript 2 3 , coreutils 3 4 , git 4 5 , nix ··· 8 9 # This is an updater for unstable packages that should always use the latest 9 10 # commit. 10 11 { url ? null # The git url, if empty it will be set to src.url 12 + , branch ? null 11 13 }: 12 14 13 15 let ··· 25 27 26 28 # Get info about HEAD from a shallow git clone 27 29 tmpdir="$(${coreutils}/bin/mktemp -d)" 28 - ${git}/bin/git clone --bare --depth=1 "$url" "$tmpdir" 30 + ${git}/bin/git clone --bare --depth=1 \ 31 + ${lib.optionalString (branch != null) "--branch ${branch}"} \ 32 + "$url" "$tmpdir" 29 33 pushd "$tmpdir" 30 34 commit_date="$(${git}/bin/git show -s --pretty='format:%cs')" 31 35 commit_sha="$(${git}/bin/git show -s --pretty='format:%H')"
+1 -1
pkgs/desktops/xfce/applications/catfish/default.nix
··· 9 9 10 10 src = fetchurl { 11 11 url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 12 - sha256 = "0fg89946z6n8njxn4mv29jksw8yavg8vypsljn9031pjwl3fmh2q"; 12 + sha256 = "sha256-WMDqBuXyhgGSlVRfv9HbyiOup0xiV2K7tMiab0hK6Dk="; 13 13 }; 14 14 15 15 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/applications/gigolo/default.nix
··· 6 6 version = "0.5.2"; 7 7 odd-unstable = false; 8 8 9 - sha256 = "8UDb4H3zxRKx2y+MRsozQoR3es0fs5ooR/5wBIE11bY="; 9 + sha256 = "sha256-8UDb4H3zxRKx2y+MRsozQoR3es0fs5ooR/5wBIE11bY="; 10 10 11 11 buildInputs = [ gtk3 glib ]; 12 12
+1 -1
pkgs/desktops/xfce/applications/mousepad/default.nix
··· 6 6 version = "0.5.5"; 7 7 odd-unstable = false; 8 8 9 - sha256 = "1c985xb3395bn1024qhqqdnlkbn02zldsnybxsw49xqh55pa4a2n"; 9 + sha256 = "sha256-ViiibikQ90S47stb3egXwK5JbcMYYiJAsKukMVYvKLE="; 10 10 11 11 nativeBuildInputs = [ gobject-introspection ]; 12 12
+2 -2
pkgs/desktops/xfce/applications/orage/default.nix
··· 13 13 14 14 src = fetchurl { 15 15 url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 16 - sha256 = "0qlhvnl2m33vfxqlbkic2nmfpwyd4mq230jzhs48cg78392amy9w"; 16 + sha256 = "sha256-PPmqRBroPIaIhl+CIXAlzfPrqhUszkVxd3uMKqjdkGI="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ]; ··· 34 34 (fetchpatch { 35 35 name = "fix-libical3.patch"; 36 36 url = "https://aur.archlinux.org/cgit/aur.git/plain/libical3.patch?h=orage-4.10"; 37 - sha256 = "1l8s106mcidmbx2p8c2pi8v9ngbv2x3fsgv36j8qk8wyd4qd1jbf"; 37 + sha256 = "sha256-bsnQMGmeo4mRNGM/7UYXez2bNopXMHRFX7VFVg0IGtE="; 38 38 }) 39 39 ]; 40 40
+1 -1
pkgs/desktops/xfce/applications/parole/default.nix
··· 9 9 pname = "parole"; 10 10 version = "4.16.0"; 11 11 12 - sha256 = "07hcnbcd56lq7z3gq1cnk71ppy98hwdvlfp5z3zlc55cqrry26zm"; 12 + sha256 = "sha256-9Rvhc8asFEb/+OU6uhuHKPl7w5mWBfzGP5ia0tiyDB4="; 13 13 14 14 postPatch = '' 15 15 substituteInPlace src/plugins/mpris2/Makefile.am \
+1 -1
pkgs/desktops/xfce/applications/ristretto/default.nix
··· 6 6 pname = "ristretto"; 7 7 version = "0.11.0"; 8 8 9 - sha256 = "07np4n6kg6lpd7acrb4aga3l6502c8lhjzf867b38n90cx1nh5gf"; 9 + sha256 = "sha256-7hVoQ2cgWTTWMch9CSliAhRDh3qKrMzUaZeaN40l1x4="; 10 10 11 11 buildInputs = [ glib gtk3 libexif libxfce4ui libxfce4util xfconf ]; 12 12
+1 -1
pkgs/desktops/xfce/applications/xfburn/default.nix
··· 5 5 pname = "xfburn"; 6 6 version = "0.6.2"; 7 7 8 - sha256 = "02axhsbbsvd31jb0xs1d2qxr614qb29pajv0sm2p1n1c2cv2fjh1"; 8 + sha256 = "sha256-AUonNhMs2HBF1WBLdZNYmASTOxYt6A6WDKNtvZaGXQk="; 9 9 10 10 nativeBuildInputs = [ libxslt docbook_xsl ]; 11 11 buildInputs = [ exo gtk3 libburn libisofs libxfce4ui ];
+1 -1
pkgs/desktops/xfce/applications/xfce4-dict/default.nix
··· 5 5 pname = "xfce4-dict"; 6 6 version = "0.8.4"; 7 7 8 - sha256 = "0gm5gwqxhnv3qz9ggf8dj1sq5s72xcliidkyip9l91msx03hfjah"; 8 + sha256 = "sha256-UEkHB+i6hkTTjX62GCnr4uiCdZANuffSx2Nb2DF/pT4="; 9 9 10 10 patches = [ ./configure-gio.patch ]; 11 11
+1 -1
pkgs/desktops/xfce/applications/xfce4-notifyd/default.nix
··· 6 6 pname = "xfce4-notifyd"; 7 7 version = "0.6.2"; 8 8 9 - sha256 = "1q8n7dffyqbfyy6vpqlmnsfpavlc7iz6hhv1h27fkwzswy2rx28s"; 9 + sha256 = "sha256-Gomehef68+mOgGFDaH48jG51nbaV4ruN925h71w7FuE="; 10 10 11 11 buildInputs = [ exo gtk3 glib libnotify libxfce4ui libxfce4util xfce4-panel xfconf ]; 12 12
+1 -1
pkgs/desktops/xfce/applications/xfce4-screenshooter/default.nix
··· 6 6 version = "1.9.9"; 7 7 odd-unstable = false; 8 8 9 - sha256 = "1myzm9sk968bcl9yqh6zyaa3ck42rw01hbcqn8z4sipiwsbhkrj0"; 9 + sha256 = "sha256-QOYJl+bxRk0+spgtGADPgkw2lPLfQOwTZQuZNHWq39c="; 10 10 11 11 buildInputs = [ exo gtk3 libsoup libxfce4ui libxfce4util xfce4-panel glib-networking ]; 12 12
+1 -1
pkgs/desktops/xfce/applications/xfce4-taskmanager/default.nix
··· 5 5 pname = "xfce4-taskmanager"; 6 6 version = "1.4.2"; 7 7 8 - sha256 = "1l7k00y3d9j38g4hxjrcrh1y4s6s77sq4sjcadsbpzs6zdf05hld"; 8 + sha256 = "sha256-jcICXPtG/7t0U0xqgvU52mjiA8wsyw7JQ0OmNjwA89A="; 9 9 10 10 nativeBuildInputs = [ exo ]; 11 11 buildInputs = [ gtk3 libwnck3 libXmu ];
+1 -1
pkgs/desktops/xfce/applications/xfce4-terminal/default.nix
··· 5 5 pname = "xfce4-terminal"; 6 6 version = "0.8.10"; 7 7 8 - sha256 = "0v58qcrdpqpd2nbwlc4ra7j9nkvfzfhb1zcp1kggbn627q86i0ql"; 8 + sha256 = "sha256-FINoED7C2PXeDJf9sKD7bk+b5FGZMMqXFe3i2zLDqGw="; 9 9 10 10 nativeBuildInputs = [ libxslt docbook_xml_dtd_45 docbook_xsl ]; 11 11
+1 -1
pkgs/desktops/xfce/applications/xfce4-volumed-pulse/default.nix
··· 5 5 pname = "xfce4-volumed-pulse"; 6 6 version = "0.2.3"; 7 7 8 - sha256 = "1rsjng9qmq7vzrx5bfxq76h63y501cfl1mksrxkf1x39by9r628j"; 8 + sha256 = "sha256-EgmTk19p9OBmz3rWQB0LoPhhoDm4u1V6/vvgitOzUuc="; 9 9 10 10 buildInputs = [ gtk3 libnotify libpulseaudio keybinder3 xfconf ]; 11 11
+1 -1
pkgs/desktops/xfce/applications/xfdashboard/default.nix
··· 21 21 rev-prefix = ""; 22 22 odd-unstable = false; 23 23 24 - sha256 = "06pvzhhkr2mimsrzlkpsrzf5fxag4fhabyb3cpmgpyp5hcbgvaj3"; 24 + sha256 = "sha256-Q6r9FoPl+vvqZWP5paAjT3VX3M/6TvqzrrGKPCH8+xo="; 25 25 26 26 buildInputs = [ 27 27 clutter
+1 -1
pkgs/desktops/xfce/art/xfce4-icon-theme/default.nix
··· 10 10 11 11 src = fetchurl { 12 12 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 - sha256 = "1yk6rx3zr9grm4jwpjvqdkl13pisy7qn1wm5cqzmd2kbsn96cy6l"; 13 + sha256 = "sha256-1HhmktVrilY/ZqXyYPHxOt4R6Gx4y8slqfml/EfPZvo="; 14 14 }; 15 15 16 16 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/art/xfwm4-themes/default.nix
··· 10 10 11 11 src = fetchurl { 12 12 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 - sha256 = "0xfmdykav4rf6gdxbd6fhmrfrvbdc1yjihz7r7lba0wp1vqda51j"; 13 + sha256 = "sha256-MhTV8A6XA7XoyefDKH1gbe3scoXOtNXbMy6TraZv1XU="; 14 14 }; 15 15 16 16 passthru.updateScript = xfce.updateScript {
+1 -1
pkgs/desktops/xfce/core/exo/default.nix
··· 6 6 pname = "exo"; 7 7 version = "4.16.2"; 8 8 9 - sha256 = "0rsp92j4hkr5jrkrj8anzw9fwd96xbxzpzqzqiyjjwdiq7b29l1v"; 9 + sha256 = "sha256-O9Ak1sGxcSl9xB//+/vqJjXuEv9WIZlnliVPSKRIV2c="; 10 10 11 11 nativeBuildInputs = [ 12 12 libxslt
+1 -1
pkgs/desktops/xfce/core/garcon/default.nix
··· 5 5 pname = "garcon"; 6 6 version = "4.16.1"; 7 7 8 - sha256 = "134nm1754i12axl4si60fdwkbk2v6z108nrj9c0lb5in1zmqwa9a"; 8 + sha256 = "sha256-KimO6w82lkUBSzJbBMI3W8w1eXPARE1oVyJEUk6olow="; 9 9 10 10 nativeBuildInputs = [ gobject-introspection ]; 11 11
+1 -1
pkgs/desktops/xfce/core/libxfce4ui/default.nix
··· 6 6 pname = "libxfce4ui"; 7 7 version = "4.16.0"; 8 8 9 - sha256 = "0a9wfdpsv83giwv6kcidvpd6c665aa7sv6f2l1q6qcq214vb0rk2"; 9 + sha256 = "sha256-YmawNgkCM2xwoMKZrY9SxRhm2t0tsmk2j2+grW9zPCk="; 10 10 11 11 nativeBuildInputs = [ gobject-introspection vala ]; 12 12 buildInputs = [ gtk3 libstartup_notification libgtop epoxy xfconf ];
+1 -1
pkgs/desktops/xfce/core/libxfce4util/default.nix
··· 5 5 pname = "libxfce4util"; 6 6 version = "4.16.0"; 7 7 8 - sha256 = "1p0snipc81dhaq5glv7c1zfq5pcvgq7nikl4ikhfm2af9picfsxb"; 8 + sha256 = "sha256-q2vH4k1OiergjITOaA9+m92C3Q/sbPoKVrAFxG60Gtw="; 9 9 10 10 nativeBuildInputs = [ gobject-introspection vala ]; 11 11
+1 -1
pkgs/desktops/xfce/core/thunar-volman/default.nix
··· 7 7 8 8 buildInputs = [ exo gtk3 libgudev libxfce4ui libxfce4util xfconf ]; 9 9 10 - sha256 = "002nkxsvcq384dgpj7lv3bmb21ks64hsq13l67z1dcjbj51hzl03"; 10 + sha256 = "sha256-A9APQ5FLshb+MXQErCExegax6hqbHnlfI2hgtnWfVgA="; 11 11 12 12 odd-unstable = false; 13 13
+1 -1
pkgs/desktops/xfce/core/thunar/default.nix
··· 23 23 pname = "thunar"; 24 24 version = "4.16.8"; 25 25 26 - sha256 = "1r7qkd6l0mgf97m1xnnizm7fkvl4a52r3hsds5z68y6myvb78p18"; 26 + sha256 = "sha256-KFx01vbVeGR+0U3DkUVRhO7pTv3R2h7qSe5VQE2b+OQ="; 27 27 28 28 nativeBuildInputs = [ 29 29 docbook_xsl
+1 -1
pkgs/desktops/xfce/core/tumbler/default.nix
··· 15 15 pname = "tumbler"; 16 16 version = "4.16.0"; 17 17 18 - sha256 = "1z4q858afj3yksim4lc96wylgvymv4cv6iw41qdxl5xd6ii2ddr4"; 18 + sha256 = "sha256-JLcmYjStF9obDoRHsxnZ1e9HPTeJUVKjnn5Ip1BBmPw="; 19 19 20 20 buildInputs = [ 21 21 ffmpegthumbnailer
+1 -1
pkgs/desktops/xfce/core/xfce4-appfinder/default.nix
··· 5 5 pname = "xfce4-appfinder"; 6 6 version = "4.16.1"; 7 7 8 - sha256 = "1r7sjdavqadrpgxqclrznds7a1c2i7mlvghx5mi6qqnh42425gsy"; 8 + sha256 = "sha256-Xr8iiCDQYmxiLR2+TeuJggV1dLM/U4b7u7kpvFWT+uQ="; 9 9 10 10 nativeBuildInputs = [ exo ]; 11 11 buildInputs = [ garcon gtk3 libxfce4ui libxfce4util xfconf ];
+1 -1
pkgs/desktops/xfce/core/xfce4-dev-tools/default.nix
··· 15 15 pname = "xfce4-dev-tools"; 16 16 version = "4.16.0"; 17 17 18 - sha256 = "0w47npi1np9vb7lhzjr680aa1xb8ch6kcbg0l0bqnpm0y0jmvgz6"; 18 + sha256 = "sha256-5r9dJfCgXosXoOAtNg1kaPWgFEAmyw/pWTtdG+K1h3A="; 19 19 20 20 nativeBuildInputs = [ 21 21 autoreconfHook
+1 -1
pkgs/desktops/xfce/core/xfce4-panel/default.nix
··· 18 18 pname = "xfce4-panel"; 19 19 version = "4.16.3"; 20 20 21 - sha256 = "085hxllsf792sgi8nn0qjfj5vclbrw2dgrgzl6gy55lxcbhkml9x"; 21 + sha256 = "sha256-PdE64WKdluKfof/l1wTPi7JdpJMYWIvi0yIdpyntsCA="; 22 22 23 23 nativeBuildInputs = [ 24 24 gobject-introspection
+1 -1
pkgs/desktops/xfce/core/xfce4-power-manager/default.nix
··· 6 6 pname = "xfce4-power-manager"; 7 7 version = "4.16.0"; 8 8 9 - sha256 = "1rfw07xbv83rfb0mz3ayanlcvnaq7xpl2znsyya0hspysvavwks2"; 9 + sha256 = "sha256-Qk++1db+agiU99p+QW8/WNnNqFVejV/BcnmgvfoB3OU="; 10 10 11 11 nativeBuildInputs = [ automakeAddFlags exo ]; 12 12 buildInputs = [ gtk3 libnotify libxfce4ui libxfce4util upower xfconf ];
+1 -1
pkgs/desktops/xfce/core/xfce4-session/default.nix
··· 5 5 pname = "xfce4-session"; 6 6 version = "4.16.0"; 7 7 8 - sha256 = "0b8vkcqn2arjp6qdwmzr0f84n8fjgy2kbf9h4gq03400ar1l111c"; 8 + sha256 = "sha256-LIRAQ1YAkAHwIzC5NYV/0iFLkAP5V96wuTIrYTGbGy0="; 9 9 10 10 buildInputs = [ exo gtk3 glib libxfce4ui libxfce4util libwnck3 xfconf polkit iceauth ]; 11 11
+1 -1
pkgs/desktops/xfce/core/xfce4-settings/default.nix
··· 7 7 pname = "xfce4-settings"; 8 8 version = "4.16.2"; 9 9 10 - sha256 = "09npyqxsbrvz60bkbardqrizd5rvray5hkp84qgjzc10z4qrnk0f"; 10 + sha256 = "sha256-DkybMfkgsC8fJuhOWLzKO5f2Y8YtqzUXMH/npTv21yY="; 11 11 12 12 postPatch = '' 13 13 for f in xfsettingsd/pointers.c dialogs/mouse-settings/main.c; do
+1 -1
pkgs/desktops/xfce/core/xfconf/default.nix
··· 5 5 pname = "xfconf"; 6 6 version = "4.16.0"; 7 7 8 - sha256 = "00cp2cm1w5a6k7g0fjvqx7d2iwaqw196vii9jkx1aa7mb0f2gk63"; 8 + sha256 = "sha256-w8wnHFj1KBX6lCnGbVLgWPEo2ul4SwfemUYVHioTlwE="; 9 9 10 10 nativeBuildInputs = [ gobject-introspection vala ]; 11 11
+1 -1
pkgs/desktops/xfce/core/xfdesktop/default.nix
··· 5 5 pname = "xfdesktop"; 6 6 version = "4.16.0"; 7 7 8 - sha256 = "1znbccr25wvizmzzgdcf719y3qc9gqdi1g4rasgrmi95427lvwn3"; 8 + sha256 = "sha256-w/JNjyAlxZqfVpm8EBt+ieHhUziOtfd//XHzIjJjy/4="; 9 9 10 10 buildInputs = [ 11 11 exo
+1 -1
pkgs/desktops/xfce/core/xfwm4/default.nix
··· 7 7 pname = "xfwm4"; 8 8 version = "4.16.1"; 9 9 10 - sha256 = "1lhxm9ifkrnvn1vq3aak3kd695i1ishpryjnw617ifzawy9lj10b"; 10 + sha256 = "sha256-CwRJk+fqu3iC4Vb6fKGOIZZk2hxTqYF3sNvm6WKqHdI="; 11 11 12 12 nativeBuildInputs = [ exo librsvg ]; 13 13
+1
pkgs/desktops/xfce/mkXfceDerivation.nix
··· 57 57 in 58 58 59 59 stdenv.mkDerivation (recursiveUpdate template publicArgs // concatAttrLists [ template args ]) 60 + # TODO [ AndersonTorres ]: verify if it allows using hash attribute as an option to sha256
+3 -3
pkgs/desktops/xfce/panel-plugins/xfce4-battery-plugin/default.nix
··· 3 3 mkXfceDerivation { 4 4 category = "panel-plugins"; 5 5 pname = "xfce4-battery-plugin"; 6 - version = "1.1.3"; 7 - rev-prefix = ""; 6 + version = "1.1.4"; 7 + rev-prefix = "xfce4-battery-plugin-"; 8 8 odd-unstable = false; 9 - sha256 = "0ligdiasrfc3170kd7sif2ml6lvlpp11lbxz3xdvklqkv7p3323y"; 9 + sha256 = "sha256-LwwlyWhtVM+OHR9KtE4DPyU5V/dMOjcgSjsI3o7qfk8="; 10 10 11 11 buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; 12 12
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-clipman-plugin/default.nix
··· 4 4 category = "panel-plugins"; 5 5 pname = "xfce4-clipman-plugin"; 6 6 version = "1.6.2"; 7 - sha256 = "0pm4pzq3imc0m09mg0zk6kwcn5yzdgiqgdbpws01q3xz58jmb4a6"; 7 + sha256 = "sha256-RpFVJSq/DxyA5ne1h+Nr3xfL+DTzg1cTqIDVOPC/pF4="; 8 8 9 9 buildInputs = [ libXtst libxfce4ui xfce4-panel xfconf ]; 10 10
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-cpufreq-plugin/default.nix
··· 4 4 category = "panel-plugins"; 5 5 pname = "xfce4-cpufreq-plugin"; 6 6 version = "1.2.5"; 7 - sha256 = "1isqlfhz1ijl1h3hfvi0n4misdjsrhd7pc9h5rkaqm4vh543ggxg"; 7 + sha256 = "sha256-r783SIGbVKxmLjCxexrMWjYdK7EgbgcHDFTG8KGjWMc="; 8 8 9 9 buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; 10 10
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-cpugraph-plugin/default.nix
··· 24 24 25 25 src = fetchurl { 26 26 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 27 - sha256 = "13302psv0fzg2dsgadr8j6mb06k1bsa4zw6hxmb644vqlvcwq37v"; 27 + sha256 = "sha256-+wzM2aZ4E2JW7dDwT5ReYRqwqpEoN/V0E+87sPUVYIw="; 28 28 }; 29 29 30 30 nativeBuildInputs = [
+2 -2
pkgs/desktops/xfce/panel-plugins/xfce4-datetime-plugin/default.nix
··· 12 12 version = "0.8.1"; 13 13 14 14 rev-prefix = "xfce4-datetime-plugin-"; 15 - sha256 = "06h13bmh2sni4qbr3kfnqaa5dq5f48h4xkywrm9pa6h2nyvn4rma"; 15 + sha256 = "sha256-qmZit7cCGnVTzdzPTiAiruBWlMLWzZEXJtFqAesaARo="; 16 16 17 17 nativeBuildInputs = [ 18 18 gettext ··· 26 26 27 27 meta = with lib; { 28 28 description = "Shows the date and time in the panel, and a calendar appears when you left-click on it"; 29 - maintainers = [ maintainers.AndersonTorres ]; 29 + maintainers = [ ]; 30 30 }; 31 31 }
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-dockbarx-plugin/default.nix
··· 23 23 owner = "xuzhen"; 24 24 repo = "xfce4-dockbarx-plugin"; 25 25 rev = rev; 26 - sha256 = "0s8bljn4ga2hj480j0jwkc0npp8szbmirmcsys791gk32iq4dasn"; 26 + sha256 = "sha256-VqtGcBRjvpCO9prVHOv6Gt1rAZtcAgkQkVCoR6ykC2k="; 27 27 }; 28 28 29 29 pythonPath = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-embed-plugin/default.nix
··· 18 18 19 19 src = fetchurl { 20 20 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 21 - sha256 = "0a72kqsjjh45swimqlpyrahdnplp0383v0i4phr4n6g8c1ixyry7"; 21 + sha256 = "sha256-x2ffY2DoGUsyvCSCPdAAl17boMr+Ulwj14VAKTWe4ig="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-eyes-plugin/default.nix
··· 19 19 20 20 src = fetchurl { 21 21 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 22 - sha256 = "1iaszzkagl1mb0cdafrvlfjnjklhhs9y90517par34sjiqbq1dsd"; 22 + sha256 = "sha256-TbeAF45Sk5HVPaGA5JOGkE5ppaM7O9UYWDXQp+b/WsU="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-fsguard-plugin/default.nix
··· 19 19 20 20 src = fetchurl { 21 21 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 22 - sha256 = "Z9jmohmnEXxZaTrbxZw5puujHj8YpUmRie9O8otVQQU="; 22 + sha256 = "sha256-Z9jmohmnEXxZaTrbxZw5puujHj8YpUmRie9O8otVQQU="; 23 23 }; 24 24 25 25 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-genmon-plugin/default.nix
··· 18 18 19 19 src = fetchurl { 20 20 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 21 - sha256 = "shGf0P8Z+ik7l+yXsN6OJBeZ4IuGIYUVFnxWi9m1ATU="; 21 + sha256 = "sha256-shGf0P8Z+ik7l+yXsN6OJBeZ4IuGIYUVFnxWi9m1ATU="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin/default.nix
··· 8 8 9 9 src = fetchurl { 10 10 url = "https://git.xfce.org/archive/${pname}/snapshot/${pname}-${version}.tar.gz"; 11 - sha256 = "11k7m41jxkaqmpp5njkixw60q517xnw923mz34dnm1llx9ilvfk8"; 11 + sha256 = "sha256-aLpNY+qUhmobGb8OkbjtJxQMDO9xSlvurVjNLgOpZ4Y="; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-mailwatch-plugin/default.nix
··· 11 11 12 12 src = fetchurl { 13 13 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 - sha256 = "0bmykjhd3gs1737fl3zn5gg6f3vlncak2xqz89zv5018znz1xy90"; 14 + sha256 = "sha256-IPkevv0ogLJ/Qh93MRWzdA9n3iv2D+rOOEG/0aCcvi4="; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-mpc-plugin/default.nix
··· 11 11 12 12 src = fetchurl { 13 13 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 - sha256 = "0q3pysdp85b3c7g3b59y3c69g4nw6bvbf518lnri4lxrnsvpizpf"; 14 + sha256 = "sha256-7v54t7a5UxKzpSgUt/Yy3JKXDBs+lTXeYWMVdJv2d2A="; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
··· 9 9 owner = "HugLifeTiZ"; 10 10 repo = pname; 11 11 rev = "v${version}"; 12 - sha256 = "0l70f6mzkscsj4wr43wp5c0l2qnf85vj24cv02bjrh3bzz6wkak8"; 12 + sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ pkg-config vala_0_46 wafHook python3 ];
+3 -3
pkgs/desktops/xfce/panel-plugins/xfce4-netload-plugin/default.nix
··· 3 3 mkXfceDerivation { 4 4 category = "panel-plugins"; 5 5 pname = "xfce4-netload-plugin"; 6 - version = "1.3.2"; 7 - rev-prefix = "version-"; 6 + version = "1.4.0"; 7 + rev-prefix = "xfce4-netload-plugin-"; 8 8 odd-unstable = false; 9 - sha256 = "1py1l4z5ah4nlq8l2912k47ffsa5z7p1gbvlk7nw6b9r1x4ykdfl"; 9 + sha256 = "sha256-HasaMymMCPidYkaAUK4gvD+Ka7NJdFOTeq43gJ1G3jo="; 10 10 11 11 buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ]; 12 12
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-notes-plugin/default.nix
··· 17 17 18 18 src = fetchurl { 19 19 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 20 - sha256 = "E/kJyUi2Oflt5kz3k+t0yxd5WJIB05M+/yFO6PNasIg="; 20 + sha256 = "sha256-E/kJyUi2Oflt5kz3k+t0yxd5WJIB05M+/yFO6PNasIg="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-pulseaudio-plugin/default.nix
··· 18 18 category = "panel-plugins"; 19 19 pname = "xfce4-pulseaudio-plugin"; 20 20 version = "0.4.3"; 21 - sha256 = "1rfw2w8gl95iawiy57qlvz958dqjc8bmxnc3dma4rqzm6g46jkgq"; 21 + sha256 = "sha256-+E1pyDP140xUbYPZXhdiEjdU0t8Un+IjV7Ek+hAX3OU="; 22 22 23 23 nativeBuildInputs = [ 24 24 automakeAddFlags
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix
··· 12 12 13 13 src = fetchurl { 14 14 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 15 - sha256 = "0v44qwrwb95jrlsni1gdlc0zhymlm62w42zs3jbr5mcdc7j4mil3"; 15 + sha256 = "sha256-g8ZK5GGN1ZKXHPoLwoWptHr4AaPthWg1zbKkxTPHhGw="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-systemload-plugin/default.nix
··· 17 17 18 18 src = fetchurl { 19 19 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 20 - sha256 = "0lknh5l30qs5c69wwjcblbyhczvdbxs59fqkb8mpqbfm05w01lan"; 20 + sha256 = "sha256-VtEAeAHVLXwrWhO7VHRfbX8G/aKLSc6TYUVjMGiBdlI="; 21 21 }; 22 22 23 23 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-timer-plugin/default.nix
··· 10 10 11 11 src = fetchurl { 12 12 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 13 - sha256 = "1qr4m3n2l3rvsizsr3h7fyfajszfalqm7rhvjx2yjj8r3f8x4ljb"; 13 + sha256 = "sha256-S1LSkRsZSelFlxvmUzFV7mupnHcHjqx/1DsPKuyoJOM="; 14 14 }; 15 15 16 16 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-verve-plugin/default.nix
··· 12 12 pname = "xfce4-verve-plugin"; 13 13 version = "2.0.1"; 14 14 rev-prefix = ""; 15 - sha256 = "YwUOSTZMoHsWWmi/ajQv/fX8a0IJoc3re3laVEmnX/M="; 15 + sha256 = "sha256-YwUOSTZMoHsWWmi/ajQv/fX8a0IJoc3re3laVEmnX/M="; 16 16 17 17 buildInputs = [ gtk3 libxfce4ui pcre libxfce4util xfce4-panel ]; 18 18
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-weather-plugin/default.nix
··· 11 11 12 12 src = fetchurl { 13 13 url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 14 - sha256 = "1z2k24d599mxf5gqa35i3xmc3gk2yvqs80hxxpyw06yma6ljw973"; 14 + sha256 = "sha256-4yQuqVHVG8D97R0CpPH2Yr7Bah+xDIVfcb2mVBoRU/w="; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-whiskermenu-plugin/default.nix
··· 6 6 version = "2.5.3"; 7 7 rev-prefix = "v"; 8 8 odd-unstable = false; 9 - sha256 = "15kcph35pji3l1y81snrmpqzhhpdc9h4nk6cjsjyla51a1s2y3hz"; 9 + sha256 = "sha256-Hw4vdFChKOqllsxMS2Bi7UL48a3Z6oB8oCPKWwa8bJY="; 10 10 11 11 nativeBuildInputs = [ cmake ]; 12 12
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-windowck-plugin/default.nix
··· 8 8 owner = "invidian"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0l066a174v2c7ly125v9x1fgbg5bnpwdwnjh69v9kp4plp791q4n"; 11 + sha256 = "sha256-luCQzqWX3Jl2MlBa3vi1q7z1XOhpFxE8PUxscoIyBlA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [
+1 -1
pkgs/desktops/xfce/panel-plugins/xfce4-xkb-plugin/default.nix
··· 16 16 pname = "xfce4-xkb-plugin"; 17 17 version = "0.8.2"; 18 18 rev-prefix = ""; 19 - sha256 = "xmCoNMxykeaThYEJo6BcbraFo9CruFZL6YPjovzb6hg="; 19 + sha256 = "sha256-xmCoNMxykeaThYEJo6BcbraFo9CruFZL6YPjovzb6hg="; 20 20 21 21 buildInputs = [ 22 22 garcon
+1 -1
pkgs/desktops/xfce/thunar-plugins/archive/default.nix
··· 13 13 pname = "thunar-archive-plugin"; 14 14 version = "0.4.0"; 15 15 16 - sha256 = "1793zicm00fail4iknliwy2b668j239ndxhc9hy6jarvdyp08h38"; 16 + sha256 = "sha256-aEAErm87K2k8TAz2ZtMQEhmzhOeR2hkJjcoBUFn8I50="; 17 17 18 18 nativeBuildInputs = [ 19 19 intltool
+1 -1
pkgs/desktops/xfce/thunar-plugins/dropbox/default.nix
··· 16 16 owner = "Jeinzi"; 17 17 repo = "thunar-dropbox"; 18 18 rev = version; 19 - sha256 = "1fshjvh542ffa8npfxv3cassgn6jclb2ix9ir997y4k0abzp1fxb"; 19 + sha256 = "sha256-q7tw/1JgEn9SyjH1KBZl0tintWJjd3ctUs4JUuCWULs="; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+3 -3
pkgs/development/compilers/gleam/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "gleam"; 5 - version = "0.15.1"; 5 + version = "0.16.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "gleam-lang"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-vBxVGIgg2BpVvEYjmX99YSf1zy9aWOHr6ftaYxJWkzY="; 11 + sha256 = "sha256-QcJudP4zhtY1CxV3XLkiC06hrKOqlLdb+X6lHvqc7ZA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ]; ··· 16 16 buildInputs = [ openssl ] ++ 17 17 lib.optionals stdenv.isDarwin [ Security libiconv ]; 18 18 19 - cargoSha256 = "sha256-2zHc7xk5MuEUO9YGifSWbgRTi51ZUk84QLro94LsBtQ="; 19 + cargoSha256 = "sha256-een2aI6gDVx450mQcwF1uRG/tn9FzahTMWpPdvUBumE="; 20 20 21 21 meta = with lib; { 22 22 description = "A statically typed language for the Erlang VM";
+1 -2
pkgs/development/compilers/kotlin/default.nix
··· 37 37 ''; 38 38 homepage = "https://kotlinlang.org/"; 39 39 license = lib.licenses.asl20; 40 - maintainers = with lib.maintainers; 41 - [ ]; 40 + maintainers = with lib.maintainers; [ SubhrajyotiSen ]; 42 41 platforms = lib.platforms.all; 43 42 }; 44 43 }
+2 -2
pkgs/development/coq-modules/VST/default.nix
··· 8 8 repo = "VST"; 9 9 inherit version; 10 10 defaultVersion = with versions; switch coq.coq-version [ 11 - { case = range "8.12" "8.13"; out = "2.7.1"; } 11 + { case = range "8.12" "8.13"; out = "2.8"; } 12 12 ] null; 13 - release."2.7.1".sha256 = "1674j7bkvihiv19vizm99dp6gj3lryb00zx6a87jz214f3ydcvnj"; 13 + release."2.8".sha256 = "sha256-cyK88uzorRfjapNQ6XgQEmlbWnDsiyLve5po1VG52q0="; 14 14 releaseRev = v: "v${v}"; 15 15 propagatedBuildInputs = [ compcert ]; 16 16
+2 -1
pkgs/development/coq-modules/compcert/default.nix
··· 15 15 releaseRev = v: "v${v}"; 16 16 17 17 defaultVersion = with versions; switch coq.version [ 18 - { case = range "8.8" "8.13"; out = "3.8"; } 18 + { case = range "8.8" "8.11"; out = "3.8"; } 19 + { case = range "8.12" "8.13"; out = "3.9"; } 19 20 ] null; 20 21 21 22 release = {
+50
pkgs/development/libraries/drogon/default.nix
··· 1 + { stdenv, fetchFromGitHub, cmake, jsoncpp, libuuid, zlib, openssl, lib }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "drogon"; 5 + version = "1.6.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "an-tao"; 9 + repo = "drogon"; 10 + rev = "v${version}"; 11 + sha256 = "0ncdlsi3zhmpdwh83d52npb1b2q982y858yl88zl2nfq4zhcm3wa"; 12 + fetchSubmodules = true; 13 + }; 14 + 15 + nativeBuildInputs = [ cmake ]; 16 + 17 + cmakeFlags = [ 18 + # examples are used in the test during installCheckPhase, otherwise they are unnecessary 19 + "-DBUILD_EXAMPLES=${if doInstallCheck then "ON" else "OFF"}" 20 + ]; 21 + 22 + propagatedBuildInputs = [ 23 + jsoncpp 24 + libuuid 25 + zlib 26 + openssl 27 + ]; 28 + 29 + patches = [ 30 + # this part of the test fails because it attempts to configure a CMake project that uses find_package on itself 31 + # the rest of the test runs fine because it uses executables that are built in buildPhase when BUILD_EXAMPLES is enabled 32 + ./no_cmake_test.patch 33 + ]; 34 + 35 + installCheckPhase = '' 36 + cd .. 37 + patchShebangs test.sh 38 + ./test.sh 39 + ''; 40 + 41 + doInstallCheck = true; 42 + 43 + meta = with lib; { 44 + homepage = "https://github.com/an-tao/drogon"; 45 + description = "C++14/17 based HTTP web application framework"; 46 + license = licenses.mit; 47 + maintainers = [ maintainers.urlordjames ]; 48 + platforms = platforms.all; 49 + }; 50 + }
+42
pkgs/development/libraries/drogon/no_cmake_test.patch
··· 1 + diff --git a/test.sh b/test.sh 2 + index e5da08e..ba620cc 100755 3 + --- a/test.sh 4 + +++ b/test.sh 5 + @@ -157,37 +157,6 @@ cd ../views 6 + 7 + echo "Hello, world!" >>hello.csp 8 + 9 + -cd ../build 10 + -if [ $os = "windows" ]; then 11 + - conan install $src_dir -s compiler="Visual Studio" -s compiler.version=16 -sbuild_type=Debug -g cmake_paths 12 + - cmake_gen="$cmake_gen -DCMAKE_TOOLCHAIN_FILE=conan_paths.cmake -DCMAKE_INSTALL_PREFIX=$src_dir/install" 13 + -fi 14 + -cmake .. $cmake_gen 15 + - 16 + -if [ $? -ne 0 ]; then 17 + - echo "Error in testing" 18 + - exit -1 19 + -fi 20 + - 21 + -cmake --build . -- $make_flags 22 + - 23 + -if [ $? -ne 0 ]; then 24 + - echo "Error in testing" 25 + - exit -1 26 + -fi 27 + - 28 + -if [ $os = "linux" ]; then 29 + - if [ ! -f "drogon_test" ]; then 30 + - echo "Failed to build drogon_test" 31 + - exit -1 32 + - fi 33 + -else 34 + - if [ ! -f "Debug\drogon_test.exe" ]; then 35 + - echo "Failed to build drogon_test" 36 + - exit -1 37 + - fi 38 + -fi 39 + - 40 + cd ../../ 41 + rm -rf drogon_test 42 +
+2 -24
pkgs/development/libraries/exiv2/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 - , fetchpatch 4 3 , zlib 5 4 , expat 6 5 , cmake ··· 15 14 16 15 stdenv.mkDerivation rec { 17 16 pname = "exiv2"; 18 - version = "0.27.3"; 17 + version = "0.27.4"; 19 18 20 19 outputs = [ "out" "dev" "doc" "man" ]; 21 20 ··· 23 22 owner = "exiv2"; 24 23 repo = "exiv2"; 25 24 rev = "v${version}"; 26 - sha256 = "0d294yhcdw8ziybyd4rp5hzwknzik2sm0cz60ff7fljacv75bjpy"; 25 + sha256 = "0m1x79q6i5fw3gr9k0dw0bbl7ym27g9vbmxiamks6yw028xqwc5a"; 27 26 }; 28 - 29 - patches = [ 30 - # Fix aarch64 build https://github.com/Exiv2/exiv2/pull/1271 31 - (fetchpatch { 32 - name = "cmake-fix-aarch64.patch"; 33 - url = "https://github.com/Exiv2/exiv2/commit/bbe0b70840cf28b7dd8c0b7e9bb1b741aeda2efd.patch"; 34 - sha256 = "13zw1mn0ag0jrz73hqjhdsh1img7jvj5yddip2k2sb5phy04rzfx"; 35 - }) 36 - 37 - # Use correct paths with multiple outputs 38 - # https://github.com/Exiv2/exiv2/pull/1275 39 - (fetchpatch { 40 - url = "https://github.com/Exiv2/exiv2/commit/48f2c9dbbacc0ef84c8ebf4cb1a603327f0b8750.patch"; 41 - sha256 = "vjB3+Ld4c/2LT7nq6uatYwfHTh+HeU5QFPFXuNLpIPA="; 42 - }) 43 - # https://github.com/Exiv2/exiv2/pull/1294 44 - (fetchpatch { 45 - url = "https://github.com/Exiv2/exiv2/commit/306c8a6fd4ddd70e76043ab255734720829a57e8.patch"; 46 - sha256 = "0D/omxYxBPGUu3uSErlf48dc6Ukwc2cEN9/J3e7a9eU="; 47 - }) 48 - ]; 49 27 50 28 nativeBuildInputs = [ 51 29 cmake
+5 -9
pkgs/development/libraries/hwloc/default.nix
··· 6 6 7 7 with lib; 8 8 9 - let 10 - version = "2.4.1"; 11 - versmm = versions.major version + "." + versions.minor version; 12 - name = "hwloc-${version}"; 13 - 14 - in stdenv.mkDerivation { 15 - inherit name; 9 + stdenv.mkDerivation rec { 10 + pname = "hwloc"; 11 + version = "2.5.0"; 16 12 17 13 src = fetchurl { 18 - url = "https://www.open-mpi.org/software/hwloc/v${versmm}/downloads/${name}.tar.bz2"; 19 - sha256 = "sha256-OSQh5p8mEgyKuV0VH+mJ8rS2nas8dzV0HE4KbX3l3mM="; 14 + url = "https://www.open-mpi.org/software/hwloc/v${versions.majorMinor version}/downloads/hwloc-${version}.tar.bz2"; 15 + sha256 = "1j2j9wn39a8v91r23xncm1rzls6rjkgkvdvqghbdsnq8ps491kx9"; 20 16 }; 21 17 22 18 configureFlags = [
+30
pkgs/development/libraries/libbencodetools/default.nix
··· 1 + { stdenv, lib, fetchFromGitLab 2 + }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "libbencodetools"; 6 + version = "unstable-2021-04-15"; 7 + 8 + src = fetchFromGitLab { 9 + owner = "heikkiorsila"; 10 + repo = "bencodetools"; 11 + rev = "1ab11f6509a348975e8aec829d7abbf2f8e9b7d1"; 12 + sha256 = "1i2dgvxxwj844yn45hnfx3785ljbvbkri0nv0jx51z4i08w7cz0h"; 13 + }; 14 + 15 + postPatch = '' 16 + patchShebangs . 17 + ''; 18 + 19 + configureFlags = [ 20 + "--without-python" 21 + ]; 22 + 23 + meta = with lib; { 24 + description = "Collection of tools for manipulating bencoded data"; 25 + homepage = "https://gitlab.com/heikkiorsila/bencodetools"; 26 + license = licenses.bsd2; 27 + maintainers = with maintainers; [ OPNA2608 ]; 28 + platforms = platforms.unix; 29 + }; 30 + }
+3 -2
pkgs/development/libraries/libmbim/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchurl 3 3 , pkg-config 4 - , gobject-introspection 5 4 , glib 6 5 , python3 7 6 , systemd 8 7 , libgudev 8 + , withIntrospection ? stdenv.hostPlatform == stdenv.buildPlatform 9 + , gobject-introspection 9 10 }: 10 11 11 12 stdenv.mkDerivation rec { ··· 21 22 22 23 configureFlags = [ 23 24 "--with-udev-base-dir=${placeholder "out"}/lib/udev" 24 - "--enable-introspection" 25 + (lib.enableFeature withIntrospection "introspection") 25 26 ]; 26 27 27 28 nativeBuildInputs = [
+7 -7
pkgs/development/libraries/libpqxx/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, postgresql, doxygen, xmlto, python2, gnused }: 1 + { lib, stdenv, fetchFromGitHub, postgresql, python3, gnused }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libpqxx"; 5 - version = "6.4.5"; 5 + version = "7.5.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jtv"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "0djmjr2b5x5nd2a4idv5j8s6w0kdmvil910iv1kyc7x94dirbrni"; 11 + sha256 = "15ifd28v6xbbx931icydy8xmkd8030b20xzqjja6vwwvzss2w9fa"; 12 12 }; 13 13 14 - nativeBuildInputs = [ gnused python2 ]; 15 - buildInputs = [ postgresql doxygen xmlto ]; 14 + nativeBuildInputs = [ gnused python3 ]; 15 + buildInputs = [ postgresql ]; 16 16 17 17 preConfigure = '' 18 - patchShebangs . 18 + patchShebangs ./tools/splitconfig 19 19 ''; 20 20 21 - configureFlags = [ "--enable-shared" ]; 21 + configureFlags = [ "--enable-shared --disable-documentation" ]; 22 22 23 23 meta = { 24 24 description = "A C++ library to access PostgreSQL databases";
+1 -1
pkgs/development/libraries/science/math/libtorch/bin.nix
··· 18 18 # this derivation. However, we should ensure on version bumps 19 19 # that the CUDA toolkit for `passthru.tests` is still 20 20 # up-to-date. 21 - version = "1.8.1"; 21 + version = "1.9.0"; 22 22 device = if cudaSupport then "cuda" else "cpu"; 23 23 srcs = import ./binary-hashes.nix version; 24 24 unavailable = throw "libtorch is not available for this platform";
+3 -3
pkgs/development/libraries/science/math/libtorch/binary-hashes.nix
··· 1 1 version: { 2 2 x86_64-darwin-cpu = { 3 3 url = "https://download.pytorch.org/libtorch/cpu/libtorch-macos-${version}.zip"; 4 - hash = "sha256-FYgnd5zlycjCYnP5bZcjpMdGYXrRERwhFFBYo/SJgzs="; 4 + hash = "sha256-TOJ+iQpqazta46y4IzIbfEGMjz/fz+pRDV8fKqriB6Q="; 5 5 }; 6 6 x86_64-linux-cpu = { 7 7 url = "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcpu.zip"; 8 - hash = "sha256-xneCcVrY25Whgbs/kPbwdS1Lc0e6RxsDRpA5lHTZigc="; 8 + hash = "sha256-gZMNLCzW3j+eplBqWo6lVvuHS5iRqtMD8NL3MoszsVg="; 9 9 }; 10 10 x86_64-linux-cuda = { 11 11 url = "https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-${version}%2Bcu111.zip"; 12 - hash = "sha256-VW+TW00nD49GBztCyxHE4dTyy81aN/kfYE3hKQOIm50="; 12 + hash = "sha256-dRu4F8k2SAbtghwrPJNyX0u3tsODCbXfi9EqUdf4xYc="; 13 13 }; 14 14 }
+14 -1
pkgs/development/libraries/science/math/tensorflow-lite/default.nix
··· 83 83 url = "https://github.com/tensorflow/tensorflow/commit/f3c4f4733692150fd6174f2cd16438cfaba2e5ab.patch"; 84 84 sha256 = "0zx4hbz679kn79f30159rl1mq74dg45cvaawii0cyv48z472yy4k"; 85 85 }) 86 + # TODO: remove on the next version bump 87 + (fetchpatch { 88 + name = "cxxstandard-var.patch"; 89 + url = "https://github.com/tensorflow/tensorflow/commit/9b128ae4200e10b4752f903492d1e7d11957ed5c.patch"; 90 + sha256 = "1q0izdwdji5fbyqll6k4dmkzfykyvvz5cvc6hysdj285nkn2wy6h"; 91 + }) 86 92 ]; 87 93 88 94 buildInputs = [ zlib flatbuffers ]; ··· 140 146 # tensorflow lite expects to compile abseil into `libtensorflow-lite.a` 141 147 ln -s ${abseil-cpp.src} "$prefix/absl" 142 148 143 - buildFlagsArray+=(INCLUDES="-I $PWD ${includes}" TARGET_TOOLCHAIN_PREFIX="" -j$NIX_BUILD_CORES all) 149 + # set CXXSTANDARD=c++17 here because abseil-cpp in nixpkgs is set as 150 + # such and would be used in dependents like libedgetpu 151 + buildFlagsArray+=( 152 + INCLUDES="-I $PWD ${includes}" 153 + CXXSTANDARD="-std=c++17" 154 + TARGET_TOOLCHAIN_PREFIX="" 155 + -j$NIX_BUILD_CORES 156 + all) 144 157 ''; 145 158 146 159 installPhase = ''
+3
pkgs/development/ocaml-modules/bz2/default.nix
··· 24 24 buildInputs = [ 25 25 ocaml 26 26 findlib 27 + ]; 28 + 29 + propagatedBuildInputs = [ 27 30 bzip2 28 31 ]; 29 32
+21
pkgs/development/ocaml-modules/tls/async.nix
··· 1 + { lib, buildDunePackage, tls, async, cstruct-async, core, cstruct, mirage-crypto-rng-async }: 2 + 3 + buildDunePackage rec { 4 + pname = "tls-async"; 5 + 6 + inherit (tls) src meta version; 7 + 8 + minimumOCamlVersion = "4.08"; 9 + useDune2 = true; 10 + 11 + doCheck = true; 12 + 13 + propagatedBuildInputs = [ 14 + async 15 + core 16 + cstruct 17 + cstruct-async 18 + mirage-crypto-rng-async 19 + tls 20 + ]; 21 + }
+33 -14
pkgs/development/ocaml-modules/tls/default.nix
··· 1 - { lib, fetchurl, buildDunePackage, ppx_sexp_conv, ppx_cstruct, cstruct 2 - , cstruct-sexp, sexplib, mirage-crypto, mirage-crypto-pk, mirage-crypto-rng 3 - , x509, domain-name, fmt, cstruct-unix, ounit2, ocaml_lwt, ptime, rresult 4 - , mirage-crypto-ec, hkdf, logs, alcotest }: 1 + { lib, fetchurl, buildDunePackage 2 + , cstruct, cstruct-sexp, domain-name, fmt, ppx_cstruct, ppx_sexp_conv, logs, hkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, ocaml_lwt, ptime, rresult, sexplib, x509 3 + , alcotest, cstruct-unix, ounit2, randomconv 4 + }: 5 5 6 6 buildDunePackage rec { 7 - minimumOCamlVersion = "4.08"; 8 - 9 - version = "0.13.1"; 10 7 pname = "tls"; 8 + version = "0.13.2"; 11 9 12 10 src = fetchurl { 13 11 url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-v${version}.tbz"; 14 - sha256 = "ca95fa59a82f7d38b0b495fc0cd1ff54e7728492a292895d0067c1ba9de81b7b"; 12 + sha256 = "sha256-IE6Fuvem8A3lZ/M8GLNYNwCG+v7BbPQ4QdYS+fKT50c="; 15 13 }; 16 14 15 + minimumOCamlVersion = "4.08"; 17 16 useDune2 = true; 18 17 18 + propagatedBuildInputs = [ 19 + cstruct 20 + cstruct-sexp 21 + domain-name 22 + fmt 23 + ppx_cstruct 24 + ppx_sexp_conv 25 + logs 26 + hkdf 27 + mirage-crypto 28 + mirage-crypto-ec 29 + mirage-crypto-pk 30 + mirage-crypto-rng 31 + ocaml_lwt 32 + ptime 33 + rresult 34 + sexplib 35 + x509 36 + ]; 37 + 19 38 doCheck = true; 20 - checkInputs = [ cstruct-unix ounit2 alcotest ]; 21 - 22 - propagatedBuildInputs = [ ppx_sexp_conv ppx_cstruct cstruct cstruct-sexp 23 - sexplib mirage-crypto mirage-crypto-pk mirage-crypto-rng 24 - x509 domain-name fmt ocaml_lwt ptime mirage-crypto-ec 25 - hkdf logs rresult ]; 39 + checkInputs = [ 40 + alcotest 41 + cstruct-unix 42 + ounit2 43 + randomconv 44 + ]; 26 45 27 46 meta = with lib; { 28 47 homepage = "https://github.com/mirleft/ocaml-tls";
+9 -11
pkgs/development/ocaml-modules/tls/mirage.nix
··· 1 1 { buildDunePackage, tls 2 - , x509, lwt, fmt, mirage-flow, mirage-kv, mirage-clock, ptime 3 - , mirage-crypto, mirage-crypto-pk, mirage-crypto-ec 2 + , fmt, lwt, mirage-clock, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-flow, mirage-kv, ptime, x509 4 3 }: 5 4 6 5 buildDunePackage { 7 6 pname = "tls-mirage"; 8 - 9 - inherit (tls) version src useDune2 minimumOCamlVersion; 7 + inherit (tls) src version minimumOCamlVersion useDune2; 10 8 11 9 propagatedBuildInputs = [ 12 - tls 13 - x509 14 - lwt 15 10 fmt 16 - mirage-flow 17 - mirage-kv 11 + lwt 18 12 mirage-clock 19 - ptime 20 13 mirage-crypto 21 - mirage-crypto-pk 22 14 mirage-crypto-ec 15 + mirage-crypto-pk 16 + mirage-flow 17 + mirage-kv 18 + ptime 19 + tls 20 + x509 23 21 ]; 24 22 25 23 meta = tls.meta // {
+49
pkgs/development/python-modules/calmjs-parse/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , setuptools 5 + , ply 6 + , python 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "calmjs-parse"; 11 + version = "1.2.5"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "calmjs"; 15 + repo = "calmjs.parse"; 16 + rev = version; 17 + sha256 = "0ypfbas33k1706p6w1bf9gnrv38z8fa4qci1iaks80dp58g8sv4r"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + setuptools 22 + ply 23 + ]; 24 + 25 + checkPhase = '' 26 + runHook preCheck 27 + 28 + ${python.interpreter} -m unittest calmjs.parse.tests.make_suite 29 + 30 + runHook postCheck 31 + ''; 32 + 33 + pythonImportsCheck = [ 34 + "calmjs.parse" 35 + "calmjs.parse.asttypes" 36 + "calmjs.parse.parsers" 37 + "calmjs.parse.rules" 38 + "calmjs.parse.sourcemap" 39 + "calmjs.parse.unparsers.es5" 40 + "calmjs.parse.walkers" 41 + ]; 42 + 43 + meta = with lib; { 44 + description = "Various parsers for ECMA standards"; 45 + homepage = "https://github.com/calmjs/calmjs.parse"; 46 + license = licenses.mit; 47 + maintainers = with maintainers; [ dotlambda ]; 48 + }; 49 + }
+32
pkgs/development/python-modules/doorbirdpy/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , requests 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "doorbirdpy"; 9 + version = "2.1.0"; 10 + 11 + src = fetchPypi { 12 + pname = "DoorBirdPy"; 13 + inherit version; 14 + sha256 = "ed0e94953cdf96111c7f73c5fcf358f65dc0ff5e47f63fc057bf18ca7512e606"; 15 + }; 16 + 17 + propagatedBuildInputs = [ 18 + requests 19 + ]; 20 + 21 + # no tests on PyPI, no tags on GitLab 22 + doCheck = false; 23 + 24 + pythonImportsCheck = [ "doorbirdpy" ]; 25 + 26 + meta = with lib; { 27 + description = "Python wrapper for the DoorBird LAN API"; 28 + homepage = "https://gitlab.com/klikini/doorbirdpy"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ dotlambda ]; 31 + }; 32 + }
+58
pkgs/development/python-modules/eebrightbox/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pbr 5 + , calmjs-parse 6 + , certifi 7 + , chardet 8 + , idna 9 + , ply 10 + , requests 11 + , urllib3 12 + , httpretty 13 + , pytestCheckHook 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "eebrightbox"; 18 + version = "0.0.6"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "krygal"; 22 + repo = "eebrightbox"; 23 + rev = version; 24 + sha256 = "1kms240g01871qbvyc5rzf86yxsrlnfvp323jh4k35fpf45z44rr"; 25 + }; 26 + 27 + postPatch = '' 28 + substituteInPlace requirements.txt --replace "==" ">=" 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + pbr 33 + ]; 34 + 35 + PBR_VERSION = version; 36 + 37 + propagatedBuildInputs = [ 38 + calmjs-parse 39 + certifi 40 + chardet 41 + idna 42 + ply 43 + requests 44 + urllib3 45 + ]; 46 + 47 + checkInputs = [ 48 + httpretty 49 + pytestCheckHook 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "Connector for EE BrightBox routers"; 54 + homepage = "https://github.com/krygal/eebrightbox"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ dotlambda ]; 57 + }; 58 + }
+56
pkgs/development/python-modules/elgato/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , pythonOlder 4 + , fetchFromGitHub 5 + , aiohttp 6 + , poetry-core 7 + , yarl 8 + , aresponses 9 + , pytest-asyncio 10 + , pytestCheckHook 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "elgato"; 15 + version = "2.1.1"; 16 + disabled = pythonOlder "3.8"; 17 + format = "pyproject"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "frenck"; 21 + repo = "python-elgato"; 22 + rev = "v${version}"; 23 + sha256 = "19z568jjyww7vi8s44anrb66qjz5l22nz4jqcz49ybhf22warmff"; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + poetry-core 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + aiohttp 32 + yarl 33 + ]; 34 + 35 + checkInputs = [ 36 + aresponses 37 + pytest-asyncio 38 + pytestCheckHook 39 + ]; 40 + 41 + postPatch = '' 42 + # Upstream doesn't set a version for the pyproject.toml 43 + substituteInPlace pyproject.toml \ 44 + --replace "0.0.0" "${version}" \ 45 + --replace "--cov" "" 46 + ''; 47 + 48 + pythonImportsCheck = [ "elgato" ]; 49 + 50 + meta = with lib; { 51 + description = "Python client for Elgato Key Lights"; 52 + homepage = "https://github.com/frenck/python-elgato"; 53 + license = with licenses; [ mit ]; 54 + maintainers = with maintainers; [ fab ]; 55 + }; 56 + }
+27 -20
pkgs/development/python-modules/gurobipy/linux.nix
··· 1 - { fetchurl, python }: 2 - assert python.pkgs.isPy27; 1 + { lib, buildPythonPackage, python, gurobi }: 3 2 4 - python.pkgs.buildPythonPackage 5 - { pname = "gurobipy"; 6 - version = "7.5.2"; 7 - src = fetchurl 8 - { url = "http://packages.gurobi.com/7.5/gurobi7.5.2_linux64.tar.gz"; 9 - sha256 = "13i1dl22lnmg7z9mb48zl3hy1qnpwdpr0zl2aizda0qnb7my5rnj"; 10 - }; 11 - setSourceRoot = "sourceRoot=$(echo gurobi*/*64)"; 12 - patches = [ ./no-clever-setup.patch ]; 13 - postInstall = "mv lib/libaes*.so* lib/libgurobi*.so* $out/lib"; 14 - postFixup = 15 - '' 16 - patchelf --set-rpath $out/lib \ 17 - $out/lib/python2.7/site-packages/gurobipy/gurobipy.so 18 - patchelf --add-needed libaes75.so \ 19 - $out/lib/python2.7/site-packages/gurobipy/gurobipy.so 20 - ''; 21 - } 3 + buildPythonPackage { 4 + pname = "gurobipy"; 5 + version = "9.1.2"; 6 + 7 + src = gurobi.src; 8 + 9 + setSourceRoot = "sourceRoot=$(echo gurobi*/*64)"; 10 + 11 + patches = [ ./no-clever-setup.patch ]; 12 + 13 + postInstall = '' 14 + mv lib/libgurobi*.so* $out/lib 15 + ''; 16 + 17 + postFixup = '' 18 + patchelf --set-rpath $out/lib \ 19 + $out/lib/${python.libPrefix}/site-packages/gurobipy/gurobipy.so 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "The Gurobi Python interface"; 24 + homepage = "https://www.gurobi.com"; 25 + license = licenses.unfree; 26 + platforms = [ "x86_64-linux" ]; 27 + }; 28 + }
+5 -19
pkgs/development/python-modules/gurobipy/no-clever-setup.patch
··· 1 1 diff -Naur a/setup.py b/setup.py 2 - --- a/setup.py 2017-12-22 10:52:43.730264611 -0500 3 - +++ b/setup.py 2017-12-22 10:53:27.660104199 -0500 4 - @@ -15,30 +15,6 @@ 2 + --- a/setup.py 2021-04-24 12:53:18.300255006 -0500 3 + +++ b/setup.py 2021-04-24 12:47:51.619052574 -0500 4 + @@ -15,29 +15,6 @@ 5 5 from distutils.command.install import install 6 6 import os,sys,shutil 7 7 ··· 13 13 - def finalize_options(self): 14 14 - self.cwd = os.path.dirname(os.path.realpath(__file__)) 15 15 - def run(self): 16 - - assert os.getcwd() == self.cwd, 'Must be run from setup.py directory: %s' % self.cwd 17 16 - build_dir = os.path.join(os.getcwd(), "build") 18 17 - if os.path.exists(build_dir): 19 18 - print('removing %s' % build_dir) ··· 32 31 License = """ 33 32 This software is covered by the Gurobi End User License Agreement. 34 33 By completing the Gurobi installation process and using the software, 35 - @@ -79,20 +55,4 @@ 34 + @@ -78,7 +55,5 @@ 36 35 packages = ['gurobipy'], 37 36 package_dir={'gurobipy' : srcpath }, 38 37 package_data = {'gurobipy' : [srcfile] }, 39 38 - cmdclass={'install' : GurobiInstall, 40 39 - 'clean' : GurobiClean } 41 40 ) 42 - - 43 - -if os.name == 'posix' and sys.platform == 'darwin': # update Mac paths 44 - - verstr = sys.version[:3] 45 - - default = '/Library/Frameworks/Python.framework/Versions/%s/Python' % verstr 46 - - default = '/System'+default if verstr == '2.7' else default 47 - - modified = sys.prefix + '/Python' 48 - - if default != modified: 49 - - import subprocess 50 - - from distutils.sysconfig import get_python_lib 51 - - sitelib = get_python_lib() + '/gurobipy/gurobipy.so' 52 - - if not os.path.isfile(modified): # Anaconda 53 - - libver = verstr if verstr == '2.7' else verstr+'m' 54 - - modified = sys.prefix + '/lib/libpython%s.dylib' % libver # For Anaconda 55 - - subprocess.call(('install_name_tool', '-change', default, modified, sitelib)) 41 +
+3 -3
pkgs/development/python-modules/pydaikin/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pydaikin"; 15 - version = "2.4.2"; 15 + version = "2.4.3"; 16 16 disabled = pythonOlder "3.6"; 17 17 18 18 src = fetchFromBitbucket { 19 19 owner = "mustang51"; 20 20 repo = pname; 21 21 rev = "v${version}"; 22 - sha256 = "13cslszjhd1x7j0ja0n0wpy62hb2sdmkrmjl3qhwqfggps2w2wy1"; 22 + sha256 = "0i013ma2fs6an3izak6zbs9lbr4l7b5x54d0xagw6gqf5n8dsclq"; 23 23 }; 24 24 25 25 propagatedBuildInputs = [ ··· 28 28 urllib3 29 29 ]; 30 30 31 - # while they have tests, they do not run them in their CI and they fail as of 2.4.2 31 + # while they have tests, they do not run them in their CI and they fail as of 2.4.3 32 32 # AttributeError: 'DaikinBRP069' object has no attribute 'last_hour_cool_energy_consumption' 33 33 doCheck = false; 34 34
+1 -1
pkgs/development/python-modules/pytorch/bin.nix
··· 18 18 pyVerNoDot = builtins.replaceStrings [ "." ] [ "" ] python.pythonVersion; 19 19 srcs = import ./binary-hashes.nix version; 20 20 unsupported = throw "Unsupported system"; 21 - version = "1.8.1"; 21 + version = "1.9.0"; 22 22 in buildPythonPackage { 23 23 inherit version; 24 24
+3 -3
pkgs/development/python-modules/pytorch/binary-hashes.nix
··· 2 2 x86_64-linux-37 = { 3 3 name = "torch-${version}-cp37-cp37m-linux_x86_64.whl"; 4 4 url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp37-cp37m-linux_x86_64.whl"; 5 - hash = "sha256-lxj066PiB+S88GqQnXKgd9RCiKkMk3mctx/eBieZjAk="; 5 + hash = "sha256-GOTC4HpSxd+3V4LNPy3Ig1+IAhm3U+6s/gOkKxD4AJE="; 6 6 }; 7 7 x86_64-linux-38 = { 8 8 name = "torch-${version}-cp38-cp38-linux_x86_64.whl"; 9 9 url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp38-cp38-linux_x86_64.whl"; 10 - hash = "sha256-qvTQMLz4CQPgalzUyYwz6rm+ExyWlIzI+FSMQhxM4eM="; 10 + hash = "sha256-29KiXQJWCRRn92+ZddBq3Q+zYIKavUxB5HL3HafO0gc="; 11 11 }; 12 12 x86_64-linux-39 = { 13 13 name = "torch-${version}-cp39-cp39-linux_x86_64.whl"; 14 14 url = "https://download.pytorch.org/whl/cu111/torch-${version}%2Bcu111-cp39-cp39-linux_x86_64.whl"; 15 - hash = "sha256-z0pzEiljU+E2x2SuOEAg86dmVY1iFZSDOCfoOAFhLQo="; 15 + hash = "sha256-VCLRkELiF8KqlAMLFrP+TaW+m6jupG5+WdQKEQlVli0="; 16 16 }; 17 17 }
+2 -2
pkgs/development/python-modules/pytorch/default.nix
··· 117 117 in buildPythonPackage rec { 118 118 pname = "pytorch"; 119 119 # Don't forget to update pytorch-bin to the same version. 120 - version = "1.8.1"; 120 + version = "1.9.0"; 121 121 122 122 disabled = !isPy3k; 123 123 ··· 132 132 repo = "pytorch"; 133 133 rev = "v${version}"; 134 134 fetchSubmodules = true; 135 - sha256 = "sha256-HERbvmrfhWwH164GFHU/M0KbhVAuhI5sBZSxCZy8mRk="; 135 + sha256 = "sha256-gZmEhV1zzfr/5T2uNfS+8knzyJIxnv2COWVyiAzU9jM="; 136 136 }; 137 137 138 138 patches = lib.optionals stdenv.isDarwin [
+36
pkgs/development/python-modules/pyyaml-env-tag/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , pyyaml 6 + , pytestCheckHook 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "pyyaml-env-tag"; 11 + version = "0.1"; 12 + disabled = pythonOlder "3.6"; 13 + 14 + src = fetchPypi { 15 + pname = "pyyaml_env_tag"; 16 + inherit version; 17 + sha256 = "1nsva88jsmwn0cb9jnrfiz4dvs9xakkpgfii7g1xwkx1pmsjc2bh"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + pyyaml 22 + ]; 23 + 24 + checkInputs = [ 25 + pytestCheckHook 26 + ]; 27 + 28 + pythonImportsCheck = [ "yaml_env_tag" ]; 29 + 30 + meta = with lib; { 31 + description = "Custom YAML tag for referencing environment variables"; 32 + homepage = "https://github.com/waylan/pyyaml-env-tag"; 33 + license = with licenses; [ mit ]; 34 + maintainers = with maintainers; [ fab ]; 35 + }; 36 + }
+38 -23
pkgs/development/tools/documentation/mkdocs/default.nix
··· 1 - { lib, python3, fetchFromGitHub }: 1 + { lib 2 + , python3 3 + , fetchFromGitHub 4 + }: 2 5 3 6 with python3.pkgs; 4 7 5 8 buildPythonApplication rec { 6 9 pname = "mkdocs"; 7 - version = "1.0.4"; 10 + version = "1.2.1"; 11 + disabled = pythonOlder "3.6"; 8 12 9 13 src = fetchFromGitHub { 10 - owner = "mkdocs"; 11 - repo = "mkdocs"; 14 + owner = pname; 15 + repo = pname; 12 16 rev = version; 13 - sha256 = "1x35vgiskgz4wwrvi4m1mri5wlphf15p90fr3rxsy5bf19v3s9hs"; 17 + sha256 = "sha256-JF3Zz1ObxeKsIF0pa8duJxqjLgMvmWsWMApHT43Z+EY="; 14 18 }; 15 19 20 + propagatedBuildInputs = [ 21 + click 22 + jinja2 23 + markdown 24 + mergedeep 25 + pyyaml 26 + pyyaml-env-tag 27 + ghp-import 28 + importlib-metadata 29 + watchdog 30 + packaging 31 + ]; 32 + 16 33 checkInputs = [ 17 - nose nose-exclude mock 34 + Babel 35 + mock 36 + pytestCheckHook 18 37 ]; 19 38 20 - NOSE_EXCLUDE_TESTS = lib.concatStringsSep ";" [ 21 - "mkdocs.tests.gh_deploy_tests.TestGitHubDeploy" 22 - "mkdocs.tests.config.config_tests.ConfigTests" 23 - "mkdocs.tests.config.config_options_tests.DirTest" 24 - ]; 39 + postPatch = '' 40 + # Remove test due to missing requirement 41 + rm mkdocs/tests/theme_tests.py 42 + ''; 25 43 26 - checkPhase = "nosetests mkdocs"; 44 + pytestFlagsArray = [ "mkdocs/tests/*.py" ]; 27 45 28 - propagatedBuildInputs = [ 29 - tornado 30 - livereload 31 - click 32 - pyyaml 33 - markdown 34 - jinja2 35 - backports_tempfile 46 + disabledTests = [ 47 + # Don't start a test server 48 + "testing_server" 36 49 ]; 37 50 51 + pythonImportsCheck = [ "mkdocs" ]; 52 + 38 53 meta = with lib; { 39 54 description = "Project documentation with Markdown / static website generator"; 40 55 longDescription = '' ··· 42 57 geared towards building project documentation. Documentation source files 43 58 are written in Markdown, and configured with a single YAML configuration file. 44 59 45 - MkDocs can also be used to generate general-purpose Websites. 60 + MkDocs can also be used to generate general-purpose websites. 46 61 ''; 47 62 homepage = "http://mkdocs.org/"; 48 - license = lib.licenses.bsd2; 63 + license = licenses.bsd2; 49 64 platforms = platforms.unix; 50 - maintainers = [ maintainers.rkoe ]; 65 + maintainers = with maintainers; [ rkoe ]; 51 66 }; 52 67 }
+2 -2
pkgs/development/tools/esbuild/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "esbuild"; 5 - version = "0.12.7"; 5 + version = "0.12.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "evanw"; 9 9 repo = "esbuild"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-LHM3dlVfwgA1HJPg/77Er/RWEDVmmQuuhrS5KzTAtV0="; 11 + sha256 = "sha256-MqwgdhgWIfYE0wO7fWQuC72tEwCVgL7qUbJlJ3APf4E="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-2ABWPqhK2Cf4ipQH7XvRrd+ZscJhYPc3SV2cGT0apdg=";
+3 -3
pkgs/development/tools/golangci-lint/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "golangci-lint"; 5 - version = "1.40.1"; 5 + version = "1.41.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "golangci"; 9 9 repo = "golangci-lint"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5OtXfDPpdwVMnI5Pttr+XQPgJXI7YexPtBhIDeS1CXk="; 11 + sha256 = "sha256-ogH3L2EG0xdGpCaEfMUYnCWyFTGgx/C/O54mMxcJSBA="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-8SPUOQ88RkU0dkyNccf+POKitXHlCRaxrIugV91gDZQ="; 14 + vendorSha256 = "sha256-gYulktNetcgXk43Ydk4+WEMZMFCrmx6p5VnsFIJdQhk="; 15 15 16 16 doCheck = false; 17 17
+3 -3
pkgs/development/tools/gosec/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "gosec"; 5 - version = "2.8.0"; 5 + version = "2.8.1"; 6 6 7 7 subPackages = [ "cmd/gosec" ]; 8 8 ··· 10 10 owner = "securego"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-AC3NHW7LYbpZGA+iaM9eXFLothhqZuvRJM1ehBByhpk="; 13 + sha256 = "sha256-AlADSEekcUH/pCGggKlkBDiIYMe1zsoe9hh6fVUwQVA="; 14 14 }; 15 15 16 - vendorSha256 = "sha256-QfbElEjkYdmzYhQ8TOFIb2jfG2xzbW1UL2eLxROsBfw="; 16 + vendorSha256 = "sha256-HBwIZfvkL9HSwkD1sZzBM7IJFAjLbCxyc95vqR5TFAg="; 17 17 18 18 doCheck = false; 19 19
+4 -4
pkgs/development/tools/ktlint/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ktlint"; 5 - version = "0.40.0"; 5 + version = "0.41.0"; 6 6 7 7 src = fetchurl { 8 - url = "https://github.com/shyiko/ktlint/releases/download/${version}/ktlint"; 9 - sha256 = "17n1xdalz38h9p4ylcpkbbqp22b1np5l8y5l3r58kaf9k8p6cfa7"; 8 + url = "https://github.com/pinterest/ktlint/releases/download/${version}/ktlint"; 9 + sha256 = "10z1010k25i40iv7v339csmbs83hmwjv1004jikckb78wncd12s3"; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ]; ··· 26 26 homepage = "https://ktlint.github.io/"; 27 27 license = licenses.mit; 28 28 platforms = jre_headless.meta.platforms; 29 - maintainers = with maintainers; [ tadfisher ]; 29 + maintainers = with maintainers; [ tadfisher SubhrajyotiSen ]; 30 30 }; 31 31 }
+6
pkgs/development/tools/misc/ccache/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , substituteAll 5 6 , binutils 6 7 , asciidoc ··· 33 34 (substituteAll { 34 35 src = ./force-objdump-on-darwin.patch; 35 36 objdump = "${binutils.bintools}/bin/objdump"; 37 + }) 38 + # Fix clang C++ modules test (remove in next release) 39 + (fetchpatch { 40 + url = "https://github.com/ccache/ccache/commit/8b0c783ffc77d29a3e3520345b776a5c496fd892.patch"; 41 + sha256 = "13qllx0qhfrdila6bdij9lk74fhkm3vdj01zgq1ri6ffrv9lqrla"; 36 42 }) 37 43 ]; 38 44
+3 -3
pkgs/development/tools/misc/terraform-ls/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "terraform-ls"; 5 - version = "0.18.0"; 5 + version = "0.18.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "hashicorp"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JctiWJ2HeFtrrOwCe1MCzxTkE2855FsgFocaAgK4fMk="; 11 + sha256 = "sha256-68Hs9kwv7GTGnYtoJh61ubaggPKbxFwz7qDwYaJ74c8="; 12 12 }; 13 - vendorSha256 = "sha256-r4/WTzI1unvmjKOSJsaHVkws2/qWLuRrHLlzwckrm2Q="; 13 + vendorSha256 = "sha256-NgOpnCe0uGQVDVKYUIULqPTfvfkDtxIUQiCVwiE7nuc="; 14 14 15 15 preBuild = '' 16 16 buildFlagsArray+=("-ldflags" "-s -w -X main.version=v${version} -X main.prerelease=")
+3 -3
pkgs/development/tools/stylua/default.nix
··· 8 8 9 9 rustPlatform.buildRustPackage rec { 10 10 pname = "stylua"; 11 - version = "0.9.0"; 11 + version = "0.9.1"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "johnnymorganz"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "0ihb6hq1va6nj7d2883m9gdhzrwmcsw7z0fxqkhs9scv4i9x6s9d"; 17 + sha256 = "1p6k5al8vvafz2w4z27jnyw8w2cp316h70dlx40ir4c3lk511n2j"; 18 18 }; 19 19 20 - cargoSha256 = "04gm9drb4qh1sdzqqdj3lwb462y22sz24gjr6nw3sd2a0iqhsknf"; 20 + cargoSha256 = "0ssfny11pv2b4zz7lh28cv603slp54pbcgj18y9k7b6jjajrz67q"; 21 21 22 22 cargoBuildFlags = lib.optionals lua52Support [ "--features" "lua52" ] 23 23 ++ lib.optionals luauSupport [ "--features" "luau" ];
+22 -19
pkgs/games/blackshades/default.nix
··· 1 - {lib, stdenv, fetchsvn, SDL, libGLU, libGL, openal, libvorbis, freealut, SDL_image}: 1 + { lib, stdenv, fetchFromSourcehut 2 + , SDL, SDL_image, libGLU, libGL, openal, libvorbis, freealut }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "blackshades"; 6 + version = "1.1.1"; 2 7 3 - stdenv.mkDerivation { 4 - name = "blackshades-svn-110"; 5 - src = fetchsvn { 6 - url = "svn://svn.icculus.org/blackshades/trunk"; 7 - rev = "110"; 8 - sha256 = "0kbrh1dympk8scjxr6av24qs2bffz44l8qmw2m5gyqf4g3rxf6ra"; 8 + src = fetchFromSourcehut { 9 + owner = "~cnx"; 10 + repo = pname; 11 + rev = version; 12 + sha256 = "1gx43hcqahbd21ib8blhzmsrwqfzx4qy7f10ck0mh2zc4bfihz64"; 9 13 }; 10 - 11 - NIX_LDFLAGS = "-lSDL_image"; 12 14 13 15 buildInputs = [ SDL SDL_image libGLU libGL openal libvorbis freealut ]; 14 16 15 17 patchPhase = '' 16 - sed -i -e s,Data/,$out/opt/$name/Data/,g \ 17 - -e s,Data:,$out/opt/$name/Data/,g \ 18 - Source/*.cpp 18 + sed -i -e s,Data/,$out/share/$pname/,g \ 19 + -e s,Data:,$out/share/$pname/,g \ 20 + src/*.cpp 19 21 ''; 20 22 21 23 installPhase = '' 22 - mkdir -p $out/bin $out/opt/$name 23 - cp objs/blackshades $out/bin 24 - cp -R Data IF* Readme $out/opt/$name/ 24 + mkdir -p $out/bin $out/share/doc/$pname 25 + cp build/blackshades $out/bin 26 + cp -R Data $out/share/$pname 27 + cp README.md $out/share/doc/$pname 25 28 ''; 26 29 27 30 meta = { 28 - homepage = "http://icculus.org/blackshades/"; 29 - description = "Protect the VIP"; 30 - license = lib.licenses.free; 31 - maintainers = with lib.maintainers; [viric]; 31 + homepage = "https://sr.ht/~cnx/blackshades"; 32 + description = "A psychic bodyguard FPS"; 33 + license = lib.licenses.gpl3Plus; 34 + maintainers = with lib.maintainers; [ McSinyx viric ]; 32 35 platforms = with lib.platforms; linux; 33 36 }; 34 37 }
pkgs/misc/emulators/commander-x16/emulator.nix pkgs/misc/emulators/commanderx16/emulator.nix
pkgs/misc/emulators/commander-x16/rom.nix pkgs/misc/emulators/commanderx16/rom.nix
+39
pkgs/misc/emulators/commanderx16/run.nix
··· 1 + { lib 2 + , stdenv 3 + , runtimeShell 4 + , symlinkJoin 5 + , writeTextFile 6 + }: 7 + 8 + { emulator, rom }: 9 + 10 + assert emulator.version == rom.version; 11 + 12 + let 13 + runScript = writeTextFile { 14 + name = "run-x16"; 15 + text = '' 16 + #!${runtimeShell} 17 + 18 + defaultRom="${rom}/share/x16-rom/rom.bin" 19 + 20 + exec "${emulator}/bin/x16emu" -rom $defaultRom "$@" 21 + ''; 22 + executable = true; 23 + destination = "/bin/run-x16"; 24 + }; 25 + in 26 + symlinkJoin { 27 + name = "run-x16-${emulator.version}"; 28 + 29 + paths = [ 30 + emulator 31 + rom 32 + runScript 33 + ]; 34 + } 35 + # TODO [ AndersonTorres ]: 36 + 37 + # 1. Parse the command line in order to allow the user to set an optional 38 + # rom-file 39 + # 2. generate runScript based on symlinkJoin (maybe a postBuild?)
+3 -2
pkgs/misc/screensavers/xlockmore/default.nix
··· 1 1 { stdenv, lib, fetchurl, pam ? null, libX11, libXext, libXinerama 2 - , libXdmcp, libXt }: 2 + , libXdmcp, libXt, autoreconfHook }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "xlockmore-5.66"; ··· 11 11 }; 12 12 13 13 # Optionally, it can use GTK. 14 - buildInputs = [ pam libX11 libXext libXinerama libXdmcp libXt ]; 14 + buildInputs = [ pam libX11 libXext.dev libXinerama libXdmcp libXt ]; 15 + nativeBuildInputs = [ autoreconfHook ]; 15 16 16 17 # Don't try to install `xlock' setuid. Password authentication works 17 18 # fine via PAM without super user privileges.
+3 -3
pkgs/servers/home-assistant/component-packages.nix
··· 186 186 "dnsip" = ps: with ps; [ aiodns ]; 187 187 "dominos" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pizzapi 188 188 "doods" = ps: with ps; [ pillow ]; # missing inputs: pydoods 189 - "doorbird" = ps: with ps; [ aiohttp-cors ]; # missing inputs: doorbirdpy 189 + "doorbird" = ps: with ps; [ aiohttp-cors doorbirdpy ]; 190 190 "dovado" = ps: with ps; [ ]; # missing inputs: dovado 191 191 "downloader" = ps: with ps; [ ]; 192 192 "dsmr" = ps: with ps; [ dsmr-parser ]; ··· 209 209 "eddystone_temperature" = ps: with ps; [ construct ]; # missing inputs: beacontools[scan] 210 210 "edimax" = ps: with ps; [ pyedimax ]; 211 211 "edl21" = ps: with ps; [ ]; # missing inputs: pysml 212 - "ee_brightbox" = ps: with ps; [ ]; # missing inputs: eebrightbox 212 + "ee_brightbox" = ps: with ps; [ eebrightbox ]; 213 213 "efergy" = ps: with ps; [ ]; 214 214 "egardia" = ps: with ps; [ pythonegardia ]; 215 215 "eight_sleep" = ps: with ps; [ pyeight ]; 216 - "elgato" = ps: with ps; [ ]; # missing inputs: elgato 216 + "elgato" = ps: with ps; [ elgato ]; 217 217 "eliqonline" = ps: with ps; [ ]; # missing inputs: eliqonline 218 218 "elkm1" = ps: with ps; [ ]; # missing inputs: elkm1-lib 219 219 "elv" = ps: with ps; [ ]; # missing inputs: pypca
+16
pkgs/servers/home-assistant/default.nix
··· 134 134 }); 135 135 }) 136 136 137 + # Pinned due to API changes in eebrightbox>=0.0.5 138 + (self: super: { 139 + eebrightbox = super.eebrightbox.overridePythonAttrs (oldAttrs: rec { 140 + version = "0.0.4"; 141 + src = fetchFromGitHub { 142 + owner = "krygal"; 143 + repo = "eebrightbox"; 144 + rev = version; 145 + sha256 = "0d8mmpwgrd7gymw5263r1v2wjv6dx6w6pq13d62fkfm4h2hya4a4"; 146 + }; 147 + }); 148 + }) 149 + 137 150 # home-assistant-frontend does not exist in python3.pkgs 138 151 (self: super: { 139 152 home-assistant-frontend = self.callPackage ./frontend.nix { }; ··· 344 357 "dialogflow" 345 358 "directv" 346 359 "discovery" 360 + "doorbird" 347 361 "dsmr" 348 362 "dte_energy_bridge" 349 363 "duckdns" ··· 352 366 "eafm" 353 367 "ecobee" 354 368 "econet" 369 + "ee_brightbox" 355 370 "efergy" 371 + "elgato" 356 372 "emonitor" 357 373 "emulated_hue" 358 374 "enphase_envoy"
+2 -2
pkgs/servers/jellyfin/default.nix
··· 41 41 in 42 42 stdenv.mkDerivation rec { 43 43 pname = "jellyfin"; 44 - version = "10.7.5"; # ensure that jellyfin-web has matching version 44 + version = "10.7.6"; # ensure that jellyfin-web has matching version 45 45 46 46 src = fetchFromGitHub { 47 47 owner = "jellyfin"; 48 48 repo = "jellyfin"; 49 49 rev = "v${version}"; 50 - sha256 = "DlbNZpomNki9zrfG0C7He0Xrq79vx4Rn8ixpekvk34E="; 50 + sha256 = "3wXB9HrOaLgHJjWpwPWVtcy8xcYBgZoE29hWqf1On2Q="; 51 51 }; 52 52 53 53 nativeBuildInputs = [
+2 -2
pkgs/servers/jellyfin/web.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "jellyfin-web"; 10 - version = "10.7.5"; 10 + version = "10.7.6"; 11 11 # TODO: on the next major release remove src.postFetch 12 12 # and use the lock file in web-update.sh: 13 13 # https://github.com/jellyfin/jellyfin-web/commit/6efef9680d55a93f4333ef8bfb65a8a650c99a49 ··· 16 16 owner = "jellyfin"; 17 17 repo = "jellyfin-web"; 18 18 rev = "v${version}"; 19 - sha256 = "5y6hWEDxY5WbOUdjujmuMV3bQVvYU2J9oIANBVN5XOc="; 19 + sha256 = "T5a17mAvx7fLla2jQp1dNswijeUbBQB1RA1ZkVpLWqM="; 20 20 postFetch = '' 21 21 mkdir -p $out 22 22 cd $out
+2 -2
pkgs/shells/hilbish/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "hilbish"; 5 - version = "0.5.0"; 5 + version = "0.5.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Rosettea"; 9 9 repo = "Hilbish"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-cYpGTk0adT3X/elrJW2Wjv4SbPvgeyYmsOHTrft8678="; 11 + sha256 = "sha256-xqGesBNN9lZTYx0kTZfFARq1a/dEC+c3Fo0xLxZuZP4="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-8l+Kb1ADMLwv0Hf/ikok8eUcEEST07rhk8BjHxJI0lc=";
+17 -14
pkgs/shells/zsh/spaceship-prompt/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub }: 1 + { lib, stdenvNoCC, fetchFromGitHub }: 2 2 3 - stdenv.mkDerivation rec { 3 + stdenvNoCC.mkDerivation rec { 4 4 pname = "spaceship-prompt"; 5 - version = "3.11.2"; 5 + version = "3.12.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "denysdovhan"; 9 - repo = "spaceship-prompt"; 10 - sha256 = "1q7m9mmg82n4fddfz01y95d5n34xnzhrnn1lli0vih39sgmzim9b"; 9 + repo = pname; 11 10 rev = "v${version}"; 11 + sha256 = "sha256-tKFah8b62wuw5vaNHddmj31UNd9kKCcQ99p8GlTnR6s="; 12 12 }; 13 + 14 + dontBuild = true; 13 15 14 16 installPhase = '' 15 - install -D -m644 LICENSE.md "$out/share/licenses/spaceship-prompt/LICENSE" 16 - install -D -m644 README.md "$out/share/doc/spaceship-prompt/README.md" 17 - find docs -type f -exec install -D -m644 {} "$out/share/doc/spaceship-prompt/{}" \; 18 - find lib -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \; 19 - find scripts -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \; 20 - find sections -type f -exec install -D -m644 {} "$out/lib/spaceship-prompt/{}" \; 21 - install -D -m644 spaceship.zsh "$out/lib/spaceship-prompt/spaceship.zsh" 17 + install -Dm644 LICENSE.md "$out/share/licenses/spaceship-prompt/LICENSE" 18 + install -Dm644 README.md "$out/share/doc/spaceship-prompt/README.md" 19 + find docs -type f -exec install -Dm644 {} "$out/share/doc/spaceship-prompt/{}" \; 20 + find lib -type f -exec install -Dm644 {} "$out/lib/spaceship-prompt/{}" \; 21 + find scripts -type f -exec install -Dm644 {} "$out/lib/spaceship-prompt/{}" \; 22 + find sections -type f -exec install -Dm644 {} "$out/lib/spaceship-prompt/{}" \; 23 + install -Dm644 spaceship.zsh "$out/lib/spaceship-prompt/spaceship.zsh" 22 24 install -d "$out/share/zsh/themes/" 23 25 ln -s "$out/lib/spaceship-prompt/spaceship.zsh" "$out/share/zsh/themes/spaceship.zsh-theme" 24 26 install -d "$out/share/zsh/site-functions/" ··· 28 30 meta = with lib; { 29 31 description = "Zsh prompt for Astronauts"; 30 32 homepage = "https://github.com/denysdovhan/spaceship-prompt/"; 33 + changelog = "https://github.com/spaceship-prompt/spaceship-prompt/releases/tag/v${version}"; 31 34 license = licenses.mit; 32 - platforms = platforms.linux ++ platforms.darwin; 33 - maintainers = with maintainers; [ nyanloutre ]; 35 + platforms = platforms.unix; 36 + maintainers = with maintainers; [ nyanloutre fortuneteller2k ]; 34 37 }; 35 38 }
+2 -2
pkgs/tools/admin/exoscale-cli/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 pname = "exoscale-cli"; 5 - version = "1.32.0"; 5 + version = "1.32.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "exoscale"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-SQWGFF43J730XFj32ZU2N8PQMP2yIiSLLfEIAbeJvBg="; 11 + sha256 = "sha256-S18SVSyFpIWkzQiRBY7i1siIPRiRR/SHAse3NJzwR3A="; 12 12 }; 13 13 14 14 goPackagePath = "github.com/exoscale/cli";
+200
pkgs/tools/audio/opl3bankeditor/0001-opl3bankeditor-Look-for-system-installed-Rt-libs.patch
··· 1 + From 11711398a1ec16f4eaeac8523b77165a560b69cc Mon Sep 17 00:00:00 2001 2 + From: OPNA2608 <christoph.neidahl@gmail.com> 3 + Date: Sun, 13 Jun 2021 13:55:53 +0200 4 + Subject: [PATCH] Look for system-installed Rt libs 5 + 6 + --- 7 + CMakeLists.txt | 159 +++++++++++++++++++++++++++++++------------------ 8 + 1 file changed, 102 insertions(+), 57 deletions(-) 9 + 10 + diff --git a/CMakeLists.txt b/CMakeLists.txt 11 + index f3e53c3..027c1b1 100644 12 + --- a/CMakeLists.txt 13 + +++ b/CMakeLists.txt 14 + @@ -50,15 +50,6 @@ message("!! Optional feature summary:") 15 + message("!! RtMidi: ${USE_RTMIDI}") 16 + message("!! RtAudio: ${USE_RTAUDIO}") 17 + 18 + -if(USE_RTAUDIO) 19 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 20 + - pkg_check_modules(JACK "jack") 21 + - message("!! -- Jack driver: ${JACK_FOUND}") 22 + - pkg_check_modules(PULSEAUDIO "libpulse-simple") 23 + - message("!! -- Pulseaudio driver: ${PULSEAUDIO_FOUND}") 24 + - endif() 25 + -endif() 26 + - 27 + if(ENABLE_PLOTS) 28 + message("!! Qwt: ${QWT_LIBRARY}") 29 + endif() 30 + @@ -250,65 +241,119 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 31 + endif() 32 + 33 + if(USE_RTMIDI) 34 + - add_library(RtMidi STATIC "src/midi/external/rtmidi/RtMidi.cpp") 35 + - target_include_directories(RtMidi PUBLIC "src/midi/external/rtmidi") 36 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 37 + - target_compile_definitions(RtMidi PUBLIC "__LINUX_ALSA__") 38 + - target_link_libraries(RtMidi PUBLIC "asound") 39 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 40 + - target_compile_definitions(RtMidi PUBLIC "__WINDOWS_MM__") 41 + - target_link_libraries(RtMidi PUBLIC "winmm") 42 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 43 + - target_compile_definitions(RtMidi PUBLIC "__MACOSX_CORE__") 44 + - find_library(COREMIDI_LIBRARY "CoreMIDI") 45 + - target_link_libraries(RtMidi PUBLIC "${COREMIDI_LIBRARY}") 46 + + if(PKG_CONFIG_FOUND) 47 + + pkg_check_modules(RTMIDI rtmidi) 48 + + if(RTMIDI_FOUND) 49 + + message("Using system-installed RtMidi found by pkg-config.") 50 + + target_link_libraries(OPL3BankEditor PUBLIC ${RTMIDI_LDFLAGS}) 51 + + target_include_directories(OPL3BankEditor PUBLIC ${RTMIDI_INCLUDE_DIRS}) 52 + + target_compile_options(OPL3BankEditor PUBLIC ${RTMIDI_CFLAGS}) 53 + + endif() 54 + endif() 55 + + 56 + + if(NOT RTMIDI_FOUND) 57 + + find_library(RTMIDI_LIBRARY "rtmidi") 58 + + find_path(RTMIDI_INCLUDE_DIRS "RtMidi.h") 59 + + message("RtMidi library: ${RTMIDI_LIBRARY}") 60 + + message("RtMidi header directory: ${RTMIDI_INCLUDE_DIRS}") 61 + + if(NOT RTMIDI_LIBRARY-NOTFOUND AND NOT RTMIDI_INCLUDE_DIRS STREQUAL RTMIDI_INCLUDE_DIRS-NOTFOUND) 62 + + message("Using system-installed RtMidi.") 63 + + set(RTMIDI_FOUND TRUE) 64 + + target_link_libraries(OPL3BankEditor PUBLIC ${RTMIDI_LIBRARY}) 65 + + target_include_directories(OPL3BankEditor PUBLIC ${RTMIDI_INCLUDE_DIRS}) 66 + + endif() 67 + + endif() 68 + + 69 + + if(NOT RTMIDI_FOUND) 70 + + message("Using bundled RtMidi.") 71 + + add_library(RtMidi STATIC "src/midi/external/rtmidi/RtMidi.cpp") 72 + + target_include_directories(RtMidi PUBLIC "src/midi/external/rtmidi") 73 + + if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 74 + + target_compile_definitions(RtMidi PUBLIC "__LINUX_ALSA__") 75 + + target_link_libraries(RtMidi PUBLIC "asound") 76 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 77 + + target_compile_definitions(RtMidi PUBLIC "__WINDOWS_MM__") 78 + + target_link_libraries(RtMidi PUBLIC "winmm") 79 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 80 + + target_compile_definitions(RtMidi PUBLIC "__MACOSX_CORE__") 81 + + find_library(COREMIDI_LIBRARY "CoreMIDI") 82 + + target_link_libraries(RtMidi PUBLIC "${COREMIDI_LIBRARY}") 83 + + endif() 84 + + target_link_libraries(OPL3BankEditor PRIVATE RtMidi) 85 + + endif() 86 + + 87 + target_sources(OPL3BankEditor PRIVATE "src/midi/midi_rtmidi.cpp") 88 + target_compile_definitions(OPL3BankEditor PRIVATE "ENABLE_MIDI") 89 + - target_link_libraries(OPL3BankEditor PRIVATE RtMidi) 90 + endif() 91 + 92 + if(USE_RTAUDIO) 93 + - add_library(RtAudio STATIC "src/audio/external/rtaudio/RtAudio.cpp") 94 + - target_include_directories(RtAudio PUBLIC "src/audio/external/rtaudio") 95 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 96 + - target_compile_definitions(RtAudio PUBLIC "__LINUX_ALSA__") 97 + - target_link_libraries(RtAudio PUBLIC "asound") 98 + - if(JACK_FOUND) 99 + - target_compile_definitions(RtAudio PUBLIC "__UNIX_JACK__") 100 + - target_include_directories(RtAudio PUBLIC ${JACK_INCLUDE_DIRS}) 101 + - link_directories(${JACK_LIBRARY_DIRS}) 102 + - target_link_libraries(RtAudio PUBLIC ${JACK_LIBRARIES}) 103 + + if(PKG_CONFIG_FOUND) 104 + + pkg_check_modules(RTAUDIO rtaudio) 105 + + if(RTAUDIO_FOUND) 106 + + message("Using system-installed RtAudio found by pkg-config.") 107 + + target_link_libraries(OPL3BankEditor PUBLIC ${RTAUDIO_LDFLAGS}) 108 + + target_include_directories(OPL3BankEditor PUBLIC ${RTAUDIO_INCLUDE_DIRS}) 109 + + target_compile_options(OPL3BankEditor PUBLIC ${RTAUDIO_CFLAGS}) 110 + + endif() 111 + + endif() 112 + + 113 + + if(NOT RTAUDIO_FOUND) 114 + + find_library(RTAUDIO_LIBRARY "rtaudio") 115 + + find_path(RTAUDIO_INCLUDE_DIRS "RtAudio.h") 116 + + message("RtAudio library: ${RTAUDIO_LIBRARY}") 117 + + message("RtAudio header directory: ${RTAUDIO_INCLUDE_DIRS}") 118 + + if(NOT RTAUDIO_LIBRARY-NOTFOUND AND NOT RTAUDIO_INCLUDE_DIRS STREQUAL RTAUDIO_INCLUDE_DIRS-NOTFOUND) 119 + + message("Using system-installed RtAudio.") 120 + + set(RTAUDIO_FOUND TRUE) 121 + + target_link_libraries(OPL3BankEditor PUBLIC ${RTAUDIO_LIBRARY}) 122 + + target_include_directories(OPL3BankEditor PUBLIC ${RTAUDIO_INCLUDE_DIRS}) 123 + endif() 124 + - if(PULSEAUDIO_FOUND) 125 + - target_compile_definitions(RtAudio PUBLIC "__LINUX_PULSE__") 126 + - target_include_directories(RtAudio PUBLIC ${PULSEAUDIO_INCLUDE_DIRS}) 127 + - link_directories(${PULSEAUDIO_LIBRARY_DIRS}) 128 + - target_link_libraries(RtAudio PUBLIC ${PULSEAUDIO_LIBRARIES}) 129 + + endif() 130 + + 131 + + if(NOT RTAUDIO_FOUND) 132 + + message("Using bundled RtAudio.") 133 + + add_library(RtAudio STATIC "src/audio/external/rtaudio/RtAudio.cpp") 134 + + target_include_directories(RtAudio PUBLIC "src/audio/external/rtaudio") 135 + + if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 136 + + target_compile_definitions(RtAudio PUBLIC "__LINUX_ALSA__") 137 + + target_link_libraries(RtAudio PUBLIC "asound") 138 + + if(JACK_FOUND) 139 + + target_compile_definitions(RtAudio PUBLIC "__UNIX_JACK__") 140 + + target_include_directories(RtAudio PUBLIC ${JACK_INCLUDE_DIRS}) 141 + + link_directories(${JACK_LIBRARY_DIRS}) 142 + + target_link_libraries(RtAudio PUBLIC ${JACK_LIBRARIES}) 143 + + endif() 144 + + if(PULSEAUDIO_FOUND) 145 + + target_compile_definitions(RtAudio PUBLIC "__LINUX_PULSE__") 146 + + target_include_directories(RtAudio PUBLIC ${PULSEAUDIO_INCLUDE_DIRS}) 147 + + link_directories(${PULSEAUDIO_LIBRARY_DIRS}) 148 + + target_link_libraries(RtAudio PUBLIC ${PULSEAUDIO_LIBRARIES}) 149 + + endif() 150 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 151 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_DS__") 152 + + target_link_libraries(RtAudio PUBLIC "dsound" "ole32") 153 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_WASAPI__") 154 + + target_link_libraries(RtAudio PUBLIC "ksguid") 155 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_ASIO__") 156 + + target_include_directories(RtAudio PRIVATE 157 + + "src/audio/external/rtaudio/include") 158 + + target_sources(RtAudio PRIVATE 159 + + "src/audio/external/rtaudio/include/asio.cpp" 160 + + "src/audio/external/rtaudio/include/asiodrivers.cpp" 161 + + "src/audio/external/rtaudio/include/asiolist.cpp" 162 + + "src/audio/external/rtaudio/include/iasiothiscallresolver.cpp") 163 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 164 + + target_compile_definitions(RtAudio PUBLIC "__MACOSX_CORE__") 165 + + find_library(COREAUDIO_LIBRARY "CoreAudio") 166 + + target_link_libraries(RtAudio PUBLIC "${COREAUDIO_LIBRARY}") 167 + + find_library(COREFOUNDATION_LIBRARY "CoreFoundation") 168 + + target_link_libraries(RtAudio PUBLIC "${COREFOUNDATION_LIBRARY}") 169 + endif() 170 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 171 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_DS__") 172 + - target_link_libraries(RtAudio PUBLIC "dsound" "ole32") 173 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_WASAPI__") 174 + - target_link_libraries(RtAudio PUBLIC "ksguid") 175 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_ASIO__") 176 + - target_include_directories(RtAudio PRIVATE 177 + - "src/audio/external/rtaudio/include") 178 + - target_sources(RtAudio PRIVATE 179 + - "src/audio/external/rtaudio/include/asio.cpp" 180 + - "src/audio/external/rtaudio/include/asiodrivers.cpp" 181 + - "src/audio/external/rtaudio/include/asiolist.cpp" 182 + - "src/audio/external/rtaudio/include/iasiothiscallresolver.cpp") 183 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 184 + - target_compile_definitions(RtAudio PUBLIC "__MACOSX_CORE__") 185 + - find_library(COREAUDIO_LIBRARY "CoreAudio") 186 + - target_link_libraries(RtAudio PUBLIC "${COREAUDIO_LIBRARY}") 187 + - find_library(COREFOUNDATION_LIBRARY "CoreFoundation") 188 + - target_link_libraries(RtAudio PUBLIC "${COREFOUNDATION_LIBRARY}") 189 + + target_link_libraries(OPL3BankEditor PRIVATE RtAudio) 190 + endif() 191 + + 192 + target_sources(OPL3BankEditor PRIVATE "src/audio/ao_rtaudio.cpp") 193 + target_compile_definitions(OPL3BankEditor PRIVATE "ENABLE_AUDIO_TESTING") 194 + - target_link_libraries(OPL3BankEditor PRIVATE RtAudio) 195 + endif() 196 + 197 + add_executable(measurer_tool 198 + -- 199 + 2.29.3 200 +
+200
pkgs/tools/audio/opl3bankeditor/0001-opn2bankeditor-Look-for-system-installed-Rt-libs.patch
··· 1 + From 69c993dacc7dc0cb9d105c3dfa764cd7be5c343e Mon Sep 17 00:00:00 2001 2 + From: OPNA2608 <christoph.neidahl@gmail.com> 3 + Date: Sun, 13 Jun 2021 14:21:17 +0200 4 + Subject: [PATCH] Look for system-installed Rt libs 5 + 6 + --- 7 + CMakeLists.txt | 159 +++++++++++++++++++++++++++++++------------------ 8 + 1 file changed, 102 insertions(+), 57 deletions(-) 9 + 10 + diff --git a/CMakeLists.txt b/CMakeLists.txt 11 + index f428dc4..18ba8c3 100644 12 + --- a/CMakeLists.txt 13 + +++ b/CMakeLists.txt 14 + @@ -41,15 +41,6 @@ message("!! Optional feature summary:") 15 + message("!! RtMidi: ${USE_RTMIDI}") 16 + message("!! RtAudio: ${USE_RTAUDIO}") 17 + 18 + -if(USE_RTAUDIO) 19 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 20 + - pkg_check_modules(JACK "jack") 21 + - message("!! -- Jack driver: ${JACK_FOUND}") 22 + - pkg_check_modules(PULSEAUDIO "libpulse-simple") 23 + - message("!! -- Pulseaudio driver: ${PULSEAUDIO_FOUND}") 24 + - endif() 25 + -endif() 26 + - 27 + if(ENABLE_PLOTS) 28 + message("!! Qwt: ${QWT_LIBRARY}") 29 + endif() 30 + @@ -198,65 +189,119 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 31 + endif() 32 + 33 + if(USE_RTMIDI) 34 + - add_library(RtMidi STATIC "src/midi/external/rtmidi/RtMidi.cpp") 35 + - target_include_directories(RtMidi PUBLIC "src/midi/external/rtmidi") 36 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 37 + - target_compile_definitions(RtMidi PUBLIC "__LINUX_ALSA__") 38 + - target_link_libraries(RtMidi PUBLIC "asound") 39 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 40 + - target_compile_definitions(RtMidi PUBLIC "__WINDOWS_MM__") 41 + - target_link_libraries(RtMidi PUBLIC "winmm") 42 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 43 + - target_compile_definitions(RtMidi PUBLIC "__MACOSX_CORE__") 44 + - find_library(COREMIDI_LIBRARY "CoreMIDI") 45 + - target_link_libraries(RtMidi PUBLIC "${COREMIDI_LIBRARY}") 46 + + if(PKG_CONFIG_FOUND) 47 + + pkg_check_modules(RTMIDI rtmidi) 48 + + if(RTMIDI_FOUND) 49 + + message("Using system-installed RtMidi found by pkg-config.") 50 + + target_link_libraries(OPN2BankEditor PUBLIC ${RTMIDI_LDFLAGS}) 51 + + target_include_directories(OPN2BankEditor PUBLIC ${RTMIDI_INCLUDE_DIRS}) 52 + + target_compile_options(OPN2BankEditor PUBLIC ${RTMIDI_CFLAGS}) 53 + + endif() 54 + + endif() 55 + + 56 + + if(NOT RTMIDI_FOUND) 57 + + find_library(RTMIDI_LIBRARY "rtmidi") 58 + + find_path(RTMIDI_INCLUDE_DIRS "RtMidi.h") 59 + + message("RtMidi library: ${RTMIDI_LIBRARY}") 60 + + message("RtMidi header directory: ${RTMIDI_INCLUDE_DIRS}") 61 + + if(NOT RTMIDI_LIBRARY-NOTFOUND AND NOT RTMIDI_INCLUDE_DIRS STREQUAL RTMIDI_INCLUDE_DIRS-NOTFOUND) 62 + + message("Using system-installed RtMidi.") 63 + + set(RTMIDI_FOUND TRUE) 64 + + target_link_libraries(OPN2BankEditor PUBLIC ${RTMIDI_LIBRARY}) 65 + + target_include_directories(OPN2BankEditor PUBLIC ${RTMIDI_INCLUDE_DIRS}) 66 + + endif() 67 + + endif() 68 + + 69 + + if(NOT RTMIDI_FOUND) 70 + + message("Using bundled RtMidi.") 71 + + add_library(RtMidi STATIC "src/midi/external/rtmidi/RtMidi.cpp") 72 + + target_include_directories(RtMidi PUBLIC "src/midi/external/rtmidi") 73 + + if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 74 + + target_compile_definitions(RtMidi PUBLIC "__LINUX_ALSA__") 75 + + target_link_libraries(RtMidi PUBLIC "asound") 76 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 77 + + target_compile_definitions(RtMidi PUBLIC "__WINDOWS_MM__") 78 + + target_link_libraries(RtMidi PUBLIC "winmm") 79 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 80 + + target_compile_definitions(RtMidi PUBLIC "__MACOSX_CORE__") 81 + + find_library(COREMIDI_LIBRARY "CoreMIDI") 82 + + target_link_libraries(RtMidi PUBLIC "${COREMIDI_LIBRARY}") 83 + + endif() 84 + + target_link_libraries(OPN2BankEditor PRIVATE RtMidi) 85 + endif() 86 + + 87 + target_sources(OPN2BankEditor PRIVATE "src/midi/midi_rtmidi.cpp") 88 + target_compile_definitions(OPN2BankEditor PRIVATE "ENABLE_MIDI") 89 + - target_link_libraries(OPN2BankEditor PRIVATE RtMidi) 90 + endif() 91 + 92 + if(USE_RTAUDIO) 93 + - add_library(RtAudio STATIC "src/audio/external/rtaudio/RtAudio.cpp") 94 + - target_include_directories(RtAudio PUBLIC "src/audio/external/rtaudio") 95 + - if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 96 + - target_compile_definitions(RtAudio PUBLIC "__LINUX_ALSA__") 97 + - target_link_libraries(RtAudio PUBLIC "asound") 98 + - if(JACK_FOUND) 99 + - target_compile_definitions(RtAudio PUBLIC "__UNIX_JACK__") 100 + - target_include_directories(RtAudio PUBLIC ${JACK_INCLUDE_DIRS}) 101 + - link_directories(${JACK_LIBRARY_DIRS}) 102 + - target_link_libraries(RtAudio PUBLIC ${JACK_LIBRARIES}) 103 + + if(PKG_CONFIG_FOUND) 104 + + pkg_check_modules(RTAUDIO rtaudio) 105 + + if(RTAUDIO_FOUND) 106 + + message("Using system-installed RtAudio found by pkg-config.") 107 + + target_link_libraries(OPN2BankEditor PUBLIC ${RTAUDIO_LDFLAGS}) 108 + + target_include_directories(OPN2BankEditor PUBLIC ${RTAUDIO_INCLUDE_DIRS}) 109 + + target_compile_options(OPN2BankEditor PUBLIC ${RTAUDIO_CFLAGS}) 110 + endif() 111 + - if(PULSEAUDIO_FOUND) 112 + - target_compile_definitions(RtAudio PUBLIC "__LINUX_PULSE__") 113 + - target_include_directories(RtAudio PUBLIC ${PULSEAUDIO_INCLUDE_DIRS}) 114 + - link_directories(${PULSEAUDIO_LIBRARY_DIRS}) 115 + - target_link_libraries(RtAudio PUBLIC ${PULSEAUDIO_LIBRARIES}) 116 + + endif() 117 + + 118 + + if(NOT RTAUDIO_FOUND) 119 + + find_library(RTAUDIO_LIBRARY "rtaudio") 120 + + find_path(RTAUDIO_INCLUDE_DIRS "RtAudio.h") 121 + + message("RtAudio library: ${RTAUDIO_LIBRARY}") 122 + + message("RtAudio header directory: ${RTAUDIO_INCLUDE_DIRS}") 123 + + if(NOT RTAUDIO_LIBRARY-NOTFOUND AND NOT RTAUDIO_INCLUDE_DIRS STREQUAL RTAUDIO_INCLUDE_DIRS-NOTFOUND) 124 + + message("Using system-installed RtAudio.") 125 + + set(RTAUDIO_FOUND TRUE) 126 + + target_link_libraries(OPN2BankEditor PUBLIC ${RTAUDIO_LIBRARY}) 127 + + target_include_directories(OPN2BankEditor PUBLIC ${RTAUDIO_INCLUDE_DIRS}) 128 + endif() 129 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 130 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_DS__") 131 + - target_link_libraries(RtAudio PUBLIC "dsound" "ole32") 132 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_WASAPI__") 133 + - target_link_libraries(RtAudio PUBLIC "ksguid") 134 + - target_compile_definitions(RtAudio PUBLIC "__WINDOWS_ASIO__") 135 + - target_include_directories(RtAudio PRIVATE 136 + - "src/audio/external/rtaudio/include") 137 + - target_sources(RtAudio PRIVATE 138 + - "src/audio/external/rtaudio/include/asio.cpp" 139 + - "src/audio/external/rtaudio/include/asiodrivers.cpp" 140 + - "src/audio/external/rtaudio/include/asiolist.cpp" 141 + - "src/audio/external/rtaudio/include/iasiothiscallresolver.cpp") 142 + - elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 143 + - target_compile_definitions(RtAudio PUBLIC "__MACOSX_CORE__") 144 + - find_library(COREAUDIO_LIBRARY "CoreAudio") 145 + - target_link_libraries(RtAudio PUBLIC "${COREAUDIO_LIBRARY}") 146 + - find_library(COREFOUNDATION_LIBRARY "CoreFoundation") 147 + - target_link_libraries(RtAudio PUBLIC "${COREFOUNDATION_LIBRARY}") 148 + endif() 149 + + 150 + + if(NOT RTAUDIO_FOUND) 151 + + message("Using bundled RtAudio.") 152 + + add_library(RtAudio STATIC "src/audio/external/rtaudio/RtAudio.cpp") 153 + + target_include_directories(RtAudio PUBLIC "src/audio/external/rtaudio") 154 + + if(CMAKE_SYSTEM_NAME STREQUAL "Linux") 155 + + target_compile_definitions(RtAudio PUBLIC "__LINUX_ALSA__") 156 + + target_link_libraries(RtAudio PUBLIC "asound") 157 + + if(JACK_FOUND) 158 + + target_compile_definitions(RtAudio PUBLIC "__UNIX_JACK__") 159 + + target_include_directories(RtAudio PUBLIC ${JACK_INCLUDE_DIRS}) 160 + + link_directories(${JACK_LIBRARY_DIRS}) 161 + + target_link_libraries(RtAudio PUBLIC ${JACK_LIBRARIES}) 162 + + endif() 163 + + if(PULSEAUDIO_FOUND) 164 + + target_compile_definitions(RtAudio PUBLIC "__LINUX_PULSE__") 165 + + target_include_directories(RtAudio PUBLIC ${PULSEAUDIO_INCLUDE_DIRS}) 166 + + link_directories(${PULSEAUDIO_LIBRARY_DIRS}) 167 + + target_link_libraries(RtAudio PUBLIC ${PULSEAUDIO_LIBRARIES}) 168 + + endif() 169 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows") 170 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_DS__") 171 + + target_link_libraries(RtAudio PUBLIC "dsound" "ole32") 172 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_WASAPI__") 173 + + target_link_libraries(RtAudio PUBLIC "ksguid") 174 + + target_compile_definitions(RtAudio PUBLIC "__WINDOWS_ASIO__") 175 + + target_include_directories(RtAudio PRIVATE 176 + + "src/audio/external/rtaudio/include") 177 + + target_sources(RtAudio PRIVATE 178 + + "src/audio/external/rtaudio/include/asio.cpp" 179 + + "src/audio/external/rtaudio/include/asiodrivers.cpp" 180 + + "src/audio/external/rtaudio/include/asiolist.cpp" 181 + + "src/audio/external/rtaudio/include/iasiothiscallresolver.cpp") 182 + + elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") 183 + + target_compile_definitions(RtAudio PUBLIC "__MACOSX_CORE__") 184 + + find_library(COREAUDIO_LIBRARY "CoreAudio") 185 + + target_link_libraries(RtAudio PUBLIC "${COREAUDIO_LIBRARY}") 186 + + find_library(COREFOUNDATION_LIBRARY "CoreFoundation") 187 + + target_link_libraries(RtAudio PUBLIC "${COREFOUNDATION_LIBRARY}") 188 + + endif() 189 + + target_link_libraries(OPN2BankEditor PRIVATE RtAudio) 190 + + endif() 191 + + 192 + target_sources(OPN2BankEditor PRIVATE "src/audio/ao_rtaudio.cpp") 193 + target_compile_definitions(OPN2BankEditor PRIVATE "ENABLE_AUDIO_TESTING") 194 + - target_link_libraries(OPN2BankEditor PRIVATE RtAudio) 195 + endif() 196 + 197 + add_executable(measurer_tool 198 + -- 199 + 2.29.3 200 +
+69
pkgs/tools/audio/opl3bankeditor/common.nix
··· 1 + { pname, chip, version, sha256, extraPatches ? [] }: 2 + 3 + { mkDerivation 4 + , stdenv 5 + , lib 6 + , fetchFromGitHub 7 + , dos2unix 8 + , cmake 9 + , pkg-config 10 + , qttools 11 + , qtbase 12 + , qwt 13 + , rtaudio 14 + , rtmidi 15 + }: 16 + 17 + let 18 + binname = "${chip} Bank Editor"; 19 + mainProgram = "${lib.strings.toLower chip}_bank_editor"; 20 + in 21 + mkDerivation rec { 22 + inherit pname version; 23 + 24 + src = fetchFromGitHub { 25 + owner = "Wohlstand"; 26 + repo = pname; 27 + rev = "v${version}"; 28 + inherit sha256; 29 + }; 30 + 31 + prePatch = '' 32 + dos2unix CMakeLists.txt 33 + ''; 34 + 35 + patches = extraPatches; 36 + 37 + nativeBuildInputs = [ 38 + dos2unix 39 + cmake 40 + pkg-config 41 + qttools 42 + ]; 43 + 44 + buildInputs = [ 45 + qtbase 46 + qwt 47 + rtaudio 48 + rtmidi 49 + ]; 50 + 51 + postInstall = lib.optionalString stdenv.hostPlatform.isDarwin '' 52 + mkdir $out/{bin,Applications} 53 + mv "${binname}.app" $out/Applications/ 54 + 55 + install_name_tool -change {,${qwt}/lib/}libqwt.6.dylib "$out/Applications/${binname}.app/Contents/MacOS/${binname}" 56 + wrapQtApp "$out/Applications/${binname}.app/Contents/MacOS/${binname}" 57 + 58 + ln -s "$out/Applications/${binname}.app/Contents/MacOS/${binname}" $out/bin/${mainProgram} 59 + ''; 60 + 61 + meta = with lib; { 62 + inherit mainProgram; 63 + description = "A small cross-platform editor of the ${chip} FM banks of different formats"; 64 + homepage = src.meta.homepage; 65 + license = licenses.gpl3Plus; 66 + platforms = platforms.all; 67 + maintainers = with maintainers; [ OPNA2608 ]; 68 + }; 69 + }
+6 -24
pkgs/tools/audio/opl3bankeditor/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, cmake, qttools, alsa-lib }: 2 - 3 - mkDerivation rec { 1 + import ./common.nix rec { 2 + pname = "opl3bankeditor"; 3 + chip = "OPL3"; 4 4 version = "1.5.1"; 5 - pname = "OPL3BankEditor"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "Wohlstand"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "1g59qrkcm4xnyxx0s2x28brqbf2ix6vriyx12pcdvfhhcdi55hxh"; 12 - fetchSubmodules = true; 13 - }; 14 - 15 - buildInputs = [ 16 - alsa-lib qttools 5 + sha256 = "08krbxlxgmc7i2r2k6d6wgi0m6k8hh3j60xf21kz4kp023w613sa"; 6 + extraPatches = [ 7 + ./0001-opl3bankeditor-Look-for-system-installed-Rt-libs.patch 17 8 ]; 18 - nativeBuildInputs = [ cmake ]; 19 - 20 - meta = with lib; { 21 - description = "A small cross-platform editor of the OPL3 FM banks of different formats"; 22 - homepage = src.meta.homepage; 23 - license = licenses.gpl3; 24 - platforms = platforms.linux; 25 - maintainers = with maintainers; [ ]; 26 - }; 27 9 }
+8 -13
pkgs/tools/audio/opl3bankeditor/opn2bankeditor.nix
··· 1 - { opl3bankeditor, fetchFromGitHub }: 2 - 3 - opl3bankeditor.overrideAttrs (oldAttrs: rec { 1 + import ./common.nix rec { 2 + pname = "opn2bankeditor"; 3 + chip = "OPN2"; 4 4 version = "1.3"; 5 - pname = "OPN2BankEditor"; 6 - 7 - src = fetchFromGitHub { 8 - owner = "Wohlstand"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "0xsvv0gxqh1lx22f1jm384f7mq1jp57fmpsx1jjaxz435w5hf8s0"; 12 - fetchSubmodules = true; 13 - }; 14 - }) 5 + sha256 = "0niam6a6y57msbl0xj23g6l7gisv4a670q0k1zqfm34804532a32"; 6 + extraPatches = [ 7 + ./0001-opn2bankeditor-Look-for-system-installed-Rt-libs.patch 8 + ]; 9 + }
+8 -3
pkgs/tools/graphics/eplot/default.nix
··· 1 1 { lib, stdenv, fetchurl, gnuplot, ruby }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "eplot-2.07"; 4 + pname = "eplot"; 5 + version = "2.09"; 5 6 6 7 # Upstream has been contacted (2015-03) regarding providing versioned 7 8 # download URLs. Initial response was positive, but no action yet. ··· 20 21 dontUnpack = true; 21 22 22 23 installPhase = '' 24 + runHook preInstall 25 + 23 26 mkdir -p "$out/bin" 24 27 cp "$src" "$out/bin/eplot" 25 28 cp "$ecSrc" "$out/bin/ec" 26 29 chmod +x "$out/bin/"* 27 30 28 31 sed -i -e "s|gnuplot -persist|${gnuplot}/bin/gnuplot -persist|" "$out/bin/eplot" 32 + 33 + runHook postInstall 29 34 ''; 30 35 31 36 meta = with lib; { ··· 39 44 This package also includes the complementary 'ec' tool (say "extract 40 45 column"). 41 46 ''; 42 - homepage = "http://liris.cnrs.fr/christian.wolf/software/eplot/"; 47 + homepage = "https://perso.liris.cnrs.fr/christian.wolf/software/eplot/"; 43 48 license = licenses.gpl2Plus; 44 49 platforms = platforms.all; 45 - maintainers = [ maintainers.bjornfor ]; 50 + maintainers = with maintainers; [ bjornfor shamilton ]; 46 51 }; 47 52 }
+2 -2
pkgs/tools/misc/chezmoi/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "chezmoi"; 5 - version = "2.0.14"; 5 + version = "2.0.15"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "twpayne"; 9 9 repo = "chezmoi"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-nOXp7NdSZaWivrYd6TsmTtS2c8eBvEY7Ba0zZEEEI0A="; 11 + sha256 = "sha256-PUcsDyszFT4DzTwvbcCO8FQErvmotmY7gREZ2sgpcw8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-7SfqBxCfOYwePK/6SsWS5StuVr0png6WjQXIDuQW0EE=";
+4 -3
pkgs/tools/misc/discocss/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "discocss"; 5 - version = "0.1.1"; 5 + version = "0.2.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "mlvzk"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-EdkcTVDFQppBeAoyM5hMMIK0d4B87JyVlmCW7zlGfDs="; 11 + sha256 = "sha256-afmQCOOZ1MwQkbZZNHYfq2+IRv2eOtYBrGVHzDEbUHw="; 12 12 }; 13 13 14 14 dontBuild = true; 15 15 16 16 installPhase = '' 17 - install -m755 -D ./discocss $out/bin/discocss 17 + install -Dm755 ./discocss $out/bin/discocss 18 18 ''; 19 19 20 20 meta = with lib; { 21 21 description = "A tiny Discord css-injector"; 22 + changelog = "https://github.com/mlvzk/discocss/releases/tag/v${version}"; 22 23 homepage = "https://github.com/mlvzk/discocss"; 23 24 license = licenses.mpl20; 24 25 platforms = platforms.unix;
+3 -3
pkgs/tools/misc/fselect/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "fselect"; 5 - version = "0.7.5"; 5 + version = "0.7.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jhspetersson"; 9 9 repo = "fselect"; 10 10 rev = version; 11 - sha256 = "sha256-6/mcGq6qKYmcBcNndYYJB3rnHr6ZVpEcVjJBz7NEJEw="; 11 + sha256 = "sha256-uIqkk0aQVPXUWjOWmMTdM28Ihi+mflPpxnXJLFIQYJw="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-W6YmFsTlU3LD3tvhLuA/3k/269gR2RLLOo86BQC5x98="; 14 + cargoSha256 = "sha256-5LRCLJbLiocB/VDf9MMxyIsERmOvuSAQEe822Dcu2j8="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17 buildInputs = lib.optional stdenv.isDarwin libiconv;
+1 -1
pkgs/tools/misc/ncdu/default.nix
··· 16 16 homepage = "https://dev.yorhel.nl/ncdu"; 17 17 license = licenses.mit; 18 18 platforms = platforms.all; 19 - maintainers = with maintainers; [ pSub zowoq ]; 19 + maintainers = with maintainers; [ pSub SuperSandro2000 ]; 20 20 }; 21 21 }
+1 -1
pkgs/tools/security/metasploit/Gemfile
··· 1 1 # frozen_string_literal: true 2 2 source "https://rubygems.org" 3 3 4 - gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.0.48" 4 + gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.0.49"
+8 -8
pkgs/tools/security/metasploit/Gemfile.lock
··· 1 1 GIT 2 2 remote: https://github.com/rapid7/metasploit-framework 3 - revision: 4ec1009a615521371dd98576c456f62f63190ad9 4 - ref: refs/tags/6.0.48 3 + revision: 2e07122e80d8ae23e6aa53ae0fcb9dfca6639c59 4 + ref: refs/tags/6.0.49 5 5 specs: 6 - metasploit-framework (6.0.48) 6 + metasploit-framework (6.0.49) 7 7 actionpack (~> 5.2.2) 8 8 activerecord (~> 5.2.2) 9 9 activesupport (~> 5.2.2) ··· 125 125 arel-helpers (2.12.0) 126 126 activerecord (>= 3.1.0, < 7) 127 127 aws-eventstream (1.1.1) 128 - aws-partitions (1.467.0) 129 - aws-sdk-core (3.114.2) 128 + aws-partitions (1.469.0) 129 + aws-sdk-core (3.114.3) 130 130 aws-eventstream (~> 1, >= 1.0.2) 131 131 aws-partitions (~> 1, >= 1.239.0) 132 132 aws-sigv4 (~> 1.1) 133 133 jmespath (~> 1.0) 134 - aws-sdk-ec2 (1.242.0) 134 + aws-sdk-ec2 (1.244.0) 135 135 aws-sdk-core (~> 3, >= 3.112.0) 136 136 aws-sigv4 (~> 1.1) 137 137 aws-sdk-iam (1.55.0) 138 138 aws-sdk-core (~> 3, >= 3.112.0) 139 139 aws-sigv4 (~> 1.1) 140 - aws-sdk-kms (1.43.0) 140 + aws-sdk-kms (1.44.0) 141 141 aws-sdk-core (~> 3, >= 3.112.0) 142 142 aws-sigv4 (~> 1.1) 143 143 aws-sdk-s3 (1.96.1) ··· 391 391 warden (1.2.9) 392 392 rack (>= 2.0.9) 393 393 webrick (1.7.0) 394 - websocket-driver (0.7.4) 394 + websocket-driver (0.7.5) 395 395 websocket-extensions (>= 0.1.0) 396 396 websocket-extensions (0.1.5) 397 397 windows_error (0.1.2)
+2 -2
pkgs/tools/security/metasploit/default.nix
··· 8 8 }; 9 9 in stdenv.mkDerivation rec { 10 10 pname = "metasploit-framework"; 11 - version = "6.0.48"; 11 + version = "6.0.49"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "rapid7"; 15 15 repo = "metasploit-framework"; 16 16 rev = version; 17 - sha256 = "sha256-E7vuuQ4vxm+pUi95d5rnz8Rgp0DmV08sgtswfzUaa0o="; 17 + sha256 = "sha256-qpUzFA4nowrveI3N6kiiM1a4EQq9Y3m94VRjhHLIvn8="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ makeWrapper ];
+13 -13
pkgs/tools/security/metasploit/gemset.nix
··· 114 114 platforms = []; 115 115 source = { 116 116 remotes = ["https://rubygems.org"]; 117 - sha256 = "18j2m4i70zinxvwib53kclyvgl5j474nm230yy15bqsfhmhm5qqc"; 117 + sha256 = "0xh65jmz3s12kfi7ij0j89d638nzdvq4z6dq9amzgmiw09ycvdbr"; 118 118 type = "gem"; 119 119 }; 120 - version = "1.467.0"; 120 + version = "1.469.0"; 121 121 }; 122 122 aws-sdk-core = { 123 123 groups = ["default"]; 124 124 platforms = []; 125 125 source = { 126 126 remotes = ["https://rubygems.org"]; 127 - sha256 = "09ybqvdmxcw0jgyjy99c5nr0jirs1yyp0lqy95hl0wgvxhvck001"; 127 + sha256 = "10wk5y4flc04cc42cmcfgr9sj67mz4582d45xmll56mpz4cw5cfc"; 128 128 type = "gem"; 129 129 }; 130 - version = "3.114.2"; 130 + version = "3.114.3"; 131 131 }; 132 132 aws-sdk-ec2 = { 133 133 groups = ["default"]; 134 134 platforms = []; 135 135 source = { 136 136 remotes = ["https://rubygems.org"]; 137 - sha256 = "0zbhgfd4x70ikajximd4s4ni6rd9bvylxwqzh84iwmjngf2sa5fi"; 137 + sha256 = "0xnpxgcmacmqs98swlv3qkg7svpwydb1kqsngqciyg3jddzxrzp6"; 138 138 type = "gem"; 139 139 }; 140 - version = "1.242.0"; 140 + version = "1.244.0"; 141 141 }; 142 142 aws-sdk-iam = { 143 143 groups = ["default"]; ··· 154 154 platforms = []; 155 155 source = { 156 156 remotes = ["https://rubygems.org"]; 157 - sha256 = "01pd0f4srsa65zl4zq4014p9j5yrr2yy9h9ab17g3w9d0qqm2vsh"; 157 + sha256 = "0407yggwsy89fzh387vq3af5azplci5v0a8y97h7r6da4jrv1ksm"; 158 158 type = "gem"; 159 159 }; 160 - version = "1.43.0"; 160 + version = "1.44.0"; 161 161 }; 162 162 aws-sdk-s3 = { 163 163 groups = ["default"]; ··· 574 574 platforms = []; 575 575 source = { 576 576 fetchSubmodules = false; 577 - rev = "4ec1009a615521371dd98576c456f62f63190ad9"; 578 - sha256 = "0jkb38spyc6vh8n4ymz682kn1i6gwyd7fy9gaalnziig1swyxfqk"; 577 + rev = "2e07122e80d8ae23e6aa53ae0fcb9dfca6639c59"; 578 + sha256 = "0zxyr1r88qslw6ypjqxx188vhmikl94fmkcdg3phm8r71qa375da"; 579 579 type = "git"; 580 580 url = "https://github.com/rapid7/metasploit-framework"; 581 581 }; 582 - version = "6.0.48"; 582 + version = "6.0.49"; 583 583 }; 584 584 metasploit-model = { 585 585 groups = ["default"]; ··· 1426 1426 platforms = []; 1427 1427 source = { 1428 1428 remotes = ["https://rubygems.org"]; 1429 - sha256 = "0l1wmvs0yf8gz64rymijx2pygwch99qdci91q8j193fwrz22bp7x"; 1429 + sha256 = "0a3bwxd9v3ghrxzjc4vxmf4xa18c6m4xqy5wb0yk5c6b9psc7052"; 1430 1430 type = "gem"; 1431 1431 }; 1432 - version = "0.7.4"; 1432 + version = "0.7.5"; 1433 1433 }; 1434 1434 websocket-extensions = { 1435 1435 groups = ["default"];
+11 -19
pkgs/tools/security/rekor/default.nix
··· 1 1 { lib, buildGoModule, fetchFromGitHub }: 2 2 3 3 let 4 - generic = { pname, subPackages, description, postInstall }: 4 + generic = { pname, packageToBuild, description }: 5 5 buildGoModule rec { 6 6 inherit pname; 7 - version = "0.1.1"; 7 + version = "0.2.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "sigstore"; 11 11 repo = "rekor"; 12 12 rev = "v${version}"; 13 - sha256 = "1hvkfvc747g5r4h8vb1d8ikqxmlyxsycnlh78agmmjpxlasspmbk"; 13 + sha256 = "1y6qw55r30jgkcwc6434ly0v9dcfa2lc7z5djn7rjcqrjg3gn7yv"; 14 14 }; 15 15 16 - vendorSha256 = "0vdir9ia3hv27rkm6jnvhsfc3mxw36xfvwqnfd34rgzmzcfxlrbv"; 16 + vendorSha256 = "1wlh505ypwyr91wi80fpbap3far3fljwjd4mql2qcqgg0b1yay9s"; 17 + 18 + subPackages = [ packageToBuild ]; 17 19 18 - inherit subPackages postInstall; 20 + preBuild = '' 21 + buildFlagsArray+=("-ldflags" "-s -w -X github.com/sigstore/rekor/${packageToBuild}/app.gitVersion=v${version}") 22 + ''; 19 23 20 24 meta = with lib; { 21 25 inherit description; ··· 28 32 in { 29 33 rekor-cli = generic { 30 34 pname = "rekor-cli"; 31 - subPackages = [ "cmd/cli" ]; 32 - # Will not be needed with the next version, the package as been renamed upstream 33 - postInstall = '' 34 - if [ -f "$out/bin/cli" ]; then 35 - mv "$out/bin/cli" "$out/bin/rekor-client" 36 - fi 37 - ''; 35 + packageToBuild = "cmd/rekor-cli"; 38 36 description = "CLI client for Sigstore, the Signature Transparency Log"; 39 37 }; 40 38 rekor-server = generic { 41 39 pname = "rekor-server"; 42 - subPackages = [ "cmd/server" ]; 43 - # Will not be needed with the next version, the package as been renamed upstream 44 - postInstall = '' 45 - if [ -f "$out/bin/server" ]; then 46 - mv "$out/bin/server" "$out/bin/rekor-server" 47 - fi 48 - ''; 40 + packageToBuild = "cmd/rekor-server"; 49 41 description = "Sigstore server, the Signature Transparency Log"; 50 42 }; 51 43 }
+9 -1
pkgs/tools/system/gdu/default.nix
··· 35 35 installManPage gdu.1 36 36 ''; 37 37 38 - doCheck = !(stdenv.isAarch64 || stdenv.isDarwin); 38 + # doCheck = !(stdenv.isAarch64 || stdenv.isDarwin); 39 + # also fails x86_64-linux on hydra with: 40 + # dir_test.go:82: 41 + # Error Trace: dir_test.go:82 42 + # Error: Not equal: 43 + # expected: 0 44 + # actual : 512 45 + # Test: TestFlags 46 + doCheck = false; 39 47 40 48 meta = with lib; { 41 49 description = "Disk usage analyzer with console interface";
+1 -1
pkgs/tools/text/vgrep/default.nix
··· 27 27 description = "User-friendly pager for grep/git-grep/ripgrep"; 28 28 homepage = "https://github.com/vrothberg/vgrep"; 29 29 license = licenses.gpl3Only; 30 - maintainers = with maintainers; [ zowoq ]; 30 + maintainers = with maintainers; [ SuperSandro2000 ]; 31 31 }; 32 32 }
+28 -11
pkgs/top-level/all-packages.nix
··· 765 765 766 766 adafruit-ampy = callPackage ../tools/misc/adafruit-ampy { }; 767 767 768 - adlplug = callPackage ../applications/audio/adlplug { }; 768 + adlplug = callPackage ../applications/audio/adlplug { 769 + inherit (darwin) libobjc; 770 + inherit (darwin.apple_sdk.frameworks) Cocoa CoreServices WebKit DiscRecording; 771 + jack = libjack2; 772 + }; 773 + opnplug = adlplug.override { 774 + type = "OPN"; 775 + }; 769 776 770 777 arc_unpacker = callPackage ../tools/archivers/arc_unpacker { }; 771 - 772 - opnplug = callPackage ../applications/audio/adlplug { 773 - adlplugChip = "-DADLplug_CHIP=OPN2"; 774 - pname = "OPNplug"; 775 - }; 776 778 777 779 adminer = callPackage ../servers/adminer { }; 778 780 ··· 7041 7043 7042 7044 munge = callPackage ../tools/security/munge { }; 7043 7045 7044 - munt = libsForQt5.callPackage ../applications/audio/munt { }; 7046 + munt = libsForQt5.callPackage ../applications/audio/munt { 7047 + jack = libjack2; 7048 + }; 7045 7049 7046 7050 mutagen = callPackage ../tools/misc/mutagen { }; 7047 7051 ··· 7588 7592 olsrd = callPackage ../tools/networking/olsrd { }; 7589 7593 7590 7594 opl3bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor { }; 7591 - 7592 - opn2bankeditor = callPackage ../tools/audio/opl3bankeditor/opn2bankeditor.nix { }; 7595 + opn2bankeditor = libsForQt5.callPackage ../tools/audio/opl3bankeditor/opn2bankeditor.nix { }; 7593 7596 7594 7597 orangefs = callPackage ../tools/filesystems/orangefs { 7595 7598 autoreconfHook = buildPackages.autoreconfHook269; ··· 14779 14782 vdpauinfo; 14780 14783 }; 14781 14784 14785 + drogon = callPackage ../development/libraries/drogon { }; 14786 + 14782 14787 dssi = callPackage ../development/libraries/dssi {}; 14783 14788 14784 14789 duckdb = callPackage ../development/libraries/duckdb {}; ··· 15920 15925 15921 15926 libbass = (callPackage ../development/libraries/audio/libbass { }).bass; 15922 15927 libbass_fx = (callPackage ../development/libraries/audio/libbass { }).bass_fx; 15928 + 15929 + libbencodetools = callPackage ../development/libraries/libbencodetools { }; 15923 15930 15924 15931 libbluedevil = callPackage ../development/libraries/libbluedevil { }; 15925 15932 ··· 25559 25566 25560 25567 nwg-launchers = callPackage ../applications/misc/nwg-launchers { }; 25561 25568 25569 + nwg-menu = callPackage ../applications/misc/nwg-menu { }; 25570 + 25562 25571 ocenaudio = callPackage ../applications/audio/ocenaudio { }; 25563 25572 25564 25573 onlyoffice-bin = callPackage ../applications/office/onlyoffice-bin { }; ··· 28138 28147 28139 28148 ledger-live-desktop = callPackage ../applications/blockchains/ledger-live-desktop { }; 28140 28149 28150 + lightning-loop = callPackage ../applications/blockchains/lightning-loop { }; 28151 + 28152 + lightning-pool = callPackage ../applications/blockchains/lightning-pool { }; 28153 + 28141 28154 litecoin = libsForQt514.callPackage ../applications/blockchains/litecoin.nix { 28142 28155 inherit (darwin.apple_sdk.frameworks) AppKit; 28143 28156 }; ··· 31623 31636 31624 31637 yapesdl = callPackage ../misc/emulators/yapesdl { }; 31625 31638 31626 - x16-emulator = callPackage ../misc/emulators/commander-x16/emulator.nix { }; 31627 - x16-rom = callPackage ../misc/emulators/commander-x16/rom.nix { }; 31639 + x16-emulator = callPackage ../misc/emulators/commanderx16/emulator.nix { }; 31640 + x16-rom = callPackage ../misc/emulators/commanderx16/rom.nix { }; 31641 + x16-run = (callPackage ../misc/emulators/commanderx16/run.nix { }) { 31642 + emulator = x16-emulator; 31643 + rom = x16-rom; 31644 + }; 31628 31645 31629 31646 bullet = callPackage ../development/libraries/bullet { 31630 31647 inherit (darwin.apple_sdk.frameworks) Cocoa OpenGL;
+2
pkgs/top-level/ocaml-packages.nix
··· 1034 1034 1035 1035 tls = callPackage ../development/ocaml-modules/tls { }; 1036 1036 1037 + tls-async = callPackage ../development/ocaml-modules/tls/async.nix { }; 1038 + 1037 1039 tls-mirage = callPackage ../development/ocaml-modules/tls/mirage.nix { }; 1038 1040 1039 1041 torch = callPackage ../development/ocaml-modules/torch {
+10
pkgs/top-level/python-packages.nix
··· 1277 1277 1278 1278 caldav = callPackage ../development/python-modules/caldav { }; 1279 1279 1280 + calmjs-parse = callPackage ../development/python-modules/calmjs-parse { }; 1281 + 1280 1282 can = callPackage ../development/python-modules/can { }; 1281 1283 1282 1284 canmatrix = callPackage ../development/python-modules/canmatrix { }; ··· 2144 2146 2145 2147 dominate = callPackage ../development/python-modules/dominate { }; 2146 2148 2149 + doorbirdpy = callPackage ../development/python-modules/doorbirdpy { }; 2150 + 2147 2151 dopy = callPackage ../development/python-modules/dopy { }; 2148 2152 2149 2153 dotty-dict = callPackage ../development/python-modules/dotty-dict { }; ··· 2229 2233 2230 2234 edward = callPackage ../development/python-modules/edward { }; 2231 2235 2236 + eebrightbox = callPackage ../development/python-modules/eebrightbox { }; 2237 + 2232 2238 effect = callPackage ../development/python-modules/effect { }; 2233 2239 2234 2240 eggdeps = callPackage ../development/python-modules/eggdeps { }; 2241 + 2242 + elgato = callPackage ../development/python-modules/elgato { }; 2235 2243 2236 2244 elasticsearch = callPackage ../development/python-modules/elasticsearch { }; 2237 2245 ··· 7175 7183 pyxnat = callPackage ../development/python-modules/pyxnat { }; 7176 7184 7177 7185 pyyaml = callPackage ../development/python-modules/pyyaml { }; 7186 + 7187 + pyyaml-env-tag = callPackage ../development/python-modules/pyyaml-env-tag { }; 7178 7188 7179 7189 pyzerproc = callPackage ../development/python-modules/pyzerproc { }; 7180 7190