Merge master into staging-next

This commit is contained in:
github-actions[bot] 2023-08-05 00:02:07 +00:00 committed by GitHub
commit 16547be5c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
115 changed files with 438 additions and 282 deletions

View File

@ -70,7 +70,7 @@ A list of the maintainers of this Nix expression. Maintainers are defined in [`n
### `mainProgram` {#var-meta-mainProgram}
The name of the main binary for the package. This affects the binary `nix run` executes and falls back to the name of the package. Example: `"rg"`
The name of the main binary for the package. This affects the binary `nix run` executes. Example: `"rg"`
### `priority` {#var-meta-priority}

View File

@ -132,10 +132,9 @@ rec {
{ shortName = licstr; }
);
/* Get the path to the main program of a derivation with either
meta.mainProgram or pname or name
/* Get the path to the main program of a package based on meta.mainProgram
Type: getExe :: derivation -> string
Type: getExe :: package -> string
Example:
getExe pkgs.hello

View File

@ -650,6 +650,13 @@
githubId = 82811;
name = "Aldo Borrero";
};
alejandrosame = {
email = "alejandrosanchzmedina@gmail.com";
matrix = "@alejandrosame:matrix.org";
github = "alejandrosame";
githubId = 1078000;
name = "Alejandro Sánchez Medina";
};
aleksana = {
email = "me@aleksana.moe";
github = "Aleksanaa";

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkg-config
, libjack2, gettext, intltool, guile_2_0, lilypond
, libjack2, gettext, intltool, guile_2_2, lilypond
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
, portaudio, portmidi, fftw, wrapGAppsHook }:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
libjack2 guile_2_0 lilypond glib libxml2 librsvg libsndfile
libjack2 guile_2_2 lilypond glib libxml2 librsvg libsndfile
aubio gtk3 gtksourceview evince fluidsynth rubberband portaudio fftw portmidi
];

View File

@ -2,12 +2,12 @@
let
pname = "plexamp";
version = "4.8.1";
version = "4.8.2";
src = fetchurl {
url = "https://plexamp.plex.tv/plexamp.plex.tv/desktop/Plexamp-${version}.AppImage";
name="${pname}-${version}.AppImage";
sha512 = "iPCiBbb6alQspEPccxn1XHik0GbksZoe5jb0u8VuUdybO+xVb6sIxTNi6sxTG32uSRH6o16EHNUhLKeb6OcEtA==";
sha512 = "7NQmH42yzItReQ5WPdcbNPr/xed74H4UyDNlX5PGmoJRBpV1RdeuW1KRweIWfYNhw0KeqULVTjr/aCggoWp4WA==";
};
appimageContents = appimageTools.extractType2 {
@ -33,7 +33,7 @@ in appimageTools.wrapType2 {
meta = with lib; {
description = "A beautiful Plex music player for audiophiles, curators, and hipsters";
homepage = "https://plexamp.com/";
changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/51";
changelog = "https://forums.plex.tv/t/plexamp-release-notes/221280/52";
license = licenses.unfree;
maintainers = with maintainers; [ killercup synthetica ];
platforms = [ "x86_64-linux" ];

View File

@ -5,14 +5,14 @@
mkDerivation rec {
pname = "qpwgraph";
version = "0.4.5";
version = "0.5.1";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "rncbc";
repo = "qpwgraph";
rev = "v${version}";
sha256 = "sha256-VMTVaJJHMgx5mJT4ZRL5CDOJp7UPOkZOjqulCFSd7xo=";
sha256 = "sha256-HVeuqgqYf/gO1KdteXV4dWd13Q58GqHUz8CAYpruc18=";
};
nativeBuildInputs = [ cmake pkg-config ];
@ -29,6 +29,6 @@ mkDerivation rec {
homepage = "https://gitlab.freedesktop.org/rncbc/qpwgraph";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ kanashimia exi ];
maintainers = with maintainers; [ kanashimia exi Scrumplex ];
};
}

View File

@ -128,5 +128,6 @@ stdenv.mkDerivation rec {
license = licenses.mpl20;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ zhaofengli baduhai ];
mainProgram = "cemu";
};
}

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, callPackage
, patchelf
, unzip
@ -15,18 +16,18 @@
}:
let
version = "2.7.4";
version = "2.7.5";
craftos2-lua = fetchFromGitHub {
owner = "MCJack123";
repo = "craftos2-lua";
rev = "v${version}";
sha256 = "sha256-JMBsSoO/yTLw7K1Ri3BzKr5bz5UirXiPr/Q0YoMumhY=";
hash = "sha256-JMBsSoO/yTLw7K1Ri3BzKr5bz5UirXiPr/Q0YoMumhY=";
};
craftos2-rom = fetchFromGitHub {
owner = "McJack123";
repo = "craftos2-rom";
rev = "v${version}";
sha256 = "sha256-BXTsBMlsymQHABWQCiv22Ia5jm2xv1jNy7Unwymtyp0=";
rev = "v${version}.1"; # Author released a hotfix; remove trailing '.1' on next update
hash = "sha256-WZs/KIdpqLLzvpH2hiJpe/AehluoQMtewBbAb4htz8k=";
};
in
@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
owner = "MCJack123";
repo = "craftos2";
rev = "v${version}";
sha256 = "sha256-9XMc7zmtPxlt3WgS93lUJNMFtUJ/llG9SFGtgdFqZEA=";
hash = "sha256-t2yhSuNPFCF2NaQFWuN9Nos5ZPinAvecV6EZNO0Cy9I=";
};
buildInputs = [ patchelf poco openssl SDL2 SDL2_mixer ncurses libpng pngpp libwebp ];

View File

@ -77,5 +77,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ matthewbauer ];
platforms = platforms.unix;
mainProgram = "dosbox";
};
}

View File

@ -37,5 +37,6 @@ stdenv.mkDerivation {
maintainers = [ lib.maintainers.edwtjo ];
license = lib.licenses.mit;
platforms = lib.platforms.linux;
mainProgram = "emulationstation";
};
}

View File

@ -196,5 +196,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ thiagokokada ];
platforms = platforms.unix;
broken = stdenv.isDarwin;
mainProgram = "mame";
};
}

View File

@ -49,5 +49,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ artemist benley shamilton xfix ];
platforms = platforms.linux;
mainProgram = "melonDS";
};
}

View File

@ -81,5 +81,6 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.mpl20;
maintainers = with maintainers; [ MP2E AndersonTorres ];
platforms = platforms.linux;
mainProgram = "mgba";
};
})

View File

@ -38,5 +38,6 @@ stdenv.mkDerivation rec {
homepage = "http://www.mupen64plus.org/";
maintainers = [ maintainers.sander ];
platforms = [ "x86_64-linux" ];
mainProgram = "mupen64plus";
};
}

View File

@ -67,6 +67,7 @@ stdenv.mkDerivation rec {
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ MP2E ];
mainProgram = "nestopia";
};
}

View File

@ -92,5 +92,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ rardiol ];
license = licenses.gpl2Plus;
platforms = platforms.all;
mainProgram = "pcsxr";
};
}

View File

@ -101,5 +101,6 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ abbradar neonfuz ilian zane ];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" "aarch64-linux" ];
mainProgram = "rpcs3";
};
}

View File

@ -123,5 +123,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ qknight xfix thiagokokada ];
platforms = platforms.unix;
broken = (withGtk && stdenv.isDarwin);
mainProgram = "snes9x";
};
}

View File

@ -133,5 +133,6 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ AndersonTorres genericnerdyusername ];
platforms = lib.platforms.linux;
mainProgram = "xemu";
};
})

View File

@ -43,5 +43,6 @@ mkDerivation rec {
description = "Norton/Total Commander clone for KDE";
license = licenses.gpl2Only;
maintainers = with maintainers; [ sander turion ];
mainProgram = "krusader";
};
}

View File

@ -93,5 +93,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sander ];
platforms = with platforms; linux ++ darwin;
mainProgram = "mc";
};
}

View File

@ -78,5 +78,6 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau Br1ght0ne ];
mainProgram = "nnn";
};
})

View File

@ -39,5 +39,6 @@ stdenv.mkDerivation rec {
description = "File manager with GTK interface";
maintainers = [ maintainers.ttuegel ];
platforms = platforms.linux;
mainProgram = "pcmanfm";
};
}

View File

@ -55,5 +55,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ toonn magnetophon ];
mainProgram = "ranger";
};
}

View File

@ -61,6 +61,7 @@ let
license = licenses.unfree;
maintainers = with maintainers; [ timstott savannidgerinel maxeaubrey sebtm ];
platforms = builtins.attrNames sources.${channel};
mainProgram = "1password";
};
in if stdenv.isDarwin

View File

@ -63,5 +63,6 @@ stdenv.mkDerivation rec {
license = licenses.unfree;
maintainers = with maintainers; [ iammrinal0 ];
platforms = [ "x86_64-linux" ];
mainProgram = "authy";
};
}

View File

@ -49,5 +49,6 @@ mkDerivation rec {
license = lib.licenses.gpl2;
maintainers = [ lib.maintainers.phryneas ];
platforms = lib.platforms.linux;
mainProgram = "barrier";
};
}

View File

@ -65,5 +65,6 @@ python3Packages.buildPythonApplication rec {
longDescription = "BleachBit helps you easily clean your computer to free space and maintain privacy.";
license = licenses.gpl3;
maintainers = with maintainers; [ leonardoce mbprtpmnr ];
mainProgram = "bleachbit";
};
}

View File

@ -196,5 +196,6 @@ stdenv.mkDerivation rec {
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
broken = stdenv.isDarwin;
maintainers = with maintainers; [ goibhniu veprbl ];
mainProgram = "blender";
};
}

View File

@ -109,5 +109,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ psydvl shamilton ];
platforms = platforms.linux;
mainProgram = "bottles";
};
}

View File

@ -135,5 +135,6 @@ mavenJdk17.buildMavenPackage rec {
license = licenses.asl20;
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
maintainers = with maintainers; [ jojosch mkg20001 ];
mainProgram = "dbeaver";
};
}

View File

@ -30,5 +30,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ pSub globin ];
platforms = platforms.all;
mainProgram = "dmenu";
};
}

View File

@ -57,5 +57,6 @@ stdenv.mkDerivation rec {
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
platforms = platforms.linux;
maintainers = with maintainers; [ domenkozar ];
mainProgram = "dunst";
};
}

View File

@ -63,5 +63,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.novoxd ];
mainProgram = "dupeguru";
};
}

View File

@ -36,5 +36,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.erictapen ];
mainProgram = "fontpreview";
};
}

View File

@ -117,5 +117,6 @@ in buildDotnetPackage rec {
maintainers = with lib.maintainers; [ amorsillo obadz ];
platforms = with lib.platforms; all;
license = lib.licenses.gpl2;
mainProgram = "keepass";
};
}

View File

@ -147,5 +147,6 @@ buildPythonApplication rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ Madouura ];
platforms = platforms.linux;
mainProgram = "lutris";
};
}

View File

@ -32,5 +32,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
mainProgram = "mediainfo-gui";
};
}

View File

@ -28,5 +28,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.devhell ];
mainProgram = "mediainfo";
};
}

View File

@ -152,5 +152,6 @@ stdenv.mkDerivation rec {
license = licenses.agpl3Plus;
maintainers = with maintainers; [ vrthra fpletz ];
platforms = platforms.unix;
mainProgram = "mupdf";
};
}

View File

@ -0,0 +1,26 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 273968c..236e5fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,10 +3,6 @@ project(mya)
set(CMAKE_C_STANDARD 11 )
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall")
-if(UNIX)
- set(LINUX TRUE)
-endif()
-
set(SRC_DIR src)
set(INC_DIR include)
@@ -17,7 +13,8 @@ set_target_properties(mya PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DI
target_include_directories(mya PRIVATE ${INC_DIR})
set(LIBS curl json-c bsd)
-if(LINUX)
- list(APPEND LIBS)
+find_library(ARGP argp)
+if(ARGP)
+ list(APPEND LIBS argp)
endif()
target_link_libraries(mya ${LIBS})

View File

@ -0,0 +1,67 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, ninja
, curl
, json_c
, libbsd
, argp-standalone
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mya";
version = "1.0.0";
src = fetchFromGitHub {
owner = "jmakhack";
repo = "myanimelist-cli";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-EmdkPpYEUIk9hr6rbnixjvznKSEnTCSMZz/17BfHGCk=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
curl
json_c
libbsd
] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [
argp-standalone
];
patches = [
./argp.patch
];
installPhase = ''
runHook preInstall
# Based on the upstream PKGBUILD
mkdir -p $out/share/doc/${finalAttrs.pname}
cp -a bin $out
cp $cmakeDir/README.md $out/share/doc/${finalAttrs.pname}
runHook postInstall
'';
meta = with lib; {
description = "Minimalistic command line interface for fetching user anime data from MyAnimeList";
longDescription = ''
Minimalistic command line interface for fetching user anime data from MyAnimeList.
You have to run this with the MYANIMELIST_CLIENT_ID environ variable set.
Where to get one: <https://myanimelist.net/apiconfig>.
Select the type `other`.
'';
homepage = "https://github.com/jmakhack/myanimelist-cli";
changelog = "https://github.com/jmakhack/myanimelist-cli/releases/tag/v${finalAttrs.version}";
license = licenses.mit;
maintainers = with maintainers; [ pbsds ];
mainProgram = "mya";
platforms = platforms.all;
};
})

View File

@ -196,5 +196,6 @@ in stdenv.mkDerivation rec {
license = licenses.gpl2;
maintainers = [ ];
platforms = platforms.linux;
mainProgram = "mysql-workbench";
};
}

View File

@ -55,5 +55,6 @@ python310Packages.buildPythonApplication rec {
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = [ ];
mainProgram = "nwg-displays";
};
}

View File

@ -54,5 +54,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ jonringer ];
license = licenses.gpl2Plus;
platforms = platforms.linux;
mainProgram = "openrgb";
};
}

View File

@ -53,5 +53,6 @@ mkDerivation {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
platforms = platforms.linux;
mainProgram = "qdirstat";
};
}

View File

@ -67,5 +67,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = with maintainers; [ bew ];
platforms = with platforms; linux;
mainProgram = "rofi";
};
}

View File

@ -18,11 +18,11 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "safeeyes";
version = "2.1.5";
version = "2.1.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-IjFDhkqtMitdcQORerRqwty3ZMP8jamPtb9oMHdre4I=";
hash = "sha256-tvsBTf6+zKBzB5aL+LUcEvE4jmVHnnoY0L4xoKMJ0vM=";
};
nativeBuildInputs = [
@ -51,7 +51,7 @@ buildPythonApplication rec {
postInstall = ''
mkdir -p $out/share/applications
cp -r safeeyes/platform/icons $out/share/icons/
cp safeeyes/platform/safeeyes.desktop $out/share/applications/safeeyes.desktop
cp safeeyes/platform/io.github.slgobinath.SafeEyes.desktop $out/share/applications/io.github.slgobinath.SafeEyes.desktop
'';
preFixup = ''

View File

@ -38,5 +38,6 @@ buildGoModule rec {
homepage = "https://github.com/spicetify/spicetify-cli/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ jonringer mdarocha ];
mainProgram = "spicetify-cli";
};
}

View File

@ -142,5 +142,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ FlorianFranzen minijackson synthetica lovesegfault rodrgz ];
platforms = platforms.unix;
homepage = "https://github.com/alexays/waybar";
mainProgram = "waybar";
};
}

View File

@ -39,5 +39,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
mainProgram = "wofi";
};
}

View File

@ -25,5 +25,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/bjesus/wttrbar";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ khaneliman ];
mainProgram = "wttrbar";
};
}

View File

@ -79,5 +79,6 @@ buildGoModule rec {
license = licenses.asl20;
platforms = platforms.unix ++ platforms.windows;
maintainers = with maintainers; [ bbigras enorris thoughtpolice piperswe ];
mainProgram = "cloudflared";
};
}

View File

@ -57,5 +57,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
mainProgram = "davmail";
};
}

View File

@ -86,5 +86,6 @@ buildFHSEnv {
license = licenses.unfree;
maintainers = with maintainers; [ ttuegel ];
platforms = [ "i686-linux" "x86_64-linux" ];
mainProgram = "dropbox";
};
}

View File

@ -1,43 +1,31 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
{ lib, stdenv, fetchurl
, guile, pkg-config, glib, loudmouth, gmp, libidn, readline, libtool
, libunwind, ncurses, curl, jansson, texinfo
, automake, autoconf }:
, argp-standalone }:
stdenv.mkDerivation rec {
pname = "freetalk";
version = "4.1";
version = "4.2";
src = fetchFromGitHub {
owner = "GNUFreetalk";
repo = "freetalk";
rev = "v${version}";
sha256 = "09jwk2i8qd8c7wrn9xbqcwm32720dwxis22kf3jpbg8mn6w6i757";
src = fetchurl {
url = "mirror://gnu/freetalk/freetalk-${version}.tar.gz";
hash = "sha256-u1tPKacGry+JGYeAIgDia3N7zs5EM4FyQZdV8e7htYA=";
};
patches = [
# Pull pending patch for -fno-common tuulchain support:
# https://github.com/GNUFreetalk/freetalk/pull/39
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/GNUFreetalk/freetalk/commit/f04d6bc8422be44cdf51b29c9a4310f20a18775a.patch";
sha256 = "1zjm56cdibnqabgcwl2bx79dj6dmqjf40zghqwwb0lfi60v1njqf";
})
];
preConfigure = ''
./autogen.sh
'';
nativeBuildInputs = [ pkg-config texinfo autoconf automake ];
nativeBuildInputs = [ pkg-config texinfo ];
buildInputs = [
guile glib loudmouth gmp libidn readline libtool
libunwind ncurses curl jansson
] ++ lib.optionals stdenv.isDarwin [
argp-standalone
];
env.NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-largp";
meta = with lib; {
description = "Console XMPP client";
license = licenses.gpl3Plus ;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
platforms = platforms.unix;
downloadPage = "https://www.gnu.org/software/freetalk/";
};
}

View File

@ -21,5 +21,6 @@ buildNpmPackage rec {
homepage = "https://flood.js.org";
license = licenses.gpl3Only;
maintainers = with maintainers; [ thiagokokada winter ];
mainProgram = "flood";
};
}

View File

@ -18,13 +18,13 @@
stdenv.mkDerivation rec {
pname = "rakshasa-rtorrent";
version = "0.9.8+date=2021-08-07";
version = "0.9.8+date=2022-06-20";
src = fetchFromGitHub {
owner = "rakshasa";
repo = "rtorrent";
rev = "a6bc99bb821d86b3b0633552db3fbd0a22497657";
hash = "sha256-HTwAs8dfZVXfLRNiT6QpjKGnuahHfoMfYWqdKkedUL0=";
rev = "92bec88d0904bfb31c808085c2fd0f22d0ec8db7";
hash = "sha256-er7UdIb+flhq0ye76UmomgfHV2ZSBROpXmfrNDHwTWw=";
};
passthru = {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "picard-tools";
version = "3.0.0";
version = "3.1.0";
src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
sha256 = "sha256-DV4oqzAfrTsCAw0BkjiIEpuoLF9yKsXMstQYq3asVJk=";
sha256 = "sha256-6nnKYnml6BjLb6aKNHbd55nH6gP/5Somo8poxx7yhVk=";
};
nativeBuildInputs = [ makeWrapper ];

View File

@ -1,32 +1,20 @@
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, guile, gtk2, flex, gawk, perl }:
{ lib, stdenv, fetchurl, groff, pkg-config, python2, guile, gtk2, flex, gawk, perl }:
stdenv.mkDerivation {
stdenv.mkDerivation rec {
pname = "geda";
version = "1.8.2-20130925";
version = "1.10.2";
src = fetchurl {
url = "http://ftp.geda-project.org/geda-gaf/stable/v1.8/1.8.2/geda-gaf-1.8.2.tar.gz";
sha256 = "08dpa506xk4gjbbi8vnxcb640wq4ihlgmhzlssl52nhvxwx7gx5v";
url = "http://ftp.geda-project.org/geda-gaf/stable/v${lib.versions.majorMinor version}/${version}/geda-gaf-${version}.tar.gz";
hash = "sha256-6GKrJBUoU4+jvuJzkmH1aAERArYMXjmi8DWGY8BCyKQ=";
};
patches = [
# Pull upstream patch for -fno-common toolchains
(fetchpatch {
name = "fno-common-p1.patch";
url = "http://git.geda-project.org/geda-gaf/patch/?id=cb6bac898fe43c5a59b577123ba8698ec04deef6";
sha256 = "0njlh20qjrlqf5m8p92vmkl0jsm747f4mbqwvldnf8nd2j608nkq";
})
(fetchpatch {
name = "fno-common-p2.patch";
url = "http://git.geda-project.org/geda-gaf/patch/?id=7b9d523a3558290b4487c3ff9a4a5b43e8941158";
sha256 = "1z9gzz5ngsbq6c9dw2dfz7kpsq97zhs1ma9saxm7hiybwadbj18k";
})
];
configureFlags = [
"--disable-update-xdg-database"
"--without-libfam"
];
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [ groff pkg-config python2 ];
buildInputs = [ guile gtk2 flex gawk perl ];
meta = with lib; {

View File

@ -8,7 +8,7 @@ ocamlPackages.buildDunePackage rec {
owner = "Beluga-lang";
repo = "Beluga";
rev = "refs/tags/v${version}";
hash = "sha256-GN4ZOlhs8ktAcCu7iE4lh6HxhTu+KCJJbIvcI4MGcr0=";
hash = "sha256-0E7rmiLmQPfOAQ1qKiqxeLdqviVl+Thkl6KfOWkGZRc=";
};
duneVersion = "3";

View File

@ -21,16 +21,16 @@
, xorg
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wayfire";
version = "0.7.5";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
repo = "wayfire";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-Z+rR9pY244I3i/++XZ4ROIkq3vtzMgcxxHvJNxFD9is=";
hash = "sha256-Z+rR9pY244I3i/++XZ4ROIkq3vtzMgcxxHvJNxFD9is=";
};
nativeBuildInputs = [
@ -40,7 +40,6 @@ stdenv.mkDerivation rec {
wayland-scanner
];
buildInputs = [
wf-config
libdrm
@ -78,11 +77,12 @@ stdenv.mkDerivation rec {
passthru.providedSessions = [ "wayfire" ];
meta = with lib; {
meta = {
homepage = "https://wayfire.org/";
description = "3D Wayland compositor";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
platforms = lib.platforms.unix;
mainProgram = "wayfire";
};
}
})

View File

@ -16,16 +16,16 @@
, libxml2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wcm";
version = "0.7.5";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
repo = "wcm";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU=";
hash = "sha256-LJR9JGl49o4O6LARofz3jOeAqseGcmzVhMnhk/aobUU=";
};
nativeBuildInputs = [
@ -51,11 +51,12 @@ stdenv.mkDerivation rec {
"-Denable_wdisplays=false"
];
meta = with lib; {
meta = {
homepage = "https://github.com/WayfireWM/wcm";
description = "Wayfire Config Manager";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
platforms = lib.platforms.unix;
mainProgram = "wcm";
};
}
})

View File

@ -11,15 +11,15 @@
, libxml2
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wf-config";
version = "0.7.1";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA=";
repo = "wf-config";
rev = "v${finalAttrs.version}";
hash = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA=";
};
nativeBuildInputs = [
@ -50,11 +50,11 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with lib; {
meta = {
homepage = "https://github.com/WayfireWM/wf-config";
description = "Library for managing configuration files, written for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
platforms = lib.platforms.unix;
};
}
})

View File

@ -13,16 +13,16 @@
, pulseaudio
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "wf-shell";
version = "0.7.0";
src = fetchFromGitHub {
owner = "WayfireWM";
repo = pname;
rev = "v${version}";
repo = "wf-shell";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
sha256 = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA=";
hash = "sha256-iQUBuNjbZuf51A69RC6NsMHFZCFRv+d9XZ0HtP6OpOA=";
};
nativeBuildInputs = [
@ -43,11 +43,11 @@ stdenv.mkDerivation rec {
mesonFlags = [ "--sysconfdir /etc" ];
meta = with lib; {
meta = {
homepage = "https://github.com/WayfireWM/wf-shell";
description = "GTK3-based panel for Wayfire";
license = licenses.mit;
maintainers = with maintainers; [ qyliss wucke13 rewine ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ qyliss wucke13 rewine ];
platforms = lib.platforms.unix;
};
}
})

View File

@ -45,11 +45,11 @@ in
stdenv.mkDerivation rec {
pname = "gnome-software";
version = "44.3";
version = "44.4";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${lib.versions.major version}/${pname}-${version}.tar.xz";
sha256 = "Mlq7ciyrILaqZ/FY6i/y6omYMMoKiD4kWU2d74X9FiI=";
sha256 = "i1N2fvbMVKLbWI7xxZJoOLDWe42bIRc95ROc0PvSgJU=";
};
patches = [

View File

@ -28,14 +28,14 @@
stdenv.mkDerivation rec {
pname = "rygel";
version = "0.42.3";
version = "0.42.4";
# TODO: split out lib
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "D97CEoU36LVcPFQNCoDcfCSaspFT9L4Bl6XzECWlpaA=";
sha256 = "YxDfqi0zK2YRm5sCD61qS9J9m8Yfr3gMpcoLYoEzA/c=";
};
patches = [

View File

@ -279,8 +279,8 @@ rec {
};
crystal_1_9 = generic {
version = "1.9.0";
sha256 = "sha256-FFpAL1U8WtfwDCLaUP+axSnJlGaKp/jzBs54rit9T2A=";
version = "1.9.2";
sha256 = "sha256-M1oUFs7/8ljszga3StzLOLM1aA4fSfVPQlsbuDHGd84=";
binary = binaryCrystal_1_2;
};

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, guile
, pkg-config
, texinfo
@ -8,16 +9,17 @@
stdenv.mkDerivation rec {
pname = "guile-xcb";
version = "1.3";
version = "unstable-2017-05-29";
src = fetchFromGitHub {
owner = "mwitmer";
repo = pname;
rev = version;
hash = "sha256-8iaYil2wiqnu9p7Gj93GE5akta1A0zqyApRwHct5RSs=";
rev = "db7d5a393cc37a56f66541b3f33938b40c6f35b3";
hash = "sha256-zbIsEIPwNJ1YXMZTDw2DfzufC+IZWfcWgZHbuv7bhJs=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
@ -30,6 +32,10 @@ stdenv.mkDerivation rec {
"--with-guile-site-ccache-dir=$out/share/guile/site"
];
makeFlags = [
"GUILE_AUTO_COMPILE=0"
];
meta = with lib; {
homepage = "https://github.com/mwitmer/guile-xcb";
description = "XCB bindings for Guile";

View File

@ -1,10 +1,13 @@
{ lib, stdenv, fetchurl, pkg-config, guile, autoconf, flex, fetchpatch }:
{ lib, stdenv, fetchurl, pkg-config, guile, flex, fetchpatch }:
let
guileVersion = lib.versions.majorMinor guile.version;
in
stdenv.mkDerivation rec {
version = "1.1.11";
pname = "libmatheval";
nativeBuildInputs = [ pkg-config autoconf flex ];
nativeBuildInputs = [ pkg-config flex ];
buildInputs = [ guile ];
src = fetchurl {
@ -14,19 +17,23 @@ stdenv.mkDerivation rec {
# Patches coming from debian package
# https://packages.debian.org/source/sid/libs/libmatheval
patches = [ (fetchpatch {
url = "https://salsa.debian.org/science-team/libmatheval/raw/debian/1.1.11+dfsg-3/debian/patches/002-skip-docs.patch";
sha256 = "1nnkk9aw4jj6nql46zhwq6vx74zrmr1xq5ix0xyvpawhabhgjg62";
} )
(fetchpatch {
url = "https://salsa.debian.org/science-team/libmatheval/raw/debian/1.1.11+dfsg-3/debian/patches/003-guile2.0.patch";
sha256 = "1xgfw4finfvr20kjbpr4yl2djxmyr4lmvfa11pxirfvhrdi602qj";
} )
(fetchpatch {
url = "https://salsa.debian.org/science-team/libmatheval/raw/debian/1.1.11+dfsg-3/debian/patches/disable_coth_test.patch";
sha256 = "0bai8jrd5azfz5afmjixlvifk34liq58qb7p9kb45k6kc1fqqxzm";
} )
];
patches = [
(fetchpatch {
url = "https://sources.debian.org/data/main/libm/libmatheval/1.1.11%2Bdfsg-5/debian/patches/002-skip-docs.patch";
hash = "sha256-wjz54FKQq7t9Bz0W3EOu+ZPTt8EcfkMotkZKwlWa09o=";
})
(fetchpatch {
url = "https://sources.debian.org/data/main/libm/libmatheval/1.1.11%2Bdfsg-5/debian/patches/003-guile3.0.patch";
hash = "sha256-H3E/2m4MfQAbjpXbVFyNhikVifi3spVThzaVU5srmjI=";
})
(fetchpatch {
url = "https://sources.debian.org/data/main/libm/libmatheval/1.1.11%2Bdfsg-5/debian/patches/disable_coth_test.patch";
hash = "sha256-9XeMXWDTzELWTPcsjAqOlIzp4qY9yupU+e6r0rJEUS0=";
})
];
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev guile}/include/guile/${guileVersion}";
env.NIX_LDFLAGS = "-L${guile}/lib -lguile-${guileVersion}";
meta = {
description = "A library to parse and evaluate symbolic expressions input as text";
@ -40,7 +47,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.gnu.org/software/libmatheval/";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.bzizou ];
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib }:
{ lib, stdenv, fetchurl, openssl, libidn, glib, pkg-config, zlib, darwin }:
stdenv.mkDerivation rec {
version = "1.5.3";
@ -9,15 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "0b6kd5gpndl9nzis3n6hcl0ldz74bnbiypqgqa1vgb0vrcar8cjl";
};
patches = [
];
configureFlags = [ "--with-ssl=openssl" ];
propagatedBuildInputs = [ openssl libidn glib zlib ];
nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals (stdenv.isDarwin && lib.versionOlder stdenv.hostPlatform.darwinMinVersion "11") [
darwin.apple_sdk.frameworks.AppKit
darwin.apple_sdk.frameworks.Foundation
];
meta = with lib; {
description = "A lightweight C library for the Jabber protocol";
platforms = platforms.all;

View File

@ -1,5 +1,4 @@
# Use this file to add `meta.mainProgram` to packages in `nodePackages`, that don't provide an
# executable that matches that packages name, so that they'll work with `nix run`.
# Use this file to add `meta.mainProgram` to packages in `nodePackages`.
{
# Packages that provide multiple executables where one is clearly the `mainProgram`.
"@antfu/ni" = "ni";
@ -11,7 +10,7 @@
vue-cli = "vue";
"@withgraphite/graphite-cli" = "gt";
# Packages that provide a single executable whose name differs from the package's `name`.
# Packages that provide a single executable.
"@angular/cli" = "ng";
"@antora/cli" = "antora";
"@astrojs/language-server" = "astro-ls";
@ -47,7 +46,6 @@
firebase-tools = "firebase";
fkill-cli = "fkill";
fleek-cli = "fleek";
flood = "flood";
git-run = "gr";
gitmoji-cli = "gitmoji";
graphql-cli = "graphql";

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "add-trailing-comma";
version = "3.0.0";
version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "asottile";
repo = pname;
rev = "v${version}";
hash = "sha256-uknXi7fsCWK5ngCEyfpkjovCtvL5v6OwN5kVoBpNZsY=";
hash = "sha256-wCqCKomnkYgvxDWtjBwyqKb09sTPqPgWbYohgosUaHA=";
};
propagatedBuildInputs = [

View File

@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "aiounifi";
version = "50";
version = "51";
format = "setuptools";
disabled = pythonOlder "3.9";
@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "Kane610";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ydSKXydtOJaAI2PCPX+8jh4w9otX64Lj7QwbasTdWf0=";
hash = "sha256-XR/yZLxTHVHxm/QLCKrp9XFJ7yZybPjPxKEhf1SOzD0=";
};
propagatedBuildInputs = [

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "bc-detect-secrets";
version = "1.4.29";
version = "1.4.30";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "bridgecrewio";
repo = "detect-secrets";
rev = "refs/tags/${version}";
hash = "sha256-oMJMiXS4/OU5/LWV2i2CcDQZL5yuusXGwgZG2OMMlaQ=";
hash = "sha256-wq+SKOiMcVO7OiK+RdRk4RNsjSAT7lBdAjLHfurSIRo=";
};
propagatedBuildInputs = [

View File

@ -1,20 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "commandparse";
version = "1.1.1";
version = "1.1.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "06mcxc0vs5qdcywalgyx5zm18z4xcsrg5g0wsqqv5qawkrvmvl53";
sha256 = "sha256-S9e90BtS6qMjFtYUmgC0w4IKQP8q1iR2tGqq5l2+n6o=";
};
# tests only distributed upstream source, not PyPi
doCheck = false;
pythonImportsCheck = [ "commandparse" ];
pythonImportsCheck = [
"commandparse"
];
meta = with lib; {
description = "Python module to parse command based CLI application";

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "confection";
version = "0.1.0";
version = "0.1.1";
format = "setuptools";
disabled = pythonOlder "3.8";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "explosion";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-yF+rG0UblGk6BCrqFrWXkB8ET0NPCL7v+4IJTmkYoTY=";
hash = "sha256-OpUMx8hcTnBdaATzRXBICwF6eAGsdyA0jFvX4nVBiM4=";
};
propagatedBuildInputs = [

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "dbus-fast";
version = "1.88.0";
version = "1.90.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-sx2q/we7f8IfoqdsTiDo1QqMY6TSVMW//vKTtkqcrY8=";
hash = "sha256-B+NW7ORKIBtjxeR0W0tX7V1MgBtNoyGFX35TXUl7rVE=";
};
nativeBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "faraday-agent-parameters-types";
version = "1.3.0";
version = "1.3.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -17,7 +17,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "faraday_agent_parameters_types";
inherit version;
hash = "sha256-XWuWg8PzXdLIuUTZ5dnpFmFmqEhOReqIEmBbCpzdzrg=";
hash = "sha256-yWDZPa9+DZh2Bj9IIeIVFpAt9nhQOk2tTZh02difsCs=";
};
propagatedBuildInputs = [

View File

@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "gitignore-parser";
version = "0.1.4";
version = "0.1.5";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "mherrmann";
repo = "gitignore_parser";
rev = "refs/tags/v${version}";
hash = "sha256-kc1Y3kHcVVao9zqQMbUeMi/9s+W2aUAapCx3h8VyWRQ=";
hash = "sha256-Z2x09XwFDMf6sUoKXJ240abp7zctbVCN4dsoQmWVSn8=";
};
nativeCheckInputs = [

View File

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "google-cloud-securitycenter";
version = "1.23.1";
version = "1.23.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-GlFoeifExNS7pd+vDnYWsGWPNDkQ4SmnFFnTnsjTN6Q=";
hash = "sha256-3QdHomKKN8bSUtyFCZJliw/FxNixVj9pdkzMwJWT880=";
};
propagatedBuildInputs = [

View File

@ -2,6 +2,7 @@
, boto3
, buildPythonPackage
, fetchFromGitHub
, orjson
, unittestCheckHook
, pythonOlder
, redis
@ -9,7 +10,7 @@
buildPythonPackage rec {
pname = "karton-core";
version = "5.1.0";
version = "5.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,11 +19,12 @@ buildPythonPackage rec {
owner = "CERT-Polska";
repo = "karton";
rev = "refs/tags/v${version}";
hash = "sha256-IhxMei6KkPsDnUkV4+zxSMI7rgZgOvbHQFqJAC1b5iw=";
hash = "sha256-1Bv0e218cvLuv/go0L13C39fFAeo0FJeCoU+XFUBhzk=";
};
propagatedBuildInputs = [
boto3
orjson
redis
];

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "karton-yaramatcher";
version = "1.2.0";
version = "1.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "CERT-Polska";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-ulWwPXbjqQXwSRi8MFdcx7vC7P19yu66Ll8jkuTesao=";
hash = "sha256-URGW8FyJZ3ktrwolls5ElSWn8FD6vWCA+Eu0aGtPh6U=";
};
propagatedBuildInputs = [

View File

@ -23,7 +23,7 @@
buildPythonPackage rec {
pname = "mat2";
version = "0.13.3";
version = "0.13.4";
disabled = pythonOlder "3.5";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "jvoisin";
repo = "mat2";
rev = version;
hash = "sha256-x3vGltGuFjI435lEXZU3p4eQcgRm0Oodqd6pTWO7ZX8=";
hash = "sha256-SuN62JjSb5O8gInvBH+elqv/Oe7j+xjCo+dmPBU7jEY=";
};
patches = [
@ -97,6 +97,7 @@ buildPythonPackage rec {
homepage = "https://0xacab.org/jvoisin/mat2";
changelog = "https://0xacab.org/jvoisin/mat2/-/blob/${version}/CHANGELOG.md";
license = licenses.lgpl3Plus;
mainProgram = "mat2";
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -1,4 +1,5 @@
{ lib
{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, isPy3k
@ -11,14 +12,14 @@
}:
buildPythonPackage rec {
pname = "moderngl_window";
version = "2.4.2";
pname = "moderngl-window";
version = "2.4.4";
src = fetchFromGitHub {
owner = "moderngl";
repo = pname;
repo = "moderngl_window";
rev = "refs/tags/${version}";
hash = "sha256-jsASGYrsH9UNanswX2bZyWS3co/2Y1joaQ98virWcBE=";
hash = "sha256-mg3j5ZoMwdk39L5xjcoEJo9buqssM1VLJtndSFsuCB0=";
};
propagatedBuildInputs = [ numpy moderngl pyglet pillow pyrr glcontext ];
@ -28,11 +29,14 @@ buildPythonPackage rec {
# Tests need a display to run.
doCheck = false;
pythonImportsCheck = [ "moderngl_window" ];
meta = with lib; {
homepage = "https://github.com/moderngl/moderngl_window";
description = "Cross platform helper library for ModernGL making window creation and resource loading simple";
license = licenses.mit;
platforms = platforms.linux; # should be mesaPlatforms, darwin build breaks.
broken = stdenv.isDarwin; # darwin build breaks
platforms = platforms.mesaPlatforms;
maintainers = with maintainers; [ c0deaddict ];
};
}

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "mypy-boto3-builder";
version = "7.17.1";
version = "7.17.2";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "youtype";
repo = "mypy_boto3_builder";
rev = "refs/tags/${version}";
hash = "sha256-QzofWNnYTAlxoeJm8HRaGBOV5rqkhjHHOEwYNrXTh/I=";
hash = "sha256-YuHq3pfx3dNgi9M4dGSmIOC3iZaLe9lqrRL0q3ggCTs=";
};
nativeBuildInputs = [

View File

@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "opower";
version = "0.0.18";
version = "0.0.20";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "tronikos";
repo = "opower";
rev = "refs/tags/v${version}";
hash = "sha256-IlM4BPwZ42Bequs3edzP+iclOsHRf6bsDaaZOg+ynx4=";
hash = "sha256-hb+TVnCAAnsoKPk9N1bDXj463CErp7nn2cteOumKhLs=";
};
pythonRemoveDeps = [

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "publicsuffixlist";
version = "0.10.0.20230730";
version = "0.10.0.20230804";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-HNOEfsHrwCBpcVYwlYrWe9/rfn+fNfaZ0w/EEpjO7aw=";
hash = "sha256-J8yeq9CuzXGlqPjGf8hnV0IeI+Wg0Q5GS69/8z+FLp8=";
};
passthru.optional-dependencies = {

View File

@ -19,12 +19,13 @@
, pythonOlder
, requests
, srptools
, stdenv
, zeroconf
}:
buildPythonPackage rec {
pname = "pyatv";
version = "0.13.2";
version = "0.13.3";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -33,7 +34,7 @@ buildPythonPackage rec {
owner = "postlund";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-7jXxnZLruwNzYVOn3c+YlF2olwezwjpwXInDem44/vE=";
hash = "sha256-lg7gsCB8zn+q+ZTkIoGkIls10xS7bp8Svd749a10bWA=";
};
postPatch = ''
@ -87,6 +88,11 @@ buildPythonPackage rec {
"--asyncio-mode=legacy"
];
disabledTests = lib.optionals (stdenv.isDarwin) [
# tests/protocols/raop/test_raop_functional.py::test_stream_retransmission[raop_properties2-2-True] - assert False
"test_stream_retransmission"
];
disabledTestPaths = [
# Test doesn't work in the sandbox
"tests/protocols/companion/test_companion_auth.py"

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "python-roborock";
version = "0.31.1";
version = "0.32.0";
format = "pyproject";
disabled = pythonOlder "3.10";
@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "humbertogontijo";
repo = "python-roborock";
rev = "refs/tags/v${version}";
hash = "sha256-t5UYdoaKqUrEIgRQy1URtNhFmlkB2sgGwsLrclqH6Tg=";
hash = "sha256-DojIfAmYW/asvpAkcBj/pN1rdCPFD4nwkEqpGVBkMoE=";
};
pythonRelaxDeps = [

View File

@ -22,7 +22,7 @@
buildPythonPackage rec {
pname = "qcs-api-client";
version = "0.21.5";
version = "0.21.6";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "rigetti";
repo = "qcs-api-client-python";
rev = "refs/tags/v${version}";
hash = "sha256-lw6jswIaqDFExz/hjIrpZf4BC757l83MeCfOyZaTbfg=";
hash = "sha256-1vXqwir3lAM+m/HGHWuXl20muAOasEWo1H0RjUCShTM=";
};
patches = [

View File

@ -40,7 +40,7 @@
buildPythonPackage rec {
pname = "sentry-sdk";
version = "1.28.1";
version = "1.29.2";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -49,7 +49,7 @@ buildPythonPackage rec {
owner = "getsentry";
repo = "sentry-python";
rev = "refs/tags/${version}";
hash = "sha256-toyZAOtAZl38UfLs8+DbAb/EqX+sl/ndKGb7/pFI10Q=";
hash = "sha256-etn7vkKgCN7a8Dxv4gDSVaG6mvCltVh6rTOLaKEyNRA=";
};
propagatedBuildInputs = [

View File

@ -9,12 +9,13 @@
, pytest-asyncio
, pytestCheckHook
, pythonRelaxDepsHook
, uvicorn
, websockets
}:
buildPythonPackage rec {
pname = "ypy-websocket";
version = "0.9.0";
version = "0.12.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -23,7 +24,7 @@ buildPythonPackage rec {
owner = "y-crdt";
repo = "ypy-websocket";
rev = "refs/tags/v${version}";
hash = "sha256-dHcXJavzR1BDAM9Xjm144gfNMSDEkenumI3POBfCjvQ=";
hash = "sha256-JsSOh7CSHUnGJmNAP87fMMsRgdj6nNna1XVe15MYqoA=";
};
pythonRelaxDeps = [
@ -48,6 +49,7 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
uvicorn
websockets
];

View File

@ -3,10 +3,8 @@
, aioresponses
, attrs
, buildPythonPackage
, cached-property
, defusedxml
, fetchFromGitHub
, fetchpatch
, freezegun
, httpx
, isodate
@ -29,6 +27,7 @@
buildPythonPackage rec {
pname = "zeep";
version = "4.2.1";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -41,9 +40,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
attrs
cached-property
defusedxml
httpx
isodate
lxml
platformdirs
@ -51,7 +48,19 @@ buildPythonPackage rec {
requests
requests-file
requests-toolbelt
xmlsec
];
passthru.optional-dependencies = {
async_require = [
httpx
];
xmlsec_require = [
xmlsec
];
};
pythonImportsCheck = [
"zeep"
];
nativeCheckInputs = [
@ -64,26 +73,15 @@ buildPythonPackage rec {
pytest-httpx
pytestCheckHook
requests-mock
];
]
++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
preCheck = ''
export HOME=$(mktemp -d);
export HOME=$TMPDIR
'';
disabledTests = [
# lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 2, column 64
"test_mime_content_serialize_text_xml"
# Tests are outdated
"test_load"
"test_load_cache"
"test_post"
];
pythonImportsCheck = [
"zeep"
];
meta = with lib; {
changelog = "https://github.com/mvantellingen/python-zeep/releases/tag/${version}";
description = "Python SOAP client";
homepage = "http://docs.python-zeep.org";
license = licenses.mit;

View File

@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "zeroconf";
version = "0.72.0";
version = "0.74.0";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "jstasiak";
repo = "python-zeroconf";
rev = "refs/tags/${version}";
hash = "sha256-Km7qZEXp0Srzt7XAq9D/U8WI/7go81Lvgx3Xck24XDc=";
hash = "sha256-0QmAq1+dRfRkomZgh4Q0YF20omQBDUTgGt8cP1L6cx0=";
};
nativeBuildInputs = [

View File

@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "zigpy-znp";
version = "0.11.3";
version = "0.11.4";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-3pK6H926awUuQGmwyqirFKPnnz+XCGg2/ChuwvaHoDY=";
hash = "sha256-wt7ZsMXOh+CbhJCUMS7RhzozYlyINRs0xOF7ecwkNCU=";
};
postPatch = ''

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "zigpy";
version = "0.56.2";
version = "0.56.4";
format = "pyproject";
disabled = pythonOlder "3.8";
@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zigpy";
repo = "zigpy";
rev = "refs/tags/${version}";
hash = "sha256-VUnt2rk1nQZqmoS8ytBCX2q3E4zxSz2A0Hg7AUXmtJo=";
hash = "sha256-PxvTg/z7WmJaH/iwHoJu2bQDLR4G5nkMS5fSP46C3mQ=";
};
postPatch = ''

View File

@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "sqlfluff";
version = "2.1.2";
version = "2.2.0";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-XxaQlXXxd0CpVK2iIt2aJ5PoGWvanFf7oeCdnjOTaeI=";
hash = "sha256-3NNig7zt6ZQUXuzONKlE5h/uOrY8/0/oVbw+BZ99mPk=";
};
propagatedBuildInputs = with python3.pkgs; [

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ libffi ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
doCheck = true;
meta = with lib; {

View File

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec {
pname = "neocmakelsp";
version = "0.5.18";
version = "0.6.1";
src = fetchFromGitHub {
owner = "Decodetalkers";
repo = "neocmakelsp";
rev = "v${version}";
hash = "sha256-3Bv1tRskxQ4Fk+gEGCYRq8WtkBHYP2VjirtTZ3SWJlQ=";
hash = "sha256-wwFek9668tC+j2F12b9YiYbYJWp5z4J4F09dlj+hlq0=";
};
cargoHash = "sha256-O8E5PmXYrNOB8fXFs5ar30c1X5flIQZ/lrRSl/3XH+o=";
cargoHash = "sha256-XmacBalkevCmYxWFcez/++1ng2yyURge466VX6QZC9M=";
meta = with lib; {
description = "A cmake lsp based on tower-lsp and treesitter";
@ -22,5 +22,6 @@ rustPlatform.buildRustPackage rec {
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ rewine ];
mainProgram = "neocmakelsp";
};
}

Some files were not shown because too many files have changed in this diff Show More