Merge master into staging-next

authored by github-actions[bot] and committed by GitHub c2c4d2b8 ccdd0f7a

+307 -315
+4 -4
pkgs/applications/audio/flacon/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, cmake, libuchardet, pkg-config, shntool, flac 2 - , opusTools, vorbis-tools, mp3gain, lame, wavpack, vorbisgain, gtk3, qtbase 3 , qttools, wrapQtAppsHook }: 4 5 stdenv.mkDerivation rec { 6 pname = "flacon"; 7 - version = "7.0.1"; 8 9 src = fetchFromGitHub { 10 owner = "flacon"; 11 repo = "flacon"; 12 rev = "v${version}"; 13 - sha256 = "sha256-35tARJkyhC8EisIyDCwuT/UUruzLjJRUuZysuqeNssM="; 14 }; 15 16 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; 17 - buildInputs = [ qtbase qttools libuchardet ]; 18 19 bin_path = lib.makeBinPath [ 20 shntool
··· 1 { stdenv, lib, fetchFromGitHub, cmake, libuchardet, pkg-config, shntool, flac 2 + , opusTools, vorbis-tools, mp3gain, lame, taglib, wavpack, vorbisgain, gtk3, qtbase 3 , qttools, wrapQtAppsHook }: 4 5 stdenv.mkDerivation rec { 6 pname = "flacon"; 7 + version = "9.0.0"; 8 9 src = fetchFromGitHub { 10 owner = "flacon"; 11 repo = "flacon"; 12 rev = "v${version}"; 13 + sha256 = "sha256-x27tp8NnAae8y8n9Z1JMobFrgPVRADVZj2cRyul7+cM="; 14 }; 15 16 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; 17 + buildInputs = [ qtbase qttools libuchardet taglib ]; 18 19 bin_path = lib.makeBinPath [ 20 shntool
-82
pkgs/applications/audio/google-play-music-desktop-player/default.nix
··· 1 - { lib, stdenv, alsa-lib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype 2 - , fetchurl, GConf, gdk-pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr 3 - , nss, pango, udev, xorg 4 - }: 5 - 6 - let 7 - version = "4.7.1"; 8 - 9 - deps = [ 10 - alsa-lib 11 - atk 12 - at-spi2-atk 13 - cairo 14 - cups 15 - dbus 16 - expat 17 - fontconfig 18 - freetype 19 - GConf 20 - gdk-pixbuf 21 - glib 22 - gtk2 23 - gtk3 24 - libpulseaudio 25 - nspr 26 - nss 27 - pango 28 - stdenv.cc.cc 29 - udev 30 - xorg.libX11 31 - xorg.libxcb 32 - xorg.libXcomposite 33 - xorg.libXcursor 34 - xorg.libXdamage 35 - xorg.libXext 36 - xorg.libXfixes 37 - xorg.libXi 38 - xorg.libXrandr 39 - xorg.libXrender 40 - xorg.libXScrnSaver 41 - xorg.libXtst 42 - ]; 43 - 44 - in 45 - 46 - stdenv.mkDerivation { 47 - pname = "google-play-music-desktop-player"; 48 - inherit version; 49 - 50 - src = fetchurl { 51 - url = "https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/v${version}/google-play-music-desktop-player_${version}_amd64.deb"; 52 - sha256 = "1ljm9c5sv6wa7pa483yq03wq9j1h1jdh8363z5m2imz407yzgm5r"; 53 - }; 54 - 55 - dontBuild = true; 56 - nativeBuildInputs = [ dpkg makeWrapper ]; 57 - 58 - unpackPhase = '' 59 - dpkg -x $src . 60 - ''; 61 - 62 - installPhase = '' 63 - mkdir -p $out 64 - cp -r ./usr/share $out 65 - cp -r ./usr/bin $out 66 - 67 - patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 68 - "$out/share/google-play-music-desktop-player/Google Play Music Desktop Player" 69 - 70 - wrapProgram $out/bin/google-play-music-desktop-player \ 71 - --prefix LD_LIBRARY_PATH : "$out/share/google-play-music-desktop-player" \ 72 - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath deps}" 73 - ''; 74 - 75 - meta = { 76 - homepage = "https://www.googleplaymusicdesktopplayer.com/"; 77 - description = "A beautiful cross platform Desktop Player for Google Play Music and YouTube Music"; 78 - license = lib.licenses.mit; 79 - platforms = [ "x86_64-linux" ]; 80 - maintainers = with lib.maintainers; [ anna328p SuprDewd ]; 81 - }; 82 - }
···
+2 -2
pkgs/applications/editors/featherpad/default.nix
··· 3 4 mkDerivation rec { 5 pname = "featherpad"; 6 - version = "1.1.1"; 7 8 src = fetchFromGitHub { 9 owner = "tsujan"; 10 repo = "FeatherPad"; 11 rev = "V${version}"; 12 - sha256 = "sha256-qDhubKk6FLZmVxp4SkGm1B7zIg6rPtPRoFGCcBYUDFA="; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config qttools ];
··· 3 4 mkDerivation rec { 5 pname = "featherpad"; 6 + version = "1.2.0"; 7 8 src = fetchFromGitHub { 9 owner = "tsujan"; 10 repo = "FeatherPad"; 11 rev = "V${version}"; 12 + sha256 = "sha256-KKk3acjzqtNhetus/TZFSv2SUSYMzWrYYQ+Uj/XLSKc="; 13 }; 14 15 nativeBuildInputs = [ cmake pkg-config qttools ];
+2 -2
pkgs/applications/editors/netbeans/default.nix
··· 3 }: 4 5 let 6 - version = "13"; 7 desktopItem = makeDesktopItem { 8 name = "netbeans"; 9 exec = "netbeans"; ··· 19 inherit version; 20 src = fetchurl { 21 url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip"; 22 - hash = "sha512-Xnh2OhnHOo++gGPx1o/WmcTHV7KNVeeT6ut9xH2Zo0EFtt43GFi2+HLOXm3u/IcjAzWlbGvIp9+TVUnwDusDoA=="; 23 }; 24 25 buildCommand = ''
··· 3 }: 4 5 let 6 + version = "14"; 7 desktopItem = makeDesktopItem { 8 name = "netbeans"; 9 exec = "netbeans"; ··· 19 inherit version; 20 src = fetchurl { 21 url = "mirror://apache/netbeans/netbeans/${version}/netbeans-${version}-bin.zip"; 22 + hash = "sha512-AEuUOiVCvZh4SjghQR2j8LBIubEBzEaZqWsb93icZU9K1sc6ddUanLD0NsQhzjK6oK1EDv5GG9PmqOXo6Sf1xg=="; 23 }; 24 25 buildCommand = ''
+1
pkgs/applications/emulators/bochs/default.nix
··· 130 license = licenses.lgpl2Plus; 131 maintainers = with maintainers; [ AndersonTorres ]; 132 platforms = platforms.unix; 133 }; 134 } 135 # TODO: a better way to organize the options
··· 130 license = licenses.lgpl2Plus; 131 maintainers = with maintainers; [ AndersonTorres ]; 132 platforms = platforms.unix; 133 + broken = stdenv.isDarwin; 134 }; 135 } 136 # TODO: a better way to organize the options
+5 -5
pkgs/applications/emulators/wine/sources.nix
··· 46 47 unstable = fetchurl rec { 48 # NOTE: Don't forget to change the SHA256 for staging as well. 49 - version = "7.8"; 50 url = "https://dl.winehq.org/wine/source/7.x/wine-${version}.tar.xz"; 51 - sha256 = "sha256-j3bpyWtQ8qyOJOXe7fo+DZWWpXBnCSJvZalMahYAGbg="; 52 inherit (stable) gecko32 gecko64 patches; 53 54 mono = fetchurl rec { 55 - version = "7.2.0"; 56 url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi"; 57 - sha256 = "sha256-Xwbq+646SezDHfzqd3B1vUTwzBJuT7Tijs76ButDYyM="; 58 }; 59 }; 60 61 staging = fetchFromGitHub rec { 62 # https://github.com/wine-staging/wine-staging/releases 63 inherit (unstable) version; 64 - sha256 = "sha256-payP+lx/aGZErGbkpogNMgsE393e7F2VGrllDKu/Lws="; 65 owner = "wine-staging"; 66 repo = "wine-staging"; 67 rev = "v${version}";
··· 46 47 unstable = fetchurl rec { 48 # NOTE: Don't forget to change the SHA256 for staging as well. 49 + version = "7.10"; 50 url = "https://dl.winehq.org/wine/source/7.x/wine-${version}.tar.xz"; 51 + sha256 = "sha256-P+skzYWYwQ9q9xHnSsK10kQrtNO4wHj506JTroc2SA0="; 52 inherit (stable) gecko32 gecko64 patches; 53 54 mono = fetchurl rec { 55 + version = "7.3.0"; 56 url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi"; 57 + sha256 = "sha256-k54vVmlyDQ0Px+MFQmYioRozt644XE1+WB4p6iZOIv8="; 58 }; 59 }; 60 61 staging = fetchFromGitHub rec { 62 # https://github.com/wine-staging/wine-staging/releases 63 inherit (unstable) version; 64 + sha256 = "sha256-5Pt98pla6t+B3FjB80hOWJUO64jY1EmOPQ0hEkFBWxY="; 65 owner = "wine-staging"; 66 repo = "wine-staging"; 67 rev = "v${version}";
+2 -2
pkgs/applications/misc/cherrytree/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "cherrytree"; 21 - version = "0.99.46"; 22 23 src = fetchFromGitHub { 24 owner = "giuspen"; 25 repo = "cherrytree"; 26 rev = version; 27 - sha256 = "sha256-yX9USGiiCwtBcg055D8xBHoiCafQWtQFqf5i5bsi13U="; 28 }; 29 30 nativeBuildInputs = [
··· 18 19 stdenv.mkDerivation rec { 20 pname = "cherrytree"; 21 + version = "0.99.47"; 22 23 src = fetchFromGitHub { 24 owner = "giuspen"; 25 repo = "cherrytree"; 26 rev = version; 27 + sha256 = "sha256-qKBf/7DBIpK1o/xlDlWeVXkSSV5a3y9hoWsAzeTIsf4="; 28 }; 29 30 nativeBuildInputs = [
+5 -5
pkgs/applications/networking/cluster/argocd/default.nix
··· 2 3 buildGoModule rec { 4 pname = "argocd"; 5 - version = "2.3.4"; 6 7 src = fetchFromGitHub { 8 owner = "argoproj"; 9 repo = "argo-cd"; 10 rev = "v${version}"; 11 - sha256 = "sha256-pWDwmsLCXoK8EzipOPXUdYu75hPm5AIExXmgoA102Dg="; 12 }; 13 14 - vendorSha256 = "sha256-XrIIMnn65Y10KnVTsmw6vLE53Zra1lWNFgklmaj3gF8="; 15 16 # Set target as ./cmd per cli-local 17 # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227 ··· 26 "-X ${package_url}.gitCommit=${src.rev}" 27 "-X ${package_url}.gitTag=${src.rev}" 28 "-X ${package_url}.gitTreeState=clean" 29 - "-X ${package_url}.kubectlVersion=v0.23.1" 30 # NOTE: Update kubectlVersion when upgrading this package with 31 - # go list -m k8s.io/client-go | head -n 1 | rev | cut -d' ' -f1 | rev 32 # Per https://github.com/argoproj/argo-cd/blob/master/Makefile#L18 33 # Will need a way to automate it :P 34 ];
··· 2 3 buildGoModule rec { 4 pname = "argocd"; 5 + version = "2.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "argoproj"; 9 repo = "argo-cd"; 10 rev = "v${version}"; 11 + sha256 = "sha256-U3i3shXsItQQlkFl/DrGdSHY2AAhaYV5WX3B+6TlOPw="; 12 }; 13 14 + vendorSha256 = "sha256-j/35tvfUCcuFN8NGIjWgna1W0Q4CyhMLcOlepTAUl0w="; 15 16 # Set target as ./cmd per cli-local 17 # https://github.com/argoproj/argo-cd/blob/master/Makefile#L227 ··· 26 "-X ${package_url}.gitCommit=${src.rev}" 27 "-X ${package_url}.gitTag=${src.rev}" 28 "-X ${package_url}.gitTreeState=clean" 29 + "-X ${package_url}.kubectlVersion=v0.23.3" 30 # NOTE: Update kubectlVersion when upgrading this package with 31 + # https://github.com/argoproj/argo-cd/blob/master/go.mod#L95 32 # Per https://github.com/argoproj/argo-cd/blob/master/Makefile#L18 33 # Will need a way to automate it :P 34 ];
+3 -3
pkgs/applications/networking/cluster/istioctl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "istioctl"; 5 - version = "1.13.3"; 6 7 src = fetchFromGitHub { 8 owner = "istio"; 9 repo = "istio"; 10 rev = version; 11 - sha256 = "sha256-XvV6OlGHW/eB0EUrmyTlFVbDjbxUpVo6WvrEnh6Q68I="; 12 }; 13 - vendorSha256 = "sha256-Ex86yLMTqqiSkJns/eeodmGswAzPVQAQOf8Wqi7DRaE="; 14 15 nativeBuildInputs = [ installShellFiles ]; 16
··· 2 3 buildGoModule rec { 4 pname = "istioctl"; 5 + version = "1.14.1"; 6 7 src = fetchFromGitHub { 8 owner = "istio"; 9 repo = "istio"; 10 rev = version; 11 + sha256 = "sha256-Y8Bo2niIyvBE3BPpnSanFrR8ZHIUdG7iKSOyD6YadIM="; 12 }; 13 + vendorSha256 = "sha256-MnSOWJwTOQmHnABRYNJwU9kOr7g51rkUaERksupBTb4="; 14 15 nativeBuildInputs = [ installShellFiles ]; 16
+3 -3
pkgs/applications/networking/cluster/pgo-client/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pgo-client"; 5 - version = "4.7.4"; 6 7 src = fetchFromGitHub { 8 owner = "CrunchyData"; 9 repo = "postgres-operator"; 10 rev = "v${version}"; 11 - sha256 = "sha256-8L3eFMATCGIM6xxUM7mi/D3njHMFk7cgPLJotilAS5k="; 12 }; 13 14 - vendorSha256 = "sha256-4Vz7Lioj6iLU7dbz/B2BSAgfaCl2MyC8MM9yiyWLi2o="; 15 16 subPackages = [ "cmd/pgo" ]; 17
··· 2 3 buildGoModule rec { 4 pname = "pgo-client"; 5 + version = "4.7.5"; 6 7 src = fetchFromGitHub { 8 owner = "CrunchyData"; 9 repo = "postgres-operator"; 10 rev = "v${version}"; 11 + sha256 = "sha256-1GYpvw3ch03Cx4BReNwLnbgbds4uuSe/cjvbHuRhLOw="; 12 }; 13 14 + vendorSha256 = "sha256-5/mLlgNdlX/ABrpofPqowCskxFwJAEKVpbsMOvMvTWc="; 15 16 subPackages = [ "cmd/pgo" ]; 17
+3 -1
pkgs/applications/networking/instant-messengers/discord/linux.nix
··· 72 ]; 73 74 installPhase = '' 75 - mkdir -p $out/{bin,opt/${binaryName},share/pixmaps} 76 mv * $out/opt/${binaryName} 77 78 chmod +x $out/opt/${binaryName}/${binaryName} ··· 90 ln -s $out/opt/${binaryName}/${binaryName} $out/bin/${ 91 lib.strings.toLower binaryName 92 } || true 93 ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png 94 95 ln -s "${desktopItem}/share/applications" $out/share/ 96 '';
··· 72 ]; 73 74 installPhase = '' 75 + mkdir -p $out/{bin,opt/${binaryName},share/pixmaps,share/icons/hicolor/256x256/apps} 76 mv * $out/opt/${binaryName} 77 78 chmod +x $out/opt/${binaryName}/${binaryName} ··· 90 ln -s $out/opt/${binaryName}/${binaryName} $out/bin/${ 91 lib.strings.toLower binaryName 92 } || true 93 + 94 ln -s $out/opt/${binaryName}/discord.png $out/share/pixmaps/${pname}.png 95 + ln -s $out/opt/${binaryName}/discord.png $out/share/icons/hicolor/256x256/apps/${pname}.png 96 97 ln -s "${desktopItem}/share/applications" $out/share/ 98 '';
+2 -2
pkgs/applications/networking/jmeter/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "jmeter"; 5 - version = "5.4.3"; 6 src = fetchurl { 7 url = "https://archive.apache.org/dist/jmeter/binaries/apache-${pname}-${version}.tgz"; 8 - sha256 = "sha256-clISFMDLh9rFuXTBxug6F6AJx/03e1W/I1JcckA7He4="; 9 }; 10 11 nativeBuildInputs = [ makeWrapper jre ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "jmeter"; 5 + version = "5.5"; 6 src = fetchurl { 7 url = "https://archive.apache.org/dist/jmeter/binaries/apache-${pname}-${version}.tgz"; 8 + sha256 = "sha256-YOicfEUjcxRn/bcX8z1hQIbBDwMWNpy6pFZQrhxALh8="; 9 }; 10 11 nativeBuildInputs = [ makeWrapper jre ];
+7 -3
pkgs/applications/networking/juju/default.nix
··· 2 3 buildGoModule rec { 4 pname = "juju"; 5 - version = "2.9.27"; 6 7 src = fetchFromGitHub { 8 owner = "juju"; 9 repo = "juju"; 10 rev = "juju-${version}"; 11 - sha256 = "sha256-4G+veQkPY6n/uRMsBWQgig/6IDc0Y2nXDpMUyC1ShF4="; 12 }; 13 14 - vendorSha256 = "sha256-Ieaf+Qp/7/6nv2ftHY3pbtOg+t7dYAuMv4BvhRaAZ9E="; 15 16 # Disable tests because it attempts to use a mongodb instance 17 doCheck = false; 18 19 meta = with lib; { 20 description = "Open source modelling tool for operating software in the cloud";
··· 2 3 buildGoModule rec { 4 pname = "juju"; 5 + version = "2.9.31"; 6 7 src = fetchFromGitHub { 8 owner = "juju"; 9 repo = "juju"; 10 rev = "juju-${version}"; 11 + sha256 = "sha256-vRe7H7wtZUTsAJa6QVP+BTDDkJsfgIlBVpGcvtU1e0g="; 12 }; 13 14 + vendorSha256 = "sha256-Tx5RazLrNZ5GMRu4/jKhuNN7m1mQw4V7TBcIed/Gssg="; 15 16 # Disable tests because it attempts to use a mongodb instance 17 doCheck = false; 18 + 19 + subPackages = [ 20 + "cmd/juju" 21 + ]; 22 23 meta = with lib; { 24 description = "Open source modelling tool for operating software in the cloud";
+3 -2
pkgs/applications/networking/mailreaders/electron-mail/default.nix
··· 2 3 let 4 pname = "electron-mail"; 5 - version = "4.12.7"; 6 name = "ElectronMail-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/vladimiry/ElectronMail/releases/download/v${version}/electron-mail-${version}-linux-x86_64.AppImage"; 10 - sha256 = "42d0b49a2feba628f4845940ffd9607739bd5fcdbe6ba37e15f993c511d21e46"; 11 }; 12 13 appimageContents = appimageTools.extract { inherit name src; }; ··· 24 25 extraPkgs = pkgs: with pkgs; [ 26 libsecret 27 ]; 28 29 meta = with lib; {
··· 2 3 let 4 pname = "electron-mail"; 5 + version = "4.14.0"; 6 name = "ElectronMail-${version}"; 7 8 src = fetchurl { 9 url = "https://github.com/vladimiry/ElectronMail/releases/download/v${version}/electron-mail-${version}-linux-x86_64.AppImage"; 10 + sha256 = "sha256-sahMEj9m10gsceTBnYk8wkWcQoM5s6s1ek1U6u3PTgw="; 11 }; 12 13 appimageContents = appimageTools.extract { inherit name src; }; ··· 24 25 extraPkgs = pkgs: with pkgs; [ 26 libsecret 27 + libappindicator-gtk3 28 ]; 29 30 meta = with lib; {
+2 -2
pkgs/applications/networking/syncthing/default.nix
··· 4 common = { stname, target, postInstall ? "" }: 5 buildGoModule rec { 6 pname = stname; 7 - version = "1.20.1"; 8 9 src = fetchFromGitHub { 10 owner = "syncthing"; 11 repo = "syncthing"; 12 rev = "v${version}"; 13 - hash = "sha256-QJevD/meVPEHnfwT1Eu3cwfVFU+ab/16eJBl6cuhGdA="; 14 }; 15 16 vendorSha256 = "sha256-NuiT2GytWaGkgSyl+qoe9DjCCL7wSHc6FU8C6rsy6Vc=";
··· 4 common = { stname, target, postInstall ? "" }: 5 buildGoModule rec { 6 pname = stname; 7 + version = "1.20.2"; 8 9 src = fetchFromGitHub { 10 owner = "syncthing"; 11 repo = "syncthing"; 12 rev = "v${version}"; 13 + hash = "sha256-U9sM7c2jCEVzTLBawRQGXZTS0jYbFH3OVFk7IkWk2bo="; 14 }; 15 16 vendorSha256 = "sha256-NuiT2GytWaGkgSyl+qoe9DjCCL7wSHc6FU8C6rsy6Vc=";
+2 -2
pkgs/applications/office/PageEdit/default.nix
··· 2 3 mkDerivation rec { 4 pname = "PageEdit"; 5 - version = "1.7.0"; 6 7 src = fetchFromGitHub { 8 owner = "Sigil-Ebook"; 9 repo = pname; 10 rev = version; 11 - hash = "sha256-/t08ZS2iYWIDkco0nhACBQs1X+X77SJ/g+ow7KemfRY="; 12 }; 13 14 nativeBuildInputs = [ cmake qttranslations ];
··· 2 3 mkDerivation rec { 4 pname = "PageEdit"; 5 + version = "1.9.10"; 6 7 src = fetchFromGitHub { 8 owner = "Sigil-Ebook"; 9 repo = pname; 10 rev = version; 11 + hash = "sha256-y2Z5enEptiOrwEGBKlo4H4I9ojIPG9KP3BlvTCj4PVY="; 12 }; 13 14 nativeBuildInputs = [ cmake qttranslations ];
+2 -2
pkgs/applications/office/super-productivity/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "super-productivity"; 5 - version = "7.10.1"; 6 7 src = fetchurl { 8 url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage"; 9 - sha256 = "sha256-jhCsC5G8epyclp2+DYpot1UMjo5mkMa0UO0bQZ1T0Ug="; 10 name = "${pname}-${version}.AppImage"; 11 }; 12
··· 2 3 stdenv.mkDerivation rec { 4 pname = "super-productivity"; 5 + version = "7.11.5"; 6 7 src = fetchurl { 8 url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage"; 9 + sha256 = "sha256-+RMQd2iQmvFfgBhpa5T5SQJsn9wZ3qocDkO9b0O+CsE="; 10 name = "${pname}-${version}.AppImage"; 11 }; 12
+2 -2
pkgs/applications/office/zotero/default.nix
··· 41 42 stdenv.mkDerivation rec { 43 pname = "zotero"; 44 - version = "6.0.4"; 45 46 src = fetchurl { 47 url = 48 "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2"; 49 - sha256 = "sha256-KPvsyN3qpnG8/qRwTlWe2mZWnI9OfxlHu6OUubItJZc="; 50 }; 51 52 nativeBuildInputs = [ wrapGAppsHook ];
··· 41 42 stdenv.mkDerivation rec { 43 pname = "zotero"; 44 + version = "6.0.8"; 45 46 src = fetchurl { 47 url = 48 "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2"; 49 + sha256 = "sha256-S3s82F6kpjIOIqMIxlZIBT/7eNpLf6dHjOOaCYxdh6E="; 50 }; 51 52 nativeBuildInputs = [ wrapGAppsHook ];
+2 -2
pkgs/applications/science/astronomy/kstars/default.nix
··· 14 15 mkDerivation rec { 16 pname = "kstars"; 17 - version = "3.5.8"; 18 19 src = fetchurl { 20 url = "mirror://kde/stable/kstars/kstars-${version}.tar.xz"; 21 - sha256 = "sha256-Zg2QKDe3q/OBDW4k9y/YTwREopvX1D4YlrGf7OHIjD8="; 22 }; 23 24 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
··· 14 15 mkDerivation rec { 16 pname = "kstars"; 17 + version = "3.5.9"; 18 19 src = fetchurl { 20 url = "mirror://kde/stable/kstars/kstars-${version}.tar.xz"; 21 + sha256 = "sha256-SO8W1juP+MkXvXyNCP45AauYTbDrurAUtw4Gp4AA6X4="; 22 }; 23 24 nativeBuildInputs = [ extra-cmake-modules kdoctools ];
+2 -2
pkgs/applications/science/geometry/gama/default.nix
··· 1 { stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: 2 stdenv.mkDerivation rec { 3 pname = "gama"; 4 - version = "2.17"; 5 6 src = fetchurl { 7 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 8 - sha256 = "sha256-AyUjcYDUjAYI4p0vVDO7SGqhbO83Kesd+JUUgQf5GPU="; 9 }; 10 11 buildInputs = [ expat ];
··· 1 { stdenv, fetchurl, lib, expat, octave, libxml2, texinfo, zip }: 2 stdenv.mkDerivation rec { 3 pname = "gama"; 4 + version = "2.19"; 5 6 src = fetchurl { 7 url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz"; 8 + sha256 = "sha256-OCyUcKkQzp1nz9lgGSR4MRrP7XBR1kpIfPEA7PdSA1I="; 9 }; 10 11 buildInputs = [ expat ];
+6 -5
pkgs/applications/system/monitor/default.nix
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 - , nix-update-script 5 , meson 6 , ninja 7 , vala ··· 25 26 stdenv.mkDerivation rec { 27 pname = "monitor"; 28 - version = "0.13.0"; 29 30 src = fetchFromGitHub { 31 owner = "stsdc"; 32 repo = "monitor"; 33 rev = version; 34 - sha256 = "sha256-qwx60cp3Q6PL1iwRP+M9Rtmxcis0EByi8fk13H4cXfc="; 35 fetchSubmodules = true; 36 }; 37 ··· 75 ''; 76 77 passthru = { 78 - updateScript = nix-update-script { 79 - attrPath = pname; 80 }; 81 }; 82
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 + , gitUpdater 5 , meson 6 , ninja 7 , vala ··· 25 26 stdenv.mkDerivation rec { 27 pname = "monitor"; 28 + version = "0.14.0"; 29 30 src = fetchFromGitHub { 31 owner = "stsdc"; 32 repo = "monitor"; 33 rev = version; 34 + sha256 = "sha256-dw1FR9nU8MY6LBL3sF942azeSgKmCntXCk4+nhMb4Wo="; 35 fetchSubmodules = true; 36 }; 37 ··· 75 ''; 76 77 passthru = { 78 + updateScript = gitUpdater { 79 + inherit pname version; 80 + ignoredVersions = "ci.*"; 81 }; 82 }; 83
+2 -2
pkgs/applications/version-management/git-and-tools/git-machete/default.nix
··· 12 13 buildPythonApplication rec { 14 pname = "git-machete"; 15 - version = "3.10.0"; 16 17 src = fetchFromGitHub { 18 owner = "virtuslab"; 19 repo = pname; 20 rev = "v${version}"; 21 - sha256 = "sha256-jZkc9YA4kE/Gr4/FRzgd0VvEjSrw5rk7DB5qH8Z5o6c="; 22 }; 23 24 nativeBuildInputs = [ installShellFiles ];
··· 12 13 buildPythonApplication rec { 14 pname = "git-machete"; 15 + version = "3.10.1"; 16 17 src = fetchFromGitHub { 18 owner = "virtuslab"; 19 repo = pname; 20 rev = "v${version}"; 21 + sha256 = "sha256-ofadxKWhfeC2Sx1IJKXOTmukK5m1TOU5244e4kEGM90="; 22 }; 23 24 nativeBuildInputs = [ installShellFiles ];
+2 -2
pkgs/development/interpreters/clojure/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "clojure"; 5 - version = "1.11.1.1129"; 6 7 src = fetchurl { 8 # https://clojure.org/releases/tools 9 url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; 10 - sha256 = "sha256-kib1gGN4krlvEuCGdAYV3ejaMXOIhJ7ZBaUO4ulc6SQ="; 11 }; 12 13 nativeBuildInputs = [
··· 2 3 stdenv.mkDerivation rec { 4 pname = "clojure"; 5 + version = "1.11.1.1139"; 6 7 src = fetchurl { 8 # https://clojure.org/releases/tools 9 url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; 10 + sha256 = "sha256-UEqmYtXFEabWetAeOaaRBkwNQeMRYR/PgN8+ljwNFt8="; 11 }; 12 13 nativeBuildInputs = [
+6 -19
pkgs/development/libraries/partio/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg }: 2 3 - stdenv.mkDerivation { 4 pname = "partio"; 5 - version = "2018-03-01"; 6 7 src = fetchFromGitHub { 8 owner = "wdas"; 9 repo = "partio"; 10 - rev = "8b6ea0d20f1ab77cd7f18390999251e60932de4a"; 11 - sha256 = "16sdj103v02l2dgq9y9cna9jakafabz9jxzdxsd737ir6wn10ksb"; 12 }; 13 14 outputs = [ "dev" "out" "lib" ]; 15 16 nativeBuildInputs = [ unzip cmake doxygen ]; 17 - buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu ]; 18 - 19 - buildPhase = '' 20 - make partio 21 - 22 - mkdir $dev 23 - mkdir $out 24 - ''; 25 26 # TODO: 27 # Sexpr support 28 - 29 - installPhase = '' 30 - make install prefix=$out 31 - mkdir $dev/include/partio 32 - mv $dev/include/*.h $dev/include/partio 33 - ''; 34 35 strictDeps = true; 36
··· 1 + { lib, stdenv, fetchFromGitHub, unzip, cmake, freeglut, libGLU, libGL, zlib, swig, doxygen, xorg, python3 }: 2 3 + stdenv.mkDerivation rec { 4 pname = "partio"; 5 + version = "1.14.6"; 6 7 src = fetchFromGitHub { 8 owner = "wdas"; 9 repo = "partio"; 10 + rev = "refs/tags/v${version}"; 11 + hash = "sha256-S8U5I3dllFzDSocU1mJ8FYCCmBpsOR4n174oiX5hvAM="; 12 }; 13 14 outputs = [ "dev" "out" "lib" ]; 15 16 nativeBuildInputs = [ unzip cmake doxygen ]; 17 + buildInputs = [ freeglut libGLU libGL zlib swig xorg.libXi xorg.libXmu python3 ]; 18 19 # TODO: 20 # Sexpr support 21 22 strictDeps = true; 23
+10 -9
pkgs/development/libraries/smpeg/default.nix
··· 1 - { lib, stdenv, fetchsvn, SDL, autoconf, automake, libtool, gtk2, m4, pkg-config, libGLU, libGL, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 - pname = "smpeg-svn"; 5 - version = "390"; 6 7 - src = fetchsvn { 8 - url = "svn://svn.icculus.org/smpeg/trunk"; 9 - rev = version; 10 - sha256 = "0ynwn7ih5l2b1kpzpibns9bb9wzfjak7mgrb1ji0dkn2q5pv6lr0"; 11 }; 12 13 patches = [ ··· 19 20 enableParallelBuilding = true; 21 22 - buildInputs = [ SDL gtk2 libGLU libGL ]; 23 - 24 nativeBuildInputs = [ autoconf automake libtool m4 pkg-config makeWrapper ]; 25 26 preConfigure = '' 27 touch NEWS AUTHORS ChangeLog
··· 1 + { lib, stdenv, fetchFromGitHub, SDL, autoconf, automake, libtool, gtk2, m4, pkg-config, libGLU, libGL, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 + pname = "smpeg"; 5 + version = "0.4.5"; 6 7 + src = fetchFromGitHub { 8 + owner = "icculus"; 9 + repo = "smpeg"; 10 + rev = "release_${builtins.replaceStrings ["."] ["_"] version}"; 11 + sha256 = "sha256-nq/i7cFGpJXIuTwN/ScLMX7FN8NMdgdsRM9xOD3uycs="; 12 }; 13 14 patches = [ ··· 20 21 enableParallelBuilding = true; 22 23 nativeBuildInputs = [ autoconf automake libtool m4 pkg-config makeWrapper ]; 24 + 25 + buildInputs = [ SDL gtk2 libGLU libGL ]; 26 27 preConfigure = '' 28 touch NEWS AUTHORS ChangeLog
+7 -10
pkgs/development/libraries/smpeg2/default.nix
··· 2 , autoconf 3 , automake 4 , darwin 5 - , fetchsvn 6 , makeWrapper 7 , pkg-config 8 , SDL2 ··· 10 11 stdenv.mkDerivation rec { 12 pname = "smpeg2"; 13 - version = "unstable-2017-10-18"; 14 15 - src = fetchsvn { 16 - url = "svn://svn.icculus.org/smpeg/trunk"; 17 - rev = "413"; 18 - sha256 = "193amdwgxkb1zp7pgr72fvrdhcg3ly72qpixfxxm85rzz8g2kr77"; 19 }; 20 - 21 - patches = [ 22 - ./hufftable-uint_max.patch 23 - ]; 24 25 nativeBuildInputs = [ autoconf automake makeWrapper pkg-config ]; 26
··· 2 , autoconf 3 , automake 4 , darwin 5 + , fetchFromGitHub 6 , makeWrapper 7 , pkg-config 8 , SDL2 ··· 10 11 stdenv.mkDerivation rec { 12 pname = "smpeg2"; 13 + version = "unstable-2022-05-26"; 14 15 + src = fetchFromGitHub { 16 + owner = "icculus"; 17 + repo = "smpeg"; 18 + rev = "c5793e5f3f2765fc09c24380d7e92136a0e33d3b"; 19 + sha256 = "sha256-Z0u83K1GIXd0jUYo5ZyWUH2Zt7Hn8z+yr06DAtAEukw="; 20 }; 21 22 nativeBuildInputs = [ autoconf automake makeWrapper pkg-config ]; 23
-33
pkgs/development/libraries/smpeg2/hufftable-uint_max.patch
··· 1 - --- a/audio/hufftable.cpp 2 - +++ b/audio/hufftable.cpp 3 - @@ -9,6 +9,7 @@ 4 - #include "config.h" 5 - #endif 6 - 7 - +#include <climits> 8 - #include "MPEGaudio.h" 9 - 10 - static const unsigned int 11 - @@ -550,11 +551,11 @@ htd33[ 31][2]={{ 16, 1},{ 8, 1},{ 4, 12 - 13 - const HUFFMANCODETABLE MPEGaudio::ht[HTN]= 14 - { 15 - - { 0, 0-1, 0-1, 0, 0, htd33}, 16 - + { 0, UINT_MAX, UINT_MAX, 0, 0, htd33}, 17 - { 1, 2-1, 2-1, 0, 7,htd01}, 18 - { 2, 3-1, 3-1, 0, 17,htd02}, 19 - { 3, 3-1, 3-1, 0, 17,htd03}, 20 - - { 4, 0-1, 0-1, 0, 0, htd33}, 21 - + { 4, UINT_MAX, UINT_MAX, 0, 0, htd33}, 22 - { 5, 4-1, 4-1, 0, 31,htd05}, 23 - { 6, 4-1, 4-1, 0, 31,htd06}, 24 - { 7, 6-1, 6-1, 0, 71,htd07}, 25 - @@ -564,7 +565,7 @@ const HUFFMANCODETABLE MPEGaudio::ht[HTN 26 - {11, 8-1, 8-1, 0,127,htd11}, 27 - {12, 8-1, 8-1, 0,127,htd12}, 28 - {13,16-1,16-1, 0,511,htd13}, 29 - - {14, 0-1, 0-1, 0, 0, htd33}, 30 - + {14, UINT_MAX, UINT_MAX, 0, 0, htd33}, 31 - {15,16-1,16-1, 0,511,htd15}, 32 - {16,16-1,16-1, 1,511,htd16}, 33 - {17,16-1,16-1, 2,511,htd16},
···
+6 -5
pkgs/development/libraries/wxSVG/default.nix
··· 7 , pango 8 , pkg-config 9 , wxGTK 10 }: 11 12 stdenv.mkDerivation rec { ··· 28 libexif 29 pango 30 wxGTK 31 - ]; 32 33 meta = with lib; { 34 homepage = "http://wxsvg.sourceforge.net/"; ··· 37 wxSVG is C++ library to create, manipulate and render Scalable Vector 38 Graphics (SVG) files with the wxWidgets toolkit. 39 ''; 40 - license = with licenses; gpl2Plus; 41 - maintainers = with maintainers; [ AndersonTorres ]; 42 - platforms = wxGTK.meta.platforms; 43 - broken = stdenv.isDarwin; 44 }; 45 }
··· 7 , pango 8 , pkg-config 9 , wxGTK 10 + # darwin deps 11 + , Cocoa 12 }: 13 14 stdenv.mkDerivation rec { ··· 30 libexif 31 pango 32 wxGTK 33 + ] ++ lib.optional stdenv.isDarwin Cocoa; 34 35 meta = with lib; { 36 homepage = "http://wxsvg.sourceforge.net/"; ··· 39 wxSVG is C++ library to create, manipulate and render Scalable Vector 40 Graphics (SVG) files with the wxWidgets toolkit. 41 ''; 42 + license = licenses.gpl2Plus; 43 + maintainers = [ maintainers.AndersonTorres ]; 44 + inherit (wxGTK.meta) platforms; 45 }; 46 }
+12 -7
pkgs/development/libraries/wxsqliteplus/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, wxGTK, wxsqlite3, sqlite }: 2 3 stdenv.mkDerivation rec { 4 pname = "wxsqliteplus"; ··· 11 sha256 = "0mgfq813pli56mar7pdxlhwjf5k10j196rs3jd0nc8b6dkzkzlnf"; 12 }; 13 14 - buildInputs = [ wxGTK wxsqlite3 sqlite ]; 15 16 makeFlags = [ 17 "LDFLAGS=-L${wxsqlite3}/lib" 18 ]; 19 20 preBuild = '' 21 sed -ie 's|all: $(LIBPREFIX)wxsqlite$(LIBEXT)|all: |g' Makefile 22 sed -ie 's|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) $(LIBPREFIX)wxsqlite$(LIBEXT)|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) |g' Makefile 23 - sed -ie 's|-lwxsqlite |-lwxcode_gtk2u_wxsqlite3-3.0 |g' Makefile 24 ''; 25 26 installPhase = '' 27 - install -D wxsqliteplus $out/bin/wxsqliteplus 28 ''; 29 30 meta = with lib; { 31 homepage = "https://github.com/guanlisheng/wxsqliteplus"; 32 - description = "A simple SQLite database browser built with wxWidgets"; 33 platforms = platforms.unix; 34 - maintainers = with maintainers; [ vrthra ]; 35 - license = licenses.gpl2; 36 }; 37 }
··· 1 + { lib, stdenv, fetchFromGitHub, wxGTK, wxsqlite3, sqlite, Cocoa, setfile }: 2 3 stdenv.mkDerivation rec { 4 pname = "wxsqliteplus"; ··· 11 sha256 = "0mgfq813pli56mar7pdxlhwjf5k10j196rs3jd0nc8b6dkzkzlnf"; 12 }; 13 14 + buildInputs = [ wxGTK wxsqlite3 sqlite ] ++ lib.optional stdenv.isDarwin Cocoa; 15 16 makeFlags = [ 17 "LDFLAGS=-L${wxsqlite3}/lib" 18 + ] ++ lib.optionals stdenv.isDarwin [ 19 + "SETFILE=${setfile}/bin/SetFile" 20 ]; 21 22 preBuild = '' 23 sed -ie 's|all: $(LIBPREFIX)wxsqlite$(LIBEXT)|all: |g' Makefile 24 sed -ie 's|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) $(LIBPREFIX)wxsqlite$(LIBEXT)|wxsqliteplus$(EXEEXT): $(WXSQLITEPLUS_OBJECTS) |g' Makefile 25 + sed -ie 's|-lwxsqlite |-lwxcode_${if stdenv.isDarwin then "osx_cocoau_wxsqlite3-3.0.0" else "gtk2u_wxsqlite3-3.0"} |g' Makefile 26 ''; 27 28 installPhase = '' 29 + install -D ${lib.optionalString stdenv.isDarwin "wxsqliteplus.app/Contents/MacOS/"}wxsqliteplus $out/bin/wxsqliteplus 30 + '' + lib.optionalString stdenv.isDarwin '' 31 + mkdir -p $out/Applications 32 + mv wxsqliteplus.app $out/Applications/ 33 ''; 34 35 meta = with lib; { 36 + description = "A simple SQLite database browser built with wxWidgets"; 37 homepage = "https://github.com/guanlisheng/wxsqliteplus"; 38 + license = licenses.gpl2; 39 + maintainers = [ maintainers.vrthra ]; 40 platforms = platforms.unix; 41 }; 42 }
+2 -1
pkgs/development/libraries/wxwidgets/wxGTK30.nix
··· 18 , withGtk2 ? true 19 , withWebKit ? false, webkitgtk 20 , AGL 21 , Carbon 22 , Cocoa 23 , Kernel ··· 57 ++ lib.optional withMesa libGLU 58 ++ lib.optional withWebKit webkitgtk 59 ++ lib.optionals stdenv.isDarwin [ 60 Carbon 61 Cocoa 62 Kernel ··· 130 license = licenses.wxWindows; 131 maintainers = with maintainers; [ ]; 132 platforms = platforms.linux ++ platforms.darwin; 133 - badPlatforms = [ "x86_64-darwin" ]; 134 }; 135 136 passthru = {
··· 18 , withGtk2 ? true 19 , withWebKit ? false, webkitgtk 20 , AGL 21 + , AVFoundation 22 , Carbon 23 , Cocoa 24 , Kernel ··· 58 ++ lib.optional withMesa libGLU 59 ++ lib.optional withWebKit webkitgtk 60 ++ lib.optionals stdenv.isDarwin [ 61 + AVFoundation 62 Carbon 63 Cocoa 64 Kernel ··· 132 license = licenses.wxWindows; 133 maintainers = with maintainers; [ ]; 134 platforms = platforms.linux ++ platforms.darwin; 135 }; 136 137 passthru = {
+2 -2
pkgs/development/python-modules/injector/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "injector"; 5 - version = "0.19.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "3eaaf51cd3ba7be1354d92a5210c8bba43dd324300eafd214e1f2568834a912f"; 10 }; 11 12 propagatedBuildInputs = [ typing-extensions ];
··· 2 3 buildPythonPackage rec { 4 pname = "injector"; 5 + version = "0.20.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "sha256-DILe3I4TVOj9Iqs9mbiL3e9t7bnHfWwixNids9FYN/U="; 10 }; 11 12 propagatedBuildInputs = [ typing-extensions ];
+2 -2
pkgs/development/python-modules/jc/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "jc"; 13 - version = "1.20.0"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "kellyjonbrazil"; 18 repo = pname; 19 rev = "v${version}"; 20 - sha256 = "sha256-Qw6jgbYDfeJfT6QtIaT2llbfwZTpoLeH78mxJlFA7TI="; 21 }; 22 23 propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];
··· 10 11 buildPythonPackage rec { 12 pname = "jc"; 13 + version = "1.20.1"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "kellyjonbrazil"; 18 repo = pname; 19 rev = "v${version}"; 20 + sha256 = "sha256-xsPz7v5+rIO88F1Y/inBSUwVnI7uKZrV2nzVvJ9L02A="; 21 }; 22 23 propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];
+2 -2
pkgs/development/python-modules/mkdocs-material/default.nix
··· 13 14 buildPythonApplication rec { 15 pname = "mkdocs-material"; 16 - version = "8.3.5"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "squidfunk"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 - hash = "sha256-1fRNq2vOWTaUa8OZE1EkLH/2pt9vpUBkWXmro+aqwmA="; 26 }; 27 28 propagatedBuildInputs = [
··· 13 14 buildPythonApplication rec { 15 pname = "mkdocs-material"; 16 + version = "8.3.6"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "squidfunk"; 23 repo = pname; 24 rev = "refs/tags/${version}"; 25 + hash = "sha256-hPDzA1QybLx47ZEAwKZJRqiI48vF0R4DOR3w7EiCpvU="; 26 }; 27 28 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sqlite-utils/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "sqlite-utils"; 17 - version = "3.26.1"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 - hash = "sha256-GK/036zijOSi9IWZSFifXrexY8dyo6cfwWyaF06x82c="; 25 }; 26 27 postPatch = ''
··· 14 15 buildPythonPackage rec { 16 pname = "sqlite-utils"; 17 + version = "3.27"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.6"; 21 22 src = fetchPypi { 23 inherit pname version; 24 + hash = "sha256-SercPK2Svrq7rEULglvjq1J3FV0x0aHHKs72HmXkTGo="; 25 }; 26 27 postPatch = ''
+30
pkgs/development/python-modules/types-pyyaml/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "types-pyyaml"; 8 + version = "6.0.8"; 9 + format = "setuptools"; 10 + 11 + src = fetchPypi { 12 + pname = "types-PyYAML"; 13 + inherit version; 14 + sha256 = "0f349hmw597f2gcja445fsrlnfzb0dj7fy62g8wcbydlgcvmsjfr"; 15 + }; 16 + 17 + # Module doesn't have tests 18 + doCheck = false; 19 + 20 + pythonImportsCheck = [ 21 + "yaml-stubs" 22 + ]; 23 + 24 + meta = with lib; { 25 + description = "Typing stubs for PyYAML"; 26 + homepage = "https://github.com/python/typeshed"; 27 + license = licenses.asl20; 28 + maintainers = with maintainers; [ dnr ]; 29 + }; 30 + }
+5 -4
pkgs/development/tools/analysis/tfsec/default.nix
··· 5 6 buildGoModule rec { 7 pname = "tfsec"; 8 - version = "1.25.1"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-OgmVqwXIGtqzS27QfEeP9k4Ijwt5kXdq8Gocie5Zpqg="; 15 }; 16 17 ldflags = [ 18 - "-s" "-w" 19 "-X github.com/aquasecurity/tfsec/version.Version=${version}" 20 ## not sure if this is needed (https://github.com/aquasecurity/tfsec/blob/master/.goreleaser.yml#L6) 21 # "-extldflags '-fno-PIC -static'" 22 ]; 23 24 - vendorSha256 = "sha256-dOfosQ0pwGgBwVtySKL0oqSMjxR7zIeZnpspo2rzfyY="; 25 26 subPackages = [ 27 "cmd/tfsec"
··· 5 6 buildGoModule rec { 7 pname = "tfsec"; 8 + version = "1.26.0"; 9 10 src = fetchFromGitHub { 11 owner = "aquasecurity"; 12 repo = pname; 13 rev = "v${version}"; 14 + hash = "sha256-IYrLf2StBzIIl6xhN0gbgKGeopetuAko+kXjvlXAsBg="; 15 }; 16 17 ldflags = [ 18 + "-s" 19 + "-w" 20 "-X github.com/aquasecurity/tfsec/version.Version=${version}" 21 ## not sure if this is needed (https://github.com/aquasecurity/tfsec/blob/master/.goreleaser.yml#L6) 22 # "-extldflags '-fno-PIC -static'" 23 ]; 24 25 + vendorSha256 = "sha256-AayEYoybJGWdRES73wlf7pLpMukBbuxtaOU/RT9ObkI="; 26 27 subPackages = [ 28 "cmd/tfsec"
+3 -2
pkgs/development/tools/comby/default.nix
··· 14 mkCombyPackage = { pname, extraBuildInputs ? [ ], extraNativeInputs ? [ ], preBuild ? "" }: 15 ocamlPackages.buildDunePackage rec { 16 inherit pname preBuild; 17 - version = "1.7.0"; 18 useDune2 = true; 19 minimumOcamlVersion = "4.08.1"; 20 doCheck = true; ··· 23 owner = "comby-tools"; 24 repo = "comby"; 25 rev = version; 26 - sha256 = "sha256-Y2RcYvJOSqppmxxG8IZ5GlFkXCOIQU+1jJZ6j+PBHC4"; 27 }; 28 29 nativeBuildInputs = [ ··· 82 ocamlPackages.parany 83 ocamlPackages.conduit-lwt-unix 84 ocamlPackages.lwt_react 85 ocamlPackages.tls 86 combyKernel 87 combySemantic
··· 14 mkCombyPackage = { pname, extraBuildInputs ? [ ], extraNativeInputs ? [ ], preBuild ? "" }: 15 ocamlPackages.buildDunePackage rec { 16 inherit pname preBuild; 17 + version = "1.7.1"; 18 useDune2 = true; 19 minimumOcamlVersion = "4.08.1"; 20 doCheck = true; ··· 23 owner = "comby-tools"; 24 repo = "comby"; 25 rev = version; 26 + sha256 = "0k60hj8wcrvrk0isr210vnalylkd63ria1kgz5n49inl7w1hfwpv"; 27 }; 28 29 nativeBuildInputs = [ ··· 82 ocamlPackages.parany 83 ocamlPackages.conduit-lwt-unix 84 ocamlPackages.lwt_react 85 + ocamlPackages.tar-unix 86 ocamlPackages.tls 87 combyKernel 88 combySemantic
+3 -3
pkgs/development/tools/ddosify/default.nix
··· 2 3 buildGoModule rec { 4 pname = "ddosify"; 5 - version = "0.7.9"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-7dPDYBypLz0YWcgwP57LtZV+WNEGd705/0jyDXT4xTY="; 12 }; 13 14 - vendorSha256 = "sha256-WvchcVd0tql5Kxt2EP/auSq66hjiVqew7Iyi/ytaI64="; 15 16 ldflags = [ 17 "-s -w"
··· 2 3 buildGoModule rec { 4 pname = "ddosify"; 5 + version = "0.8.0"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-ImVNiBXvKKYXuWtOajvLFobk956wNSQHLH7npdYY4SE="; 12 }; 13 14 + vendorSha256 = "sha256-mq82KNa01gHvW+RUREra+ysaJ1YWIwX0v/uYMxmFN4M="; 15 16 ldflags = [ 17 "-s -w"
+2 -2
pkgs/development/tools/k6/default.nix
··· 2 3 buildGoModule rec { 4 pname = "k6"; 5 - version = "0.37.0"; 6 7 src = fetchFromGitHub { 8 owner = "grafana"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-5pxOg+pwa2VrEWinDadx2ZFYXiQgochbU4bCkJEezQw="; 12 }; 13 14 subPackages = [ "./" ];
··· 2 3 buildGoModule rec { 4 pname = "k6"; 5 + version = "0.38.3"; 6 7 src = fetchFromGitHub { 8 owner = "grafana"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-MV5GbsXVvq99tI5LCK6VgcXRtNUfffoz3FopwPljhdA="; 12 }; 13 14 subPackages = [ "./" ];
+2 -2
pkgs/development/web/cypress/default.nix
··· 16 17 stdenv.mkDerivation rec { 18 pname = "cypress"; 19 - version = "9.6.0"; 20 21 src = fetchzip { 22 url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip"; 23 - sha256 = "Mac6lmwQqbj9EPfpG0iLI8Qx04q7E0swmTqXx0J+Sdc="; 24 }; 25 26 # don't remove runtime deps
··· 16 17 stdenv.mkDerivation rec { 18 pname = "cypress"; 19 + version = "10.0.3"; 20 21 src = fetchzip { 22 url = "https://cdn.cypress.io/desktop/${version}/linux-x64/cypress.zip"; 23 + sha256 = "0lz9rf58dzn18yxs337sw3fia0xif039dmlmslxhlhn48g9yj67z"; 24 }; 25 26 # don't remove runtime deps
+2 -2
pkgs/development/web/nodejs/v18.nix
··· 7 in 8 buildNodejs { 9 inherit enableNpm; 10 - version = "18.3.0"; 11 - sha256 = "sha256-P2lKgWJuUFfNpXiY53HSE8/FpkmFX0zxxvbNFQxTBiU="; 12 patches = [ 13 ./disable-darwin-v8-system-instrumentation.patch 14 ];
··· 7 in 8 buildNodejs { 9 inherit enableNpm; 10 + version = "18.4.0"; 11 + sha256 = "sha256-lNbxmpcDYfjIrRdFBgQJU4n1HKagDc3lnCHzc+lau7U="; 12 patches = [ 13 ./disable-darwin-v8-system-instrumentation.patch 14 ];
+2 -2
pkgs/servers/dns/knot-resolver/default.nix
··· 17 18 unwrapped = stdenv.mkDerivation rec { 19 pname = "knot-resolver"; 20 - version = "5.5.0"; 21 22 src = fetchurl { 23 url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz"; 24 - sha256 = "4e6f48c74d955f143d603f6072670cb41ab9acdd95d4455d6e74b6908562c55a"; 25 }; 26 27 outputs = [ "out" "dev" ];
··· 17 18 unwrapped = stdenv.mkDerivation rec { 19 pname = "knot-resolver"; 20 + version = "5.5.1"; 21 22 src = fetchurl { 23 url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz"; 24 + sha256 = "9bad1edfd6631446da2d2331bd869887d7fe502f6eeaf62b2e43e2c113f02b6d"; 25 }; 26 27 outputs = [ "out" "dev" ];
+2 -2
pkgs/servers/plik/default.nix
··· 1 { lib, fetchurl, makeWrapper, runCommand, callPackage }: 2 3 let 4 - version = "1.3.4"; 5 6 programs = callPackage ./programs.nix { }; 7 8 webapp = fetchurl { 9 url = "https://github.com/root-gg/plik/releases/download/${version}/plik-${version}-linux-amd64.tar.gz"; 10 - sha256 = "1qp96va5l0m7jp4g007bhgcpf4ydg3cpg2x9wa9rkpp9k1svdhjy"; 11 }; 12 13 in
··· 1 { lib, fetchurl, makeWrapper, runCommand, callPackage }: 2 3 let 4 + version = "1.3.6"; 5 6 programs = callPackage ./programs.nix { }; 7 8 webapp = fetchurl { 9 url = "https://github.com/root-gg/plik/releases/download/${version}/plik-${version}-linux-amd64.tar.gz"; 10 + sha256 = "sha256-UGzevhZDfQBoFgPZQIs5Ftgz1cUHGfY/IRSEWQHFVSQ="; 11 }; 12 13 in
+10 -4
pkgs/servers/plik/programs.nix
··· 1 { lib, buildGoModule, fetchFromGitHub, fetchurl, makeWrapper, runCommand }: 2 3 let 4 - version = "1.3.4"; 5 6 src = fetchFromGitHub { 7 owner = "root-gg"; 8 repo = "plik"; 9 rev = version; 10 - sha256 = "0kmcidnjw26vnxx9h3swcg72i507awg89s4nfxw6rwbyw36iiiqf"; 11 }; 12 13 vendorSha256 = null; ··· 18 maintainers = with maintainers; [ freezeboy ]; 19 license = licenses.mit; 20 }; 21 in 22 { 23 24 plik = buildGoModule { 25 pname = "plik"; 26 - inherit version meta src vendorSha256; 27 28 subPackages = [ "client" ]; 29 postInstall = '' ··· 33 34 plikd-unwrapped = buildGoModule { 35 pname = "plikd-unwrapped"; 36 - inherit version src vendorSha256; 37 38 subPackages = [ "server" ]; 39 postFixup = ''
··· 1 { lib, buildGoModule, fetchFromGitHub, fetchurl, makeWrapper, runCommand }: 2 3 let 4 + version = "1.3.6"; 5 6 src = fetchFromGitHub { 7 owner = "root-gg"; 8 repo = "plik"; 9 rev = version; 10 + sha256 = "sha256-Xfk7+60iB5/qJh/6j6AxW0aKXuzdINRfILXRzOFejW4="; 11 }; 12 13 vendorSha256 = null; ··· 18 maintainers = with maintainers; [ freezeboy ]; 19 license = licenses.mit; 20 }; 21 + 22 + postPatch = '' 23 + substituteInPlace server/common/version.go \ 24 + --replace '"0.0.0"' '"${version}"' 25 + ''; 26 + 27 in 28 { 29 30 plik = buildGoModule { 31 pname = "plik"; 32 + inherit version meta src vendorSha256 postPatch; 33 34 subPackages = [ "client" ]; 35 postInstall = '' ··· 39 40 plikd-unwrapped = buildGoModule { 41 pname = "plikd-unwrapped"; 42 + inherit version src vendorSha256 postPatch; 43 44 subPackages = [ "server" ]; 45 postFixup = ''
+2 -2
pkgs/servers/web-apps/snipe-it/default.nix
··· 18 19 in package.override rec { 20 pname = "snipe-it"; 21 - version = "6.0.2"; 22 23 src = fetchFromGitHub { 24 owner = "snipe"; 25 repo = pname; 26 rev = "v${version}"; 27 - sha256 = "174s2h3whim98d9h8l4qr3vpk199zfxgwyys3d3gblpx1m5mr07k"; 28 }; 29 30 meta = with lib; {
··· 18 19 in package.override rec { 20 pname = "snipe-it"; 21 + version = "6.0.4"; 22 23 src = fetchFromGitHub { 24 owner = "snipe"; 25 repo = pname; 26 rev = "v${version}"; 27 + sha256 = "06h8rnk8q85f0z0a1q0j010kzs4z2k5sxvi06avk7ndpkrisv4wz"; 28 }; 29 30 meta = with lib; {
+2 -2
pkgs/servers/web-apps/snipe-it/update.sh
··· 1 #!/usr/bin/env nix-shell 2 - #! nix-shell -i bash -p nix curl jq nix-update 3 4 # check if composer2nix is installed 5 if ! command -v composer2nix &> /dev/null; then ··· 7 exit 1 8 fi 9 10 - CURRENT_VERSION=$(nix eval --raw '(with import ../../../.. {}; snipe-it.version)') 11 TARGET_VERSION_REMOTE=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} https://api.github.com/repos/snipe/snipe-it/releases/latest | jq -r ".tag_name") 12 TARGET_VERSION=${TARGET_VERSION_REMOTE:1} 13 SNIPE_IT=https://github.com/snipe/snipe-it/raw/$TARGET_VERSION_REMOTE
··· 1 #!/usr/bin/env nix-shell 2 + #! nix-shell -I nixpkgs=../../../.. -i bash -p nix curl jq nix-update 3 4 # check if composer2nix is installed 5 if ! command -v composer2nix &> /dev/null; then ··· 7 exit 1 8 fi 9 10 + CURRENT_VERSION=$(nix eval -f ../../../.. --raw snipe-it.version) 11 TARGET_VERSION_REMOTE=$(curl ${GITHUB_TOKEN:+" -u \":$GITHUB_TOKEN\""} https://api.github.com/repos/snipe/snipe-it/releases/latest | jq -r ".tag_name") 12 TARGET_VERSION=${TARGET_VERSION_REMOTE:1} 13 SNIPE_IT=https://github.com/snipe/snipe-it/raw/$TARGET_VERSION_REMOTE
+2 -12
pkgs/shells/fish/default.nix
··· 134 135 fish = stdenv.mkDerivation rec { 136 pname = "fish"; 137 - version = "3.4.1"; 138 139 src = fetchurl { 140 # There are differences between the release tarball and the tarball GitHub ··· 144 # --version`), as well as the local documentation for all builtins (and 145 # maybe other things). 146 url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz"; 147 - sha256 = "sha256-tvI7OEOwTbawqQ/qH28NDkDMAntKcyCYIAhj8oZKlOo="; 148 }; 149 - 150 - patches = [ 151 - # merged https://github.com/fish-shell/fish-shell/pull/8978 152 - # "create_manpage_completions.py: Do not overstrip commands with dots" 153 - (fetchpatch { 154 - name = "fix-cmdname-completeion-generator.patch"; 155 - url = "https://github.com/fish-shell/fish-shell/commit/32d646a5483844e9b1fae4b73f252a34ec0d4c76.patch"; 156 - sha256 = "sha256-51hqgPHQ7oQbl1i3SfqvGsbkYMe2Jh+sEwCRu2kiv1U="; 157 - }) 158 - ]; 159 160 # Fix FHS paths in tests 161 postPatch = ''
··· 134 135 fish = stdenv.mkDerivation rec { 136 pname = "fish"; 137 + version = "3.5.0"; 138 139 src = fetchurl { 140 # There are differences between the release tarball and the tarball GitHub ··· 144 # --version`), as well as the local documentation for all builtins (and 145 # maybe other things). 146 url = "https://github.com/fish-shell/fish-shell/releases/download/${version}/${pname}-${version}.tar.xz"; 147 + sha256 = "sha256-KR5Ox8bD/qVNwa7QV849QrNW+m9whlYnssffzsrv0hA="; 148 }; 149 150 # Fix FHS paths in tests 151 postPatch = ''
+4 -4
pkgs/tools/admin/awscli2/default.nix
··· 8 py = python3.override { 9 packageOverrides = self: super: { 10 awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec { 11 - version = "0.13.5"; 12 src = self.fetchPypi { 13 inherit (oldAttrs) pname; 14 inherit version; 15 - sha256 = "sha256-dUNljMKsbl6eByhEYivWgRJczTBw3N1RVl8r3e898mg="; 16 }; 17 }); 18 jmespath = super.jmespath.overridePythonAttrs (oldAttrs: rec { ··· 29 in 30 with py.pkgs; buildPythonApplication rec { 31 pname = "awscli2"; 32 - version = "2.7.3"; # N.B: if you change this, check if overrides are still up-to-date 33 34 src = fetchFromGitHub { 35 owner = "aws"; 36 repo = "aws-cli"; 37 rev = version; 38 - sha256 = "sha256-CM20zBuby1X+XOiphDDtWHUB08Mw7IYf0aZUWIvEAqI="; 39 }; 40 41 propagatedBuildInputs = [
··· 8 py = python3.override { 9 packageOverrides = self: super: { 10 awscrt = super.awscrt.overridePythonAttrs (oldAttrs: rec { 11 + version = "0.13.11"; 12 src = self.fetchPypi { 13 inherit (oldAttrs) pname; 14 inherit version; 15 + sha256 = "sha256-Yx3I3RD57Nx6Cvm4moc5zmMbdsHeYiMghDfbQUor38E="; 16 }; 17 }); 18 jmespath = super.jmespath.overridePythonAttrs (oldAttrs: rec { ··· 29 in 30 with py.pkgs; buildPythonApplication rec { 31 pname = "awscli2"; 32 + version = "2.7.8"; # N.B: if you change this, check if overrides are still up-to-date 33 34 src = fetchFromGitHub { 35 owner = "aws"; 36 repo = "aws-cli"; 37 rev = version; 38 + sha256 = "sha256-6JlBgcHpR2ZfrljS+flxaog/KZQLvPUacJGLMQNsZ5Y="; 39 }; 40 41 propagatedBuildInputs = [
+2 -2
pkgs/tools/admin/exoscale-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "exoscale-cli"; 5 - version = "1.56.0"; 6 7 src = fetchFromGitHub { 8 owner = "exoscale"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-YhVMlGSpigkzwppRnm5or0OErC01Mp93i1/uZcHskcQ="; 12 }; 13 14 vendorSha256 = null;
··· 2 3 buildGoModule rec { 4 pname = "exoscale-cli"; 5 + version = "1.57.0"; 6 7 src = fetchFromGitHub { 8 owner = "exoscale"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-q+KbRtgZdyFaDIeRJ9H0bIXrgnUcuKNaMnbk701rzTs="; 12 }; 13 14 vendorSha256 = null;
+2 -2
pkgs/tools/audio/abcmidi/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 - version = "2022.06.07"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 - hash = "sha256-gMEqcdpJ4dFnxmGJHayM6ZH+n6osHvZ8Tlxk0Vvm1qI="; 10 }; 11 12 meta = with lib; {
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 + version = "2022.06.14"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 + hash = "sha256-dmd0iPRKm5/GNz3VJ9pJgYiCSTENB0ZAOt3rLjujlYs="; 10 }; 11 12 meta = with lib; {
+44 -18
pkgs/tools/backup/gphotos-sync/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 - , python3Packages 4 , ffmpeg 5 }: 6 7 - python3Packages.buildPythonApplication rec { 8 - pname = "gphotos-sync"; 9 - version = "2.14.2"; 10 11 src = fetchFromGitHub { 12 owner = "gilesknap"; 13 repo = "gphotos-sync"; 14 rev = version; 15 - sha256 = "0cfmbrdy6w18hb623rjn0a4hnn3n63jw2jlmgn4a2k1sjqhpx3bf"; 16 }; 17 18 - propagatedBuildInputs = with python3Packages; [ 19 appdirs 20 attrs 21 exif 22 psutil 23 pyyaml 24 requests-oauthlib 25 ]; 26 27 buildInputs = [ 28 ffmpeg 29 ]; 30 31 - checkInputs = with python3Packages; [ 32 pytestCheckHook 33 - mock 34 ]; 35 36 - checkPhase = '' 37 export HOME=$(mktemp -d) 38 - 39 - # patch to skip all tests that do network access 40 - cat >>test/test_setup.py <<EOF 41 - import pytest, requests 42 - requests.Session.__init__ = lambda *args, **kwargs: pytest.skip("no network access") 43 - EOF 44 - 45 - pytestCheckPhase 46 ''; 47 48 meta = with lib; { 49 description = "Google Photos and Albums backup with Google Photos Library API"; 50 homepage = "https://github.com/gilesknap/gphotos-sync"; 51 - license = licenses.mit; 52 maintainers = with maintainers; [ dnr ]; 53 }; 54 }
··· 1 { lib 2 , fetchFromGitHub 3 + , fetchpatch 4 + , python3 5 , ffmpeg 6 }: 7 + let 8 + py = python3.override { 9 + packageOverrides = self: super: { 10 + google-auth-oauthlib = super.google-auth-oauthlib.overridePythonAttrs (oldAttrs: rec { 11 + version = "0.5.2b1"; 12 + src = fetchFromGitHub { 13 + owner = "gilesknap"; 14 + repo = "google-auth-library-python-oauthlib"; 15 + rev = "v${version}"; 16 + hash = "sha256-o4Jakm/JgLszumrSoTTnU+nc79Ei70abjpmn614qGyc="; 17 + }; 18 + }); 19 + }; 20 + }; 21 + in 22 + py.pkgs.buildPythonApplication rec { 23 + pname = "gphotos-sync"; 24 + version = "3.04"; 25 + format = "pyproject"; 26 27 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 28 29 src = fetchFromGitHub { 30 owner = "gilesknap"; 31 repo = "gphotos-sync"; 32 rev = version; 33 + sha256 = "0mnlnqmlh3n1b6fjwpx2byl1z41vgghjb95598kz5gvdi95iirrs"; 34 }; 35 36 + patches = [ 37 + ./skip-network-tests.patch 38 + ]; 39 + 40 + propagatedBuildInputs = with py.pkgs; [ 41 appdirs 42 attrs 43 exif 44 + google-auth-oauthlib 45 psutil 46 pyyaml 47 requests-oauthlib 48 + types-pyyaml 49 + types-requests 50 ]; 51 52 + postPatch = '' 53 + # this is a patched release that we include via packageOverrides above 54 + substituteInPlace setup.cfg \ 55 + --replace " @ https://github.com/gilesknap/google-auth-library-python-oauthlib/archive/refs/tags/v0.5.2b1.zip" "" 56 + ''; 57 + 58 buildInputs = [ 59 ffmpeg 60 ]; 61 62 + checkInputs = with py.pkgs; [ 63 + mock 64 pytestCheckHook 65 + setuptools-scm 66 ]; 67 68 + preCheck = '' 69 export HOME=$(mktemp -d) 70 + substituteInPlace setup.cfg \ 71 + --replace "--cov=gphotos_sync --cov-report term --cov-report xml:cov.xml" "" 72 ''; 73 74 meta = with lib; { 75 description = "Google Photos and Albums backup with Google Photos Library API"; 76 homepage = "https://github.com/gilesknap/gphotos-sync"; 77 + license = licenses.asl20; 78 maintainers = with maintainers; [ dnr ]; 79 }; 80 }
+21
pkgs/tools/backup/gphotos-sync/skip-network-tests.patch
···
··· 1 + diff --git a/tests/test_setup.py b/tests/test_setup.py 2 + index 085b110..ea4a7d2 100644 3 + --- a/tests/test_setup.py 4 + +++ b/tests/test_setup.py 5 + @@ -45,7 +45,8 @@ class SetupDbAndCredentials: 6 + return self 7 + 8 + def __exit__(self, exc_type=None, exc_value=None, traceback=None): 9 + - self.gp.google_photos_down.close() 10 + + if hasattr(self.gp, 'google_photos_down'): 11 + + self.gp.google_photos_down.close() 12 + 13 + def test_setup(self, test_name, args=None, trash_db=False, trash_files=False): 14 + self.root = Path("/tmp/gpTests/{}".format(test_name)) 15 + @@ -76,3 +77,6 @@ class SetupDbAndCredentials: 16 + 17 + def test_done(self): 18 + self.gp.data_store.store() 19 + + 20 + +import pytest, requests 21 + +requests.Session.__init__ = lambda *args, **kwargs: pytest.skip("no network access")
+3 -3
pkgs/tools/misc/broot/default.nix
··· 15 16 rustPlatform.buildRustPackage rec { 17 pname = "broot"; 18 - version = "1.12.0"; 19 20 src = fetchCrate { 21 inherit pname version; 22 - sha256 = "sha256-WCnTmb9EEFmA4nEBD3UzV3JfyHtJyJibMd85madoyto="; 23 }; 24 25 - cargoHash = "sha256-FH+swtzO65fKWFLG3rDOysmbsVSjGFGeMiYtNQU62ww="; 26 27 nativeBuildInputs = [ 28 installShellFiles
··· 15 16 rustPlatform.buildRustPackage rec { 17 pname = "broot"; 18 + version = "1.13.1"; 19 20 src = fetchCrate { 21 inherit pname version; 22 + sha256 = "sha256-mAa6AT8z+U2d6BSqYwnlwqQG7GEF8CgcdZweLBC+Wws="; 23 }; 24 25 + cargoHash = "sha256-y5RRNy+9NPuiD3e62hYQGNQ9tkre9sQ1oCRG1AlcVos="; 26 27 nativeBuildInputs = [ 28 installShellFiles
+2 -2
pkgs/tools/misc/geekbench/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "geekbench"; 5 - version = "5.4.4"; 6 7 src = fetchurl { 8 url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz"; 9 - sha256 = "sha256-2kiaP7V/dGDHiYTqvVEwAaAMrSoLzYtvR4hgtG6iUoQ="; 10 }; 11 12 dontConfigure = true;
··· 2 3 stdenv.mkDerivation rec { 4 pname = "geekbench"; 5 + version = "5.4.5"; 6 7 src = fetchurl { 8 url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz"; 9 + sha256 = "sha256-JA9bvRb8u0qG6ZsQR9qJ3yaV9ni/MkdWo9xRtmPp92I="; 10 }; 11 12 dontConfigure = true;
+3
pkgs/tools/misc/pipelight/default.nix
··· 24 patches = [ 25 ./pipelight.patch 26 ./wine-6.13-new-args.patch 27 ]; 28 29 configurePhase = ''
··· 24 patches = [ 25 ./pipelight.patch 26 ./wine-6.13-new-args.patch 27 + # https://source.winehq.org/git/wine.git/commit/cf4a781e987a98a8d48610362a20a320c4a1016d 28 + # adds ControlMask as a static variable. 29 + ./wine-7.10-ControlMask.patch 30 ]; 31 32 configurePhase = ''
+26
pkgs/tools/misc/pipelight/wine-7.10-ControlMask.patch
···
··· 1 + diff --git a/src/windows/pluginloader/pluginloader.c b/src/windows/pluginloader/pluginloader.c 2 + index 751e072..7a4589d 100644 3 + --- a/src/windows/pluginloader/pluginloader.c 4 + +++ b/src/windows/pluginloader/pluginloader.c 5 + @@ -190,7 +190,7 @@ static inline WPARAM wParamFromX11State(uint32_t state){ 6 + if (state & Button3Mask) wParam |= MK_RBUTTON; 7 + if (state & Button2Mask) wParam |= MK_MBUTTON; 8 + if (state & ShiftMask) wParam |= MK_SHIFT; 9 + - if (state & ControlMask) wParam |= MK_CONTROL; 10 + + if (state & ControlMask_) wParam |= MK_CONTROL; 11 + return wParam; 12 + } 13 + 14 + diff --git a/src/windows/pluginloader/pluginloader.h b/src/windows/pluginloader/pluginloader.h 15 + index ffe89a7..a1ebabc 100644 16 + --- a/src/windows/pluginloader/pluginloader.h 17 + +++ b/src/windows/pluginloader/pluginloader.h 18 + @@ -149,7 +149,7 @@ typedef unsigned long int XID; 19 + 20 + #define ShiftMask (1<<0) 21 + #define LockMask (1<<1) 22 + -#define ControlMask (1<<2) 23 + +#define ControlMask_ (1<<2) 24 + #define Button1Mask (1<<8) 25 + #define Button2Mask (1<<9) 26 + #define Button3Mask (1<<10)
+3 -3
pkgs/tools/misc/starship/default.nix
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "starship"; 17 - version = "1.7.1"; 18 19 src = fetchFromGitHub { 20 owner = "starship"; 21 repo = pname; 22 rev = "v${version}"; 23 - sha256 = "sha256-/vP8q2tWDR8EXDekpcONXIgdzRHh3mZzZGY04wb4aA0="; 24 }; 25 26 nativeBuildInputs = [ installShellFiles pkg-config ]; ··· 38 done 39 ''; 40 41 - cargoSha256 = "sha256-6y0Du3YGfH+SDbG3NdokJyG+Y1q5cI4UZp6XwFdvYxk="; 42 43 preCheck = '' 44 HOME=$TMPDIR
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "starship"; 17 + version = "1.8.0"; 18 19 src = fetchFromGitHub { 20 owner = "starship"; 21 repo = pname; 22 rev = "v${version}"; 23 + sha256 = "sha256-+LfQ7ce8j7LBopV9bo+WjYcZCnwntOToKUHctPMaGXw="; 24 }; 25 26 nativeBuildInputs = [ installShellFiles pkg-config ]; ··· 38 done 39 ''; 40 41 + cargoSha256 = "sha256-XPbirDdSDzIgsukkMYJrS/ghfF3VCplZ4BuOrzIRK0E="; 42 43 preCheck = '' 44 HOME=$TMPDIR
+1 -1
pkgs/tools/networking/p2p/amule/default.nix
··· 80 maintainers = with maintainers; [ ]; 81 platforms = platforms.unix; 82 # cmake fails: Cannot specify link libraries for target "wxWidgets::ADV" which is not built by this project. 83 - broken = enableDaemon; 84 }; 85 }
··· 80 maintainers = with maintainers; [ ]; 81 platforms = platforms.unix; 82 # cmake fails: Cannot specify link libraries for target "wxWidgets::ADV" which is not built by this project. 83 + broken = enableDaemon || stdenv.isDarwin; 84 }; 85 }
+3 -3
pkgs/tools/package-management/nix-doc/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "nix-doc"; 5 - version = "0.5.4"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "lf-"; 10 repo = "nix-doc"; 11 - sha256 = "sha256-bijcLIRBfoqirwz98Q3uQjHXSOaaqZECfav4TUvCuxg="; 12 }; 13 14 doCheck = true; ··· 16 17 nativeBuildInputs = [ pkg-config ]; 18 19 - cargoSha256 = "sha256-LpcAMsBeNa2GDGN7+9rTtkQluPfHSnAxanRtDtRahzc="; 20 21 meta = with lib; { 22 description = "An interactive Nix documentation tool";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "nix-doc"; 5 + version = "0.5.5"; 6 7 src = fetchFromGitHub { 8 rev = "v${version}"; 9 owner = "lf-"; 10 repo = "nix-doc"; 11 + sha256 = "sha256-JGzrDSAJMH7BaqGfyfLe041T2f8QdwLlFi11yHo+4JI="; 12 }; 13 14 doCheck = true; ··· 16 17 nativeBuildInputs = [ pkg-config ]; 18 19 + cargoSha256 = "sha256-o49xT26X1QdkSWDlz//ZgnLs592DkxktyFaY5S4vVTM="; 20 21 meta = with lib; { 22 description = "An interactive Nix documentation tool";
+4 -4
pkgs/tools/system/bfs/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, libcap, acl }: 2 3 stdenv.mkDerivation rec { 4 pname = "bfs"; 5 - version = "2.3.1"; 6 7 src = fetchFromGitHub { 8 repo = "bfs"; 9 owner = "tavianator"; 10 rev = version; 11 - sha256 = "sha256-V82UdCG0J04sZP3FTVQqANrez/LCwOLQY6zzFOoIeNo="; 12 }; 13 14 - buildInputs = lib.optionals stdenv.isLinux [ libcap acl ]; 15 16 # Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098 17 preConfigure = lib.optionalString stdenv.isDarwin ''
··· 1 + { lib, stdenv, fetchFromGitHub, libcap, acl, oniguruma }: 2 3 stdenv.mkDerivation rec { 4 pname = "bfs"; 5 + version = "2.6"; 6 7 src = fetchFromGitHub { 8 repo = "bfs"; 9 owner = "tavianator"; 10 rev = version; 11 + sha256 = "sha256-QFhU8MElVaEtjCP0Wjt8d9/etCYsy4QrpOFldVdok8k="; 12 }; 13 14 + buildInputs = [ oniguruma ] ++ lib.optionals stdenv.isLinux [ libcap acl ]; 15 16 # Disable LTO on darwin. See https://github.com/NixOS/nixpkgs/issues/19098 17 preConfigure = lib.optionalString stdenv.isDarwin ''
+1
pkgs/top-level/aliases.nix
··· 528 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07 529 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07 530 gotags = throw "gotags has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 531 go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 532 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22 533 go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02
··· 528 google-musicmanager = throw "google-musicmanager has been removed because Google Play Music was discontinued"; # Added 2021-03-07 529 google-music-scripts = throw "google-music-scripts has been removed because Google Play Music was discontinued"; # Added 2021-03-07 530 gotags = throw "gotags has been dropped due to the lack of maintenance from upstream since 2018"; # Added 2022-06-03 531 + google-play-music-desktop-player = throw "GPMDP shows a black screen, upstream homepage is dead, use 'ytmdesktop' instead"; # Added 2022-06-16 532 go-mk = throw "go-mk has been dropped due to the lack of maintanence from upstream since 2015"; # Added 2022-06-02 533 go-pup = throw "'go-pup' has been renamed to/replaced by 'pup'"; # Converted to throw 2022-02-22 534 go-repo-root = throw "go-repo-root has been dropped due to the lack of maintanence from upstream since 2014"; # Added 2022-06-02
+4 -5
pkgs/top-level/all-packages.nix
··· 21223 wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { 21224 withGtk2 = true; 21225 inherit (darwin.stubs) setfile; 21226 - inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit; 21227 }; 21228 wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; }; 21229 wxGTK30-gtk3 = wxGTK30.override { withGtk2 = false; }; ··· 21242 21243 wxSVG = callPackage ../development/libraries/wxSVG { 21244 wxGTK = wxGTK30-gtk3; 21245 }; 21246 21247 wtk = callPackage ../development/libraries/wtk { }; ··· 26999 google-chrome-beta = google-chrome.override { chromium = chromiumBeta; channel = "beta"; }; 27000 27001 google-chrome-dev = google-chrome.override { chromium = chromiumDev; channel = "dev"; }; 27002 - 27003 - google-play-music-desktop-player = callPackage ../applications/audio/google-play-music-desktop-player { 27004 - inherit (gnome2) GConf; 27005 - }; 27006 27007 gosmore = callPackage ../applications/misc/gosmore { stdenv = gcc10StdenvCompat; }; 27008 ··· 35055 35056 wxsqliteplus = callPackage ../development/libraries/wxsqliteplus { 35057 wxGTK = wxGTK30; 35058 }; 35059 35060 x11idle = callPackage ../tools/misc/x11idle {};
··· 21223 wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { 21224 withGtk2 = true; 21225 inherit (darwin.stubs) setfile; 21226 + inherit (darwin.apple_sdk.frameworks) AGL AVFoundation Carbon Cocoa Kernel QTKit; 21227 }; 21228 wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; }; 21229 wxGTK30-gtk3 = wxGTK30.override { withGtk2 = false; }; ··· 21242 21243 wxSVG = callPackage ../development/libraries/wxSVG { 21244 wxGTK = wxGTK30-gtk3; 21245 + inherit (darwin.apple_sdk.frameworks) Cocoa; 21246 }; 21247 21248 wtk = callPackage ../development/libraries/wtk { }; ··· 27000 google-chrome-beta = google-chrome.override { chromium = chromiumBeta; channel = "beta"; }; 27001 27002 google-chrome-dev = google-chrome.override { chromium = chromiumDev; channel = "dev"; }; 27003 27004 gosmore = callPackage ../applications/misc/gosmore { stdenv = gcc10StdenvCompat; }; 27005 ··· 35052 35053 wxsqliteplus = callPackage ../development/libraries/wxsqliteplus { 35054 wxGTK = wxGTK30; 35055 + inherit (darwin.apple_sdk.frameworks) Cocoa; 35056 + inherit (darwin.stubs) setfile; 35057 }; 35058 35059 x11idle = callPackage ../tools/misc/x11idle {};
+2
pkgs/top-level/python-packages.nix
··· 10768 10769 types-pytz = callPackage ../development/python-modules/types-pytz { }; 10770 10771 types-redis = callPackage ../development/python-modules/types-redis { }; 10772 10773 types-requests = callPackage ../development/python-modules/types-requests { };
··· 10768 10769 types-pytz = callPackage ../development/python-modules/types-pytz { }; 10770 10771 + types-pyyaml = callPackage ../development/python-modules/types-pyyaml { }; 10772 + 10773 types-redis = callPackage ../development/python-modules/types-redis { }; 10774 10775 types-requests = callPackage ../development/python-modules/types-requests { };