Merge remote-tracking branch 'origin/staging-next' into staging

Conflicts:
-	pkgs/development/python-modules/curio/default.nix
-	pkgs/development/python-modules/pytest-httpbin/default.nix
-	pkgs/development/python-modules/xtensor-python/default.nix
This commit is contained in:
Martin Weinelt 2024-05-22 18:08:07 +02:00
commit 42493b30b7
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
6849 changed files with 98341 additions and 98785 deletions

View File

@ -114,3 +114,6 @@ fb0e5be84331188a69b3edd31679ca6576edb75a
# k3s: format with nixfmt-rfc-style
6cfcd3c75428ede517bc6b15a353d704837a2830
# python3Packages: format with nixfmt
59b1aef59071cae6e87859dc65de973d2cc595c0

View File

@ -3610,6 +3610,12 @@
githubId = 1118859;
name = "Scott Worley";
};
chmouel = {
email = "chmouel@chmouel.com";
github = "chmouel";
githubId = 98980;
name = "Chmouel Boudjnah";
};
choochootrain = {
email = "hurshal@imap.cc";
github = "choochootrain";
@ -9830,6 +9836,12 @@
githubId = 32305209;
name = "John Children";
};
johnjohnstone = {
email = "jjohnstone@riseup.net";
github = "johnjohnstone";
githubId = 3208498;
name = "John Johnstone";
};
johnmh = {
email = "johnmh@openblox.org";
github = "JohnMH";

View File

@ -435,6 +435,8 @@ Use `services.pipewire.extraConfig` or `services.pipewire.configPackages` for Pi
- `services.archisteamfarm` no longer uses the abbreviation `asf` for its state directory (`/var/lib/asf`), user and group (both `asf`). Instead the long name `archisteamfarm` is used.
Configurations with `system.stateVersion` 23.11 or earlier, default to the old stateDirectory until the 24.11 release and must either set the option explicitly or move the data to the new directory.
- `frr` was updated to 10.0, which introduces the default of `enforce-first-as` for BGP. Please disable again if needed.
- `services.aria2.rpcSecret` has been replaced with `services.aria2.rpcSecretFile`.
This was done so that secrets aren't stored in the world-readable nix store.
To migrate, you will have to create a file with the same exact string, and change

View File

@ -33,6 +33,8 @@ in
elisp-ffi = callPackage ./manual-packages/elisp-ffi { };
emacs-conflict = callPackage ./manual-packages/emacs-conflict { };
ess-R-object-popup = callPackage ./manual-packages/ess-R-object-popup { };
evil-markdown = callPackage ./manual-packages/evil-markdown { };

View File

@ -0,0 +1,25 @@
{ lib
, fetchFromGitHub
, trivialBuild
, emacs
}:
trivialBuild {
pname = "emacs-conflict";
version = "0-unstable-2022-11-21";
src = fetchFromGitHub {
owner = "ibizaman";
repo = "emacs-conflict";
rev = "9f236b93930f3ceb4cb0258cf935c99599191de3";
sha256 = "sha256-DIGvnotSQYIgHxGxtyCALHd8ZbrfkmdvjLXlkcqQ6v4=";
};
meta = with lib; {
description = "Resolve conflicts happening when using file synchronization tools";
homepage = "https://github.com/ibizaman/emacs-conflict";
license = licenses.gpl3;
maintainers = with maintainers; [ ibizaman ];
inherit (emacs.meta) platforms;
};
}

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "openvi";
version = "7.5.28";
version = "7.5.29";
src = fetchFromGitHub {
owner = "johnsonjh";
repo = "OpenVi";
rev = version;
hash = "sha256-6FP56tlPQXbphyJBDct5hBK81XsU6TJjKDZM4eHqitQ=";
hash = "sha256-ukNgTtVrYkL7Bf7O7ERyQ9TOR8ss/EHCTMbzHi3tkG4=";
};
buildInputs = [ ncurses perl ];

View File

@ -17335,5 +17335,17 @@ final: prev:
meta.homepage = "https://github.com/jhradilek/vim-snippets/";
};
compiler-nvim = buildVimPlugin {
pname = "compiler-nvim";
version = "2024-04-26";
src = fetchFromGitHub {
owner = "Zeioth";
repo = "compiler.nvim";
rev = "cb14acd32ba9ea09d01bbe3493aefdc59b68965c";
sha256 = "sha256-YZyT5B0nk9LxaEA5ntuKPs7yf/Ix7zs3f6N3UOc9AIU=";
};
meta.homepage = "https://github.com/Zeioth/compiler.nvim/";
};
}

View File

@ -427,6 +427,11 @@
dependencies = with self; [ plenary-nvim ];
};
compiler-nvim = super.compiler-nvim.overrideAttrs {
dependencies = [ self.overseer-nvim ];
nvimRequireCheck = "compiler";
};
completion-buffers = super.completion-buffers.overrideAttrs {
dependencies = with self; [ completion-nvim ];
};

View File

@ -203,6 +203,7 @@ https://github.com/tzachar/compe-tabnine/,,
https://github.com/tamago324/compe-zsh/,,
https://github.com/xeluxee/competitest.nvim/,HEAD,
https://github.com/krady21/compiler-explorer.nvim/,HEAD,
https://github.com/Zeioth/compiler.nvim/,HEAD,
https://github.com/steelsojka/completion-buffers/,,
https://github.com/nvim-lua/completion-nvim/,,
https://github.com/aca/completion-tabnine/,,

View File

@ -1477,8 +1477,8 @@ let
mktplcRef = {
name = "elixir-ls";
publisher = "JakeBecker";
version = "0.21.2";
hash = "sha256-UZthDY+O8rG+oz/jQyQKDPbdS+lVKiLyuicU+4SGivw=";
version = "0.21.3";
hash = "sha256-C6QFlqMIcefQhzBuVd3CnQHHaDdM1de7j+a/06wZ9FQ=";
};
meta = {
changelog = "https://marketplace.visualstudio.com/items/JakeBecker.elixir-ls/changelog";

View File

@ -1,11 +1,11 @@
{
stable = {
chromedriver = {
hash_darwin = "sha256-ahwPSPoB2h6Zq4ePbvSmYs3WNc+MpBXQYyYLf0ZS3ss=";
hash_darwin = "sha256-DX0J3xeOK4Dy4BAjbrbu1rnIkmF8nlmy9tMaQhLsFcU=";
hash_darwin_aarch64 =
"sha256-NVqr/i4S4XP+z0+YT6CuDnmyN4GtS6ttyJDOQ05KB+0=";
hash_linux = "sha256-PKuhfBw5FblCUQ60yeQC0McvYu7gPfwwIW1ysN/MwVA=";
version = "125.0.6422.60";
"sha256-hRJeaeQS30srO5M1Gi43VYR/KrjNAhH0XozkEzvcbA0=";
hash_linux = "sha256-CcBQhIsK7mL7VNJCs6ynhrQeXPuB793DysyV1nj90mM=";
version = "125.0.6422.76";
};
deps = {
gn = {
@ -15,8 +15,8 @@
version = "2024-04-10";
};
};
hash = "sha256-ewX7oRna7IYCXhAe98HS5HbS1psIEAguhZJ1ymK+dPE=";
version = "125.0.6422.60";
hash = "sha256-m7WeRloS6tGH2AwhkNicpqThUQmS+9w2xFS2dbmu1vw=";
version = "125.0.6422.76";
};
ungoogled-chromium = {
deps = {

View File

@ -2,13 +2,13 @@
buildGoModule rec {
pname = "kubevpn";
version = "2.2.9";
version = "2.2.10";
src = fetchFromGitHub {
owner = "KubeNetworks";
repo = "kubevpn";
rev = "v${version}";
hash = "sha256-C0rNTlcreBVxmLb2ChU5nYdafcnynd+GGuGFefFJXl8=";
hash = "sha256-2LDV2aVdGuclVmOgIIwMYRKTMVLzlmNFI6xHFpxMRJw=";
};
vendorHash = null;

View File

@ -1,15 +1,15 @@
{
"version": "16.10.5",
"repo_hash": "sha256-w2cXFIm588Q/SB1kO9dGCmxO3+Xee7BaCCipuVcnfXg=",
"version": "16.10.6",
"repo_hash": "sha256-+nEUyD+ryZicH7suh4MnQRDKMC3M3VWRdO4nZCi2LGs=",
"yarn_hash": "0yzywfg4lqxjwm5cqsm4bn97zcrfvpnrs8rjrv9wv3xqvi9h9skd",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v16.10.5-ee",
"rev": "v16.10.6-ee",
"passthru": {
"GITALY_SERVER_VERSION": "16.10.5",
"GITLAB_PAGES_VERSION": "16.10.5",
"GITALY_SERVER_VERSION": "16.10.6",
"GITLAB_PAGES_VERSION": "16.10.6",
"GITLAB_SHELL_VERSION": "14.34.0",
"GITLAB_ELASTICSEARCH_INDEXER_VERSION": "4.8.0",
"GITLAB_WORKHORSE_VERSION": "16.10.5"
"GITLAB_WORKHORSE_VERSION": "16.10.6"
}
}

View File

@ -6,7 +6,7 @@
}:
let
version = "16.10.5";
version = "16.10.6";
package_version = "v${lib.versions.major version}";
gitaly_package = "gitlab.com/gitlab-org/gitaly/${package_version}";
@ -18,7 +18,7 @@ let
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
hash = "sha256-ctJfw4aU5qsv+I3rR9xZPGssYQpTnbn4MdTVOYapHqQ=";
hash = "sha256-C57p3H1L6ZQfjipGoQJup8u6ofir3rrxORtzUA1afL0=";
};
vendorHash = "sha256-6gZr0/0ZGcFwwAY4IuW2puL/7akMZvaU0ONJGYyyJas=";

View File

@ -2,14 +2,14 @@
buildGoModule rec {
pname = "gitlab-pages";
version = "16.10.5";
version = "16.10.6";
# nixpkgs-update: no auto update
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-pages";
rev = "v${version}";
hash = "sha256-wuEYcwAKYO7YZs88NvE0AI5+aZ9JeLBAeXITc2jLGVo=";
hash = "sha256-30ojS+TBIJ4Qzg1jh2Bpdd2s2Yo2S+UqxRRdvNBvB/k=";
};
vendorHash = "sha256-WrR4eZRAuYkhr7ZqP7OXqJ6uwvxzn+t+3OdBNcNaq0M=";

View File

@ -5,7 +5,7 @@ in
buildGoModule rec {
pname = "gitlab-workhorse";
version = "16.10.5";
version = "16.10.6";
# nixpkgs-update: no auto update
src = fetchFromGitLab {

View File

@ -1,24 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, elfutils
, zlib
, libbpf
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
elfutils,
zlib,
libbpf,
clangStdenv,
}:
rustPlatform.buildRustPackage rec {
let
pname = "bpftop";
version = "0.4.2";
version = "0.5.1";
in
rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } {
inherit pname version;
src = fetchFromGitHub {
owner = "Netflix";
repo = "bpftop";
rev = "v${version}";
hash = "sha256-zYCv3L+xDFAJ4Wo9xwfHJrqPQUv5KiFDbhCdC1Z6qNo=";
rev = "refs/tags/v${version}";
hash = "sha256-CSQfg0JuWm0CFyC4eXxn7eSyKIu0gKAqgiQT64tgnDI=";
};
cargoHash = "sha256-6uPfMxjSrSGrAgJcvzTY/i1ckoW/wIi7D5noOafCvZE=";
cargoHash = "sha256-Hg763Zy5KRZqEDoasoDScZGAPb1ABRp+LI1c7IYJNf0=";
buildInputs = [
elfutils
@ -26,9 +29,7 @@ rustPlatform.buildRustPackage rec {
zlib
];
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
meta = {
description = "A dynamic real-time view of running eBPF programs";
@ -36,6 +37,7 @@ rustPlatform.buildRustPackage rec {
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
_0x4A6F
luftmensch-luftmensch
mfrw
];
mainProgram = "bpftop";

View File

@ -38,6 +38,7 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, qt5 }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, qt5 }:
stdenv.mkDerivation (finalAttrs: {
pname = "frequest";
@ -33,6 +33,15 @@ stdenv.mkDerivation (finalAttrs: {
];
sourceRoot = "frequest";
patches = [
# This fix has been merged upstream into the develop branch, but it was not released yet. It can be removed once a new version is released.
(fetchpatch {
name = "Change-desktop-icon-name";
url = "https://github.com/fabiobento512/FRequest/commit/22e98970b78f6d9ca0037c39c2492e93e836abff.patch";
hash = "sha256-YoI68SPMHD4bAgjWpn6eSda3Oon8bevbiwTx1JFFm40=";
})
];
buildInputs = [
qt5.qtbase
];

View File

@ -0,0 +1,107 @@
{
autoPatchelfHook,
copyDesktopItems,
fetchzip,
lib,
libGL,
libGLU,
libxcrypt-legacy,
makeDesktopItem,
makeWrapper,
stdenv,
testers,
vulkan-loader,
}:
let
description = "OpenGL and Vulkan Benchmark and Stress Test";
versions = {
"x86_64-linux" = "2.3.0.0";
"aarch64-linux" = "2.3.0.0";
"i686-linux" = "2.0.16";
};
sources = {
"x86_64-linux" = {
url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.x86_64-linux}_linux64.zip";
hash = "sha256-9xwnOo8gh6XlX2uTwvEorXsx9FafaeCyCPPPJLJGeuE=";
};
"aarch64-linux" = {
url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.x86_64-linux}_rpi64.zip";
hash = "sha256-az4prQbg9I+6rt2y1OTy3t21/VHyZS++57r4Ahe3fcQ=";
};
"i686-linux" = {
url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.i686-linux}_linux32.zip";
hash = "sha256-yXd90FgL3WbTga5x0mXT40BonA2NQtqLzRVzn4s4lLc=";
};
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "furmark";
version = versions.${stdenv.hostPlatform.system};
src = fetchzip sources.${stdenv.hostPlatform.system};
nativeBuildInputs = [
autoPatchelfHook
copyDesktopItems
makeWrapper
];
buildInputs = [
libGL
libGLU
] ++ lib.optionals stdenv.isAarch64 [ libxcrypt-legacy ];
installPhase = ''
runHook preInstall
mkdir -p $out/share/furmark
cp -rp * $out/share/furmark
mkdir -p $out/bin
for i in $(find $out/share/furmark -maxdepth 1 -type f -executable); do
ln -s "$i" "$out/bin/$(basename "$i")"
done
runHook postInstall
'';
appendRunpaths = [ (lib.makeLibraryPath [ vulkan-loader ]) ];
desktopItems = [
(makeDesktopItem rec {
name = "FurMark";
exec = "FurMark_GUI";
comment = description;
desktopName = name;
genericName = name;
categories = [
"System"
"Monitor"
];
})
];
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "furmark --version";
};
};
meta = {
homepage = "https://www.geeks3d.com/furmark/v2/";
license = lib.licenses.unfree;
mainProgram = "FurMark_GUI";
maintainers = with lib.maintainers; [ surfaceflinger ];
platforms = [
"aarch64-linux"
"i686-linux"
"x86_64-linux"
];
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
inherit description;
};
})

View File

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gh-s";
version = "0.0.8";
src = fetchFromGitHub {
owner = "gennaro-tedesco";
repo = "gh-s";
rev = "v${version}";
hash = "sha256-hLfaAtWiJHCJ7MFz8dg4SJJB2cNY1gKUEwMAdRB4lr8=";
};
vendorHash = "sha256-5UJAgsPND6WrOZZ5PUZNdwd7/0NPdhD1SaZJzZ+2VvM=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Search github repositories interactively";
homepage = "https://github.com/gennaro-tedesco/gh-s";
license = licenses.asl20;
maintainers = with maintainers; [ daru-san ];
mainProgram = "gh-s";
};
}

View File

@ -14,7 +14,7 @@ buildDotnetGlobalTool {
homepage = "https://gitversion.net/";
downloadPage = "https://github.com/GitTools/GitVersion";
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.linux ++ platforms.windows ++ platforms.darwin;
maintainers = with maintainers; [ acesyde ];
};
}

View File

@ -0,0 +1,38 @@
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "gosmee";
version = "0.21.0";
src = fetchFromGitHub {
owner = "chmouel";
repo = "gosmee";
rev = "v${version}";
sha256 = "sha256-VNBz6roula/YlsYMM1kjQT3TLuQ86/MESzNNkEf/92M=";
};
vendorHash = null;
nativeBuildInputs = [ installShellFiles ];
postPatch = ''
printf ${version} > gosmee/templates/version
'';
postInstall = ''
installShellCompletion --cmd gosmee \
--bash <($out/bin/gosmee completion bash) \
--fish <($out/bin/gosmee completion fish) \
--zsh <($out/bin/gosmee completion zsh)
'';
meta = {
description = "Command line server and client for webhooks deliveries (and https://smee.io)";
homepage = "https://github.com/chmouel/gosmee";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ vdemeester chmouel ];
};
}

View File

@ -1,39 +1,40 @@
{ lib, buildPythonPackage, fetchFromGitHub, systemd, pytest }:
{
lib,
python3Packages,
fetchFromGitHub,
}:
buildPythonPackage rec {
python3Packages.buildPythonApplication rec {
pname = "journalwatch";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "The-Compiler";
repo = pname;
rev = "v${version}";
repo = "journalwatch";
rev = "refs/tags/v${version}";
hash = "sha512-60+ewzOIox2wsQFXMAgD7XN+zvPA1ScPz6V4MB5taVDhqCxUTMVOxodf+4AMhxtNQloXZ3ye7/0bjh1NPDjxQg==";
};
# can be removed post 1.1.0
postPatch = ''
substituteInPlace test_journalwatch.py \
--replace "U Thu Jan 1 00:00:00 1970 prio foo [1337]" "U Thu Jan 1 00:00:00 1970 pprio foo [1337]"
--replace-fail "U Thu Jan 1 00:00:00 1970 prio foo [1337]" "U Thu Jan 1 00:00:00 1970 pprio foo [1337]"
'';
build-system = with python3Packages; [ setuptools ];
doCheck = true;
nativeCheckInputs = [ pytest ];
checkPhase = ''
pytest
'';
dependencies = with python3Packages; [ systemd ];
propagatedBuildInputs = [
systemd
];
nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
pythonImportsCheck = [ "journalwatch" ];
meta = with lib; {
description = "A tool to find error messages in the systemd journal";
mainProgram = "journalwatch";
homepage = "https://github.com/The-Compiler/journalwatch";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ florianjacob ];
mainProgram = "journalwatch";
};
}

View File

@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "lexido";
version = "1.4.2";
src = fetchFromGitHub {
owner = "micr0-dev";
repo = "lexido";
rev = "v${version}";
hash = "sha256-nc6UvW16MmLsKt0oSb9nG64N7J3+5CveSwPnGOezhGY=";
};
vendorHash = "sha256-h3ws9k7W4nNyS1WvZP29NJfJsBOe0D47ykd41C96Xi4=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "A terminal assistant, powered by Generative AI";
homepage = "https://github.com/micr0-dev/lexido";
license = licenses.agpl3Only;
maintainers = with maintainers; [ daru-san ];
mainProgram = "lexido";
};
}

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, makeWrapper
, cargo
, curl
@ -29,25 +28,15 @@ stdenv.mkDerivation (finalAttrs: {
inherit nvimAlias viAlias vimAlias globalConfig;
pname = "lunarvim";
version = "1.3.0";
version = "1.4.0";
src = fetchFromGitHub {
owner = "LunarVim";
repo = "LunarVim";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-z1Cw3wGpFDmlrAIy7rrjlMtzcW7a6HWSjI+asEDcGPA=";
hash = "sha256-uuXaDvZ9VaRJlZrdu28gawSOJFVSo5XX+JG53IB+Ijw=";
};
# Pull in the fix for Nerd Fonts until the next release
patches = [
(
fetchpatch {
url = "https://github.com/LunarVim/LunarVim/commit/d187cbd03fbc8bd1b59250869e0e325518bf8798.patch";
sha256 = "sha256-ktkQ2GiIOhbVOMjy1u5Bf8dJP4SXHdG4j9OEFa9Fm7w=";
}
)
];
nativeBuildInputs = [
gnused
makeWrapper
@ -140,7 +129,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/LunarVim/LunarVim/blob/${finalAttrs.src.rev}/CHANGELOG.md";
sourceProvenance = with sourceTypes; [ fromSource ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ prominentretail ];
maintainers = with maintainers; [ prominentretail lebensterben ];
platforms = platforms.unix;
mainProgram = "lvim";
};

View File

@ -28,6 +28,7 @@ rustPlatform.buildRustPackage rec {
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
meta = with lib; {

View File

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "robotframework-tidy";
version = "4.11.0";
version = "4.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "MarketSquare";
repo = "robotframework-tidy";
rev = version;
hash = "sha256-pWW7Ex184WgnPfqHg5qQjfE+9UPvCmE5pwkY8jrp9bI=";
hash = "sha256-MCx0J+uZ2LI0K1TrIwJbLVTUTJnLxTvYXUJNtIMsnQU=";
};
build-system = with python3.pkgs; [ setuptools ];

View File

@ -0,0 +1,25 @@
From 7f5a652150aef9c098d2d5d4bc4f6d497609c47c Mon Sep 17 00:00:00 2001
From: john johnstone <jjohnstone@riseup.net>
Date: Sat, 11 Mar 2023 22:29:18 +0000
Subject: [PATCH] plugin install dir patch for nix
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 31d96d0..a7a589d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,7 +54,7 @@ dnl ---------------------------------------------------------------------
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40 gio-unix-2.0 gmodule-2.0])
PKG_CHECK_MODULES([rofi], [rofi])
-[rofi_PLUGIN_INSTALL_DIR]="`$PKG_CONFIG --variable=pluginsdir rofi`"
+[rofi_PLUGIN_INSTALL_DIR]="`echo $out/lib/rofi`"
AC_SUBST([rofi_PLUGIN_INSTALL_DIR])
LT_INIT([disable-static])
--
2.39.2

View File

@ -0,0 +1,38 @@
From ed8943fdd9ffe7d53a89b7cd18a08165708884ad Mon Sep 17 00:00:00 2001
From: john johnstone <jjohnstone@riseup.net>
Date: Sun, 12 Mar 2023 04:41:44 +0000
Subject: [PATCH] patch cairo
---
Makefile.am | 4 ++--
configure.ac | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index cef4046..ba7051a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,6 +6,6 @@ plugin_LTLIBRARIES = blezz.la
blezz_la_SOURCES=\
src/blezz.c
-blezz_la_CFLAGS= @glib_CFLAGS@ @rofi_CFLAGS@
-blezz_la_LIBADD= @glib_LIBS@ @rofi_LIBS@
+blezz_la_CFLAGS= @glib_CFLAGS@ @rofi_CFLAGS@ @cairo_CFLAGS@
+blezz_la_LIBADD= @glib_LIBS@ @rofi_LIBS@ @cairo_LIBS@
blezz_la_LDFLAGS= -module -avoid-version
diff --git a/configure.ac b/configure.ac
index a7a589d..ce4e649 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,6 +53,7 @@ dnl PKG_CONFIG based dependencies
dnl ---------------------------------------------------------------------
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.40 gio-unix-2.0 gmodule-2.0])
PKG_CHECK_MODULES([rofi], [rofi])
+PKG_CHECK_MODULES([cairo], [cairo cairo-xcb])
[rofi_PLUGIN_INSTALL_DIR]="`echo $out/lib/rofi`"
AC_SUBST([rofi_PLUGIN_INSTALL_DIR])
--
2.39.2

View File

@ -0,0 +1,43 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, cairo
, pkg-config
, rofi-unwrapped
}:
stdenv.mkDerivation {
pname = "rofi-blezz";
version = "2023-03-27";
src = fetchFromGitHub {
owner = "davatorium";
repo = "rofi-blezz";
rev = "3a00473471e7c56d2c349ad437937107b7d8e961";
sha256 = "sha256-hY5UA7nyL6QoOBIZTjEiR0zjZFhkUkRa50r5rVZDnbg=";
};
patches = [
./0001-Patch-plugindir-to-output.patch
./0002-Patch-add-cairo.patch
];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
cairo
rofi-unwrapped
];
meta = with lib; {
description = "A plugin for rofi that emulates blezz behaviour";
homepage = "https://github.com/davatorium/rofi-blezz";
license = licenses.mit;
maintainers = with maintainers; [ johnjohnstone ];
platforms = platforms.linux;
};
}

View File

@ -1,54 +1,47 @@
{ lib
, stdenv
, qtbase
, libpwquality
, hicolor-icon-theme
, fetchFromGitHub
, wrapQtAppsHook
, cmake
, pkg-config
, libgcrypt
, qt6
, kdePackages
, cryfs
, encfs
, fscrypt-experimental
, gocryptfs
, securefs
, sshfs
, libgcrypt
, libsecret
, kwallet
, withKWallet ? true
, withLibsecret ? true
}:
stdenv.mkDerivation rec {
pname = "sirikali";
version = "1.5.1";
version = "1.6.0";
src = fetchFromGitHub {
owner = "mhogomchungu";
repo = "sirikali";
rev = version;
hash = "sha256-1bY8cCMMK4Jie4+9c7eUEBrPEYDaOqFHZ5252TPSotA=";
hash = "sha256-org8mYKwZDdOvkQyd3eD+GaI0aHshMbe2f9i1bM+lBk=";
};
buildInputs = [
qtbase
qt6.qtbase
libpwquality
hicolor-icon-theme
libgcrypt
cryfs
encfs
fscrypt-experimental
gocryptfs
securefs
sshfs
]
++ lib.optionals withKWallet [ libsecret ]
++ lib.optionals withLibsecret [ kwallet ]
++ lib.optionals withKWallet [ kdePackages.kwallet ]
++ lib.optionals withLibsecret [ libsecret ]
;
nativeBuildInputs = [
wrapQtAppsHook
qt6.wrapQtAppsHook
cmake
pkg-config
];
@ -64,17 +57,13 @@ stdenv.mkDerivation rec {
]}''
];
postPatch = ''
substituteInPlace "src/engines.cpp" --replace "/sbin/" "/run/wrappers/bin/"
'';
doCheck = true;
cmakeFlags = [
"-DINTERNAL_LXQT_WALLET=false"
"-DNOKDESUPPORT=${if withKWallet then "false" else "true"}"
"-DNOSECRETSUPPORT=${if withLibsecret then "false" else "true"}"
"-DQT5=true"
"-DBUILD_WITH_QT6=true"
];
meta = with lib; {
@ -83,5 +72,7 @@ stdenv.mkDerivation rec {
changelog = "https://github.com/mhogomchungu/sirikali/blob/${src.rev}/changelog";
license = licenses.gpl3Only;
maintainers = with maintainers; [ linuxissuper ];
mainProgram = "sirikali";
platforms = platforms.all;
};
}

View File

@ -30,10 +30,7 @@ let
lxqt-sudo = callPackage ./lxqt-sudo {};
lxqt-themes = callPackage ./lxqt-themes {};
pavucontrol-qt = callPackage ./pavucontrol-qt {};
qtermwidget = callPackage ./qtermwidget {
lxqt-build-tools = lxqt-build-tools_0_13;
inherit (pkgs.libsForQt5) qtbase qttools;
};
qtermwidget = callPackage ./qtermwidget {};
### CORE 2
lxqt-panel = callPackage ./lxqt-panel {};
@ -41,10 +38,7 @@ let
pcmanfm-qt = callPackage ./pcmanfm-qt {};
### OPTIONAL
qterminal = callPackage ./qterminal {
lxqt-build-tools = lxqt-build-tools_0_13;
inherit (pkgs.libsForQt5) qtbase qttools qtx11extras;
};
qterminal = callPackage ./qterminal {};
compton-conf = callPackage ./compton-conf {
lxqt-build-tools = lxqt-build-tools_0_13;
inherit (pkgs.libsForQt5) qtbase qttools qtx11extras;

View File

@ -6,7 +6,6 @@
, qtbase
, qtermwidget
, qttools
, qtx11extras
, wrapQtAppsHook
, gitUpdater
, nixosTests
@ -14,13 +13,13 @@
stdenv.mkDerivation rec {
pname = "qterminal";
version = "1.4.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-nojNx351lYw0jVKEvzAIDP1WrZWcCAlfYMxNG95GcEo=";
hash = "sha256-SesKJCiMoiqkvMM29+0IMERozQ9zuD+NJTtaC6j7ubM=";
};
nativeBuildInputs = [
@ -33,7 +32,6 @@ stdenv.mkDerivation rec {
buildInputs = [
qtbase
qtermwidget
qtx11extras
];
passthru.updateScript = gitUpdater { };

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "qtermwidget";
version = "1.4.0";
version = "2.0.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-wYUOqAiBjnupX1ITbFMw7sAk42V37yDz9SrjVhE4FgU=";
hash = "sha256-kZS6D/wSJFRt/+Afq0zCCmNnJPpFT+1hd4zVPc+rJsE=";
};
nativeBuildInputs = [
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
broken = stdenv.isDarwin;
homepage = "https://github.com/lxqt/qtermwidget";
description = "A terminal emulator widget for Qt 5";
description = "A terminal emulator widget for Qt, used by QTerminal";
license = licenses.gpl2Plus;
platforms = with platforms; unix;
maintainers = teams.lxqt.members;

View File

@ -42,6 +42,10 @@ stdenv.mkDerivation rec {
swig
doxygen
python3Packages.python
] ++ lib.optionals enablePython [
python3Packages.build
python3Packages.installer
python3Packages.wheel
] ++ lib.optional enableCuda addOpenGLRunpath;
buildInputs = [ fftwSinglePrec ]
@ -84,9 +88,8 @@ stdenv.mkDerivation rec {
export OPENMM_LIB_PATH=$out/lib
export OPENMM_INCLUDE_PATH=$out/include
cd python
${python3Packages.python.pythonOnBuildForHost.interpreter} setup.py build
${python3Packages.python.pythonOnBuildForHost.interpreter} setup.py install --prefix=$out
mv $out/lib/python*/site-packages/OpenMM*.egg/{openmm,simtk} $out/lib/python*/site-packages/.
${python3Packages.python.pythonOnBuildForHost.interpreter} -m build --no-isolation --outdir dist/ --wheel
${python3Packages.python.pythonOnBuildForHost.interpreter} -m installer --prefix $out dist/*.whl
'';
postFixup = ''

View File

@ -1,7 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
{
lib,
buildPythonPackage,
fetchPypi,
pytest,
}:
buildPythonPackage rec {

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
, asgiref
, httpx
, pdm-backend
, pytest-asyncio
, pytestCheckHook
{
lib,
buildPythonPackage,
fetchPypi,
asgiref,
httpx,
pdm-backend,
pytest-asyncio,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -18,9 +19,7 @@ buildPythonPackage rec {
hash = "sha256-UOgaxVqmCfosZm5CuswlxCTIiEzmBy8afpAhFLfuXWM=";
};
nativeBuildInputs = [
pdm-backend
];
nativeBuildInputs = [ pdm-backend ];
nativeCheckInputs = [
asgiref

View File

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, six
, pynose
, setuptools
{
lib,
buildPythonPackage,
fetchPypi,
six,
pynose,
setuptools,
}:
buildPythonPackage rec {
@ -16,21 +17,13 @@ buildPythonPackage rec {
hash = "sha256-p3MorFXbtXNdqZRBhwJRvv4TX2h6twenoXhWE2OydwQ=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
six
];
dependencies = [ six ];
nativeCheckInputs = [
pynose
];
nativeCheckInputs = [ pynose ];
pythonImportsCheck = [
"aadict"
];
pythonImportsCheck = [ "aadict" ];
meta = with lib; {
description = "An auto-attribute dict (and a couple of other useful dict functions)";

View File

@ -1,4 +1,9 @@
{ lib, buildPythonPackage, fetchPypi, pillow }:
{
lib,
buildPythonPackage,
fetchPypi,
pillow,
}:
buildPythonPackage rec {
pname = "aafigure";

View File

@ -1,25 +1,26 @@
{ lib
, stdenv
, arc4
, asn1crypto
, asn1tools
, asyauth
, asysocks
, buildPythonPackage
, cargo
, colorama
, fetchFromGitHub
, iconv
, minikerberos
, pillow
, pyperclip
, pythonOlder
, rustPlatform
, rustc
, setuptools-rust
, tqdm
, unicrypto
, winsspi
{
lib,
stdenv,
arc4,
asn1crypto,
asn1tools,
asyauth,
asysocks,
buildPythonPackage,
cargo,
colorama,
fetchFromGitHub,
iconv,
minikerberos,
pillow,
pyperclip,
pythonOlder,
rustPlatform,
rustc,
setuptools-rust,
tqdm,
unicrypto,
winsspi,
}:
buildPythonPackage rec {
@ -65,16 +66,12 @@ buildPythonPackage rec {
tqdm
unicrypto
winsspi
] ++ lib.optionals (stdenv.isDarwin) [
iconv
];
] ++ lib.optionals (stdenv.isDarwin) [ iconv ];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"aardwolf"
];
pythonImportsCheck = [ "aardwolf" ];
meta = with lib; {
description = "Asynchronous RDP protocol implementation";

View File

@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, fetchPypi
, ply
, roman
, uqbar
, pythonOlder
, pytestCheckHook
, lilypond
{
lib,
buildPythonPackage,
fetchPypi,
ply,
roman,
uqbar,
pythonOlder,
pytestCheckHook,
lilypond,
}:
buildPythonPackage rec {
@ -27,13 +28,9 @@ buildPythonPackage rec {
uqbar
];
buildInputs = [
lilypond
];
buildInputs = [ lilypond ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = ''
substituteInPlace abjad/io.py \

View File

@ -1,6 +1,7 @@
{ lib
, fetchPypi
, buildPythonPackage
{
lib,
fetchPypi,
buildPythonPackage,
}:
buildPythonPackage rec {
@ -19,9 +20,7 @@ buildPythonPackage rec {
doCheck = false;
pythonImportsCheck = [
"about_time"
];
pythonImportsCheck = [ "about_time" ];
meta = with lib; {
description = "A cool helper for tracking time and throughput of code blocks, with beautiful human friendly renditions";

View File

@ -1,8 +1,9 @@
{ buildPythonPackage
, lib
, fetchPypi
, setuptools
, six
{
buildPythonPackage,
lib,
fetchPypi,
setuptools,
six,
}:
buildPythonPackage rec {
@ -15,13 +16,9 @@ buildPythonPackage rec {
hash = "sha256-eCB5DvuzFnOc3otOGTVyQ/w2CKFSAkKIUT3ZaNfZWf8=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
six
];
propagatedBuildInputs = [ six ];
# checks use bazel; should be revisited
doCheck = false;

View File

@ -1,23 +1,24 @@
{ stdenv
, lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pythonOlder
, llvmPackages
, pytest7CheckHook
, setuptools
, numpy
, packaging
, psutil
, pyyaml
, safetensors
, torch
, config
, cudatoolkit
, evaluate
, parameterized
, transformers
{
stdenv,
lib,
buildPythonPackage,
fetchFromGitHub,
pythonAtLeast,
pythonOlder,
llvmPackages,
pytest7CheckHook,
setuptools,
numpy,
packaging,
psutil,
pyyaml,
safetensors,
torch,
config,
cudatoolkit,
evaluate,
parameterized,
transformers,
}:
buildPythonPackage rec {
@ -34,9 +35,7 @@ buildPythonPackage rec {
hash = "sha256-E20pI5BrcTrMYrhriuOUl5/liSaQQy6eqRyCoauwb9Q=";
};
buildInputs = [
llvmPackages.openmp
];
buildInputs = [ llvmPackages.openmp ];
build-system = [ setuptools ];
@ -55,14 +54,17 @@ buildPythonPackage rec {
pytest7CheckHook
transformers
];
preCheck = ''
preCheck =
''
export HOME=$(mktemp -d)
export PATH=$out/bin:$PATH
'' + lib.optionalString config.cudaSupport ''
''
+ lib.optionalString config.cudaSupport ''
export TRITON_PTXAS_PATH="${cudatoolkit}/bin/ptxas"
'';
pytestFlagsArray = [ "tests" ];
disabledTests = [
disabledTests =
[
# try to download data:
"FeatureExamplesTests"
"test_infer_auto_device_map_on_t0pp"
@ -82,19 +84,23 @@ buildPythonPackage rec {
# set the environment variable, CC, which conflicts with standard environment
"test_patch_environment_key_exists"
] ++ lib.optionals (pythonAtLeast "3.12") [
]
++ lib.optionals (pythonAtLeast "3.12") [
# RuntimeError: Dynamo is not supported on Python 3.12+
"test_convert_to_fp32"
"test_send_to_device_compiles"
] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
]
++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# usual aarch64-linux RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly
"CheckpointTest"
# TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' (it seems cpuinfo doesn't work here)
"test_mpi_multicpu_config_cmd"
] ++ lib.optionals (!config.cudaSupport) [
]
++ lib.optionals (!config.cudaSupport) [
# requires ptxas from cudatoolkit, which is unfree
"test_dynamo_extract_model"
] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
]
++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
# RuntimeError: torch_shm_manager: execl failed: Permission denied
"CheckpointTest"
];
@ -107,9 +113,7 @@ buildPythonPackage rec {
"tests/test_scheduler.py"
];
pythonImportsCheck = [
"accelerate"
];
pythonImportsCheck = [ "accelerate" ];
__darwinAllowLocalNetworking = true;

View File

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, pygments
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
pygments,
}:
buildPythonPackage rec {
@ -18,13 +19,9 @@ buildPythonPackage rec {
hash = "sha256-57V6mxWVjpYBx+nrB6RAyBMoNUWiCXPyV0pfRT0OlT4=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
pygments
];
dependencies = [ pygments ];
# Tests only execute pygments with these styles
doCheck = false;

View File

@ -1,19 +1,20 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, mpmath
, numpy
, pybind11
, pyfma
, eigen
, importlib-metadata
, pytestCheckHook
, matplotlib
, dufte
, perfplot
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
mpmath,
numpy,
pybind11,
pyfma,
eigen,
importlib-metadata,
pytestCheckHook,
matplotlib,
dufte,
perfplot,
}:
buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
pybind11
];
buildInputs = [
eigen
];
buildInputs = [ eigen ];
dependencies = [
mpmath
@ -73,7 +72,10 @@ buildPythonPackage rec {
done
'';
disabledTests = [ "test_speed_comparison1" "test_speed_comparison2" ];
disabledTests = [
"test_speed_comparison1"
"test_speed_comparison2"
];
pythonImportsCheck = [ "accupy" ];

View File

@ -1,10 +1,11 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, fusepy
, fuse
, openssl
{
lib,
buildPythonPackage,
fetchPypi,
setuptools-scm,
fusepy,
fuse,
openssl,
}:
buildPythonPackage rec {
@ -25,7 +26,10 @@ buildPythonPackage rec {
buildInputs = [ setuptools-scm ];
nativeCheckInputs = [ fusepy fuse ];
nativeCheckInputs = [
fusepy
fuse
];
doCheck = false; # seems to hang, not sure

View File

@ -1,16 +1,17 @@
{ buildPythonPackage
, certbot
, cryptography
, pyasn1
, pyopenssl
, pyrfc3339
, josepy
, pytz
, requests
, requests-toolbelt
, six
, werkzeug
, ndg-httpsclient
{
buildPythonPackage,
certbot,
cryptography,
pyasn1,
pyopenssl,
pyrfc3339,
josepy,
pytz,
requests,
requests-toolbelt,
six,
werkzeug,
ndg-httpsclient,
}:
buildPythonPackage rec {
@ -20,8 +21,17 @@ buildPythonPackage rec {
format = "setuptools";
propagatedBuildInputs = [
cryptography pyasn1 pyopenssl pyrfc3339 pytz requests requests-toolbelt six
werkzeug ndg-httpsclient josepy
cryptography
pyasn1
pyopenssl
pyrfc3339
pytz
requests
requests-toolbelt
six
werkzeug
ndg-httpsclient
josepy
];
# does not contain any tests

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, matplotlib
, numpy
, pandas
, pytestCheckHook
, pythonOlder
, scipy
, tabulate
{
lib,
buildPythonPackage,
fetchFromGitHub,
flit-core,
matplotlib,
numpy,
pandas,
pytestCheckHook,
pythonOlder,
scipy,
tabulate,
}:
buildPythonPackage rec {
@ -35,9 +36,7 @@ buildPythonPackage rec {
tabulate
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
export HOME=$TMPDIR
@ -45,9 +44,7 @@ buildPythonPackage rec {
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
'';
pytestFlagsArray = [
"-Wignore::DeprecationWarning"
];
pytestFlagsArray = [ "-Wignore::DeprecationWarning" ];
pythonImportsCheck = [ "acoustics" ];

View File

@ -1,18 +1,19 @@
{ lib
, buildPythonPackage
, defusedxml
, dissect-cstruct
, dissect-target
, fetchFromGitHub
, minio
, pycryptodome
, pytestCheckHook
, pythonOlder
, requests
, requests-toolbelt
, rich
, setuptools
, setuptools-scm
{
lib,
buildPythonPackage,
defusedxml,
dissect-cstruct,
dissect-target,
fetchFromGitHub,
minio,
pycryptodome,
pytestCheckHook,
pythonOlder,
requests,
requests-toolbelt,
rich,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
@ -51,13 +52,9 @@ buildPythonPackage rec {
] ++ dissect-target.optional-dependencies.full;
};
nativeCheckInputs = [
pytestCheckHook
] ++ passthru.optional-dependencies.full;
nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.full;
pythonImportsCheck = [
"acquire"
];
pythonImportsCheck = [ "acquire" ];
meta = with lib; {
description = "Tool to quickly gather forensic artifacts from disk images or a live system";

View File

@ -1,11 +1,12 @@
{ lib
, blockdiag
, buildPythonPackage
, fetchFromGitHub
, pynose
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
blockdiag,
buildPythonPackage,
fetchFromGitHub,
pynose,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -22,22 +23,16 @@ buildPythonPackage rec {
hash = "sha256-WmprkHOgvlsOIg8H77P7fzEqxGnj6xaL7Df7urRkg3o=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
propagatedBuildInputs = [
blockdiag
];
propagatedBuildInputs = [ blockdiag ];
nativeCheckInputs = [
pynose
pytestCheckHook
];
pytestFlagsArray = [
"src/actdiag/tests/"
];
pytestFlagsArray = [ "src/actdiag/tests/" ];
disabledTests = [
# AttributeError: 'TestRstDirectives' object has no attribute 'assertRegexpMatches'
@ -45,9 +40,7 @@ buildPythonPackage rec {
"noviewbox"
];
pythonImportsCheck = [
"actdiag"
];
pythonImportsCheck = [ "actdiag" ];
meta = with lib; {
description = "Generate activity-diagram image from spec-text file (similar to Graphviz)";

View File

@ -1,9 +1,10 @@
{ lib
, aiofiles
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, requests
{
lib,
aiofiles,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
requests,
}:
buildPythonPackage rec {
@ -29,9 +30,7 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"acunetix"
];
pythonImportsCheck = [ "acunetix" ];
meta = with lib; {
description = "Acunetix Web Vulnerability Scanner SDK for Python";

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, paho-mqtt
, pytestCheckHook
, pythonOlder
, requests
, setuptools-scm
{
lib,
buildPythonPackage,
fetchFromGitHub,
paho-mqtt,
pytestCheckHook,
pythonOlder,
requests,
setuptools-scm,
}:
buildPythonPackage rec {
@ -22,22 +23,16 @@ buildPythonPackage rec {
hash = "sha256-JBpF08WGe1pMK1y7HZLH/jSQkJtbWdiTGYHWRd39UIk=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
paho-mqtt
requests
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"Adafruit_IO"
];
pythonImportsCheck = [ "Adafruit_IO" ];
disabledTestPaths = [
# Tests requires valid credentials

View File

@ -1,8 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
@ -18,16 +19,12 @@ buildPythonPackage rec {
hash = "sha256-xM+7NlcxlC0fEJKhFvR9/a4K7xjFsn8QcrWCStXqjHw=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeBuildInputs = [ setuptools-scm ];
# Physical SMBus is not present
doCheck = false;
pythonImportsCheck = [
"Adafruit_PureIO"
];
pythonImportsCheck = [ "Adafruit_PureIO" ];
meta = with lib; {
description = "Python interface to Linux IO including I2C and SPI";

View File

@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, httpretty
, pyjwt
, pytestCheckHook
, python-dateutil
, requests
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
httpretty,
pyjwt,
pytestCheckHook,
python-dateutil,
requests,
setuptools,
}:
buildPythonPackage rec {
@ -25,9 +26,7 @@ buildPythonPackage rec {
sed -i '/cryptography/d' setup.py
'';
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
pyjwt
@ -45,9 +44,7 @@ buildPythonPackage rec {
"test_failed_request"
];
pythonImportsCheck = [
"adal"
];
pythonImportsCheck = [ "adal" ];
meta = with lib; {
description = "Python module to authenticate to Azure Active Directory (AAD) in order to access AAD protected web resources";

View File

@ -1,10 +1,11 @@
{ lib
, aiohttp
, bleak
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, pythonOlder
{
lib,
aiohttp,
bleak,
buildPythonPackage,
fetchFromGitHub,
async-timeout,
pythonOlder,
}:
buildPythonPackage rec {
@ -30,9 +31,7 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"adax_local"
];
pythonImportsCheck = [ "adax_local" ];
meta = with lib; {
description = "Module for local access to Adax";

View File

@ -1,9 +1,10 @@
{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
{
lib,
aiohttp,
async-timeout,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
}:
buildPythonPackage rec {
@ -28,9 +29,7 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"adax"
];
pythonImportsCheck = [ "adax" ];
meta = with lib; {
description = "Python module to communicate with Adax";

View File

@ -1,10 +1,11 @@
{ lib
, buildPythonPackage
, docopt
, fetchFromGitHub
, jdk11
, psutil
, pythonOlder
{
lib,
buildPythonPackage,
docopt,
fetchFromGitHub,
jdk11,
psutil,
pythonOlder,
}:
buildPythonPackage rec {
@ -34,9 +35,7 @@ buildPythonPackage rec {
# Disable tests because they require a dedicated Android emulator
doCheck = false;
pythonImportsCheck = [
"adbe"
];
pythonImportsCheck = [ "adbe" ];
meta = with lib; {
description = "Tool for Android testing and development";

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, libusb1
, rsa
, pycryptodome
, pytest
, mock
{
lib,
buildPythonPackage,
fetchFromGitHub,
libusb1,
rsa,
pycryptodome,
pytest,
mock,
}:
buildPythonPackage {
pname = "adb-homeassistant";
@ -18,7 +19,6 @@ buildPythonPackage {
repo = "python-adb";
rev = "5949bf432307cbba7128e84d7bc6add7f054a078";
sha256 = "0s3fazvbzchn1fsvjrd1jl8w9y4dvvgq6q8m8p5lr2gri0npr581";
};
propagatedBuildInputs = [
@ -27,7 +27,10 @@ buildPythonPackage {
pycryptodome
];
nativeCheckInputs = [ pytest mock ];
nativeCheckInputs = [
pytest
mock
];
checkPhase = ''
py.test test
'';

View File

@ -1,17 +1,18 @@
{ lib
, aiofiles
, async-timeout
, buildPythonPackage
, cryptography
, fetchFromGitHub
, isPy3k
, libusb1
, mock
, pyasn1
, pythonAtLeast
, pycryptodome
, pytestCheckHook
, rsa
{
lib,
aiofiles,
async-timeout,
buildPythonPackage,
cryptography,
fetchFromGitHub,
isPy3k,
libusb1,
mock,
pyasn1,
pythonAtLeast,
pycryptodome,
pytestCheckHook,
rsa,
}:
buildPythonPackage rec {
@ -39,9 +40,7 @@ buildPythonPackage rec {
aiofiles
async-timeout
];
usb = [
libusb1
];
usb = [ libusb1 ];
};
nativeCheckInputs = [
@ -50,9 +49,7 @@ buildPythonPackage rec {
pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"adb_shell"
];
pythonImportsCheck = [ "adb_shell" ];
meta = with lib; {
description = "Python implementation of ADB with shell and FileSync functionality";

View File

@ -1,18 +1,19 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, rustPlatform
, pkg-config
, openssl
, publicsuffix-list
, pythonOlder
, libiconv
, CoreFoundation
, Security
, pytestCheckHook
, toml
{
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
buildPythonPackage,
rustPlatform,
pkg-config,
openssl,
publicsuffix-list,
pythonOlder,
libiconv,
CoreFoundation,
Security,
pytestCheckHook,
toml,
}:
buildPythonPackage rec {
@ -50,16 +51,16 @@ buildPythonPackage rec {
hash = "sha256-1xmYmF5P7a5O9MilxDy+CVhmWMGRetdM2fGvTPy7JmM=";
};
nativeBuildInputs = [
pkg-config
] ++ (with rustPlatform; [
nativeBuildInputs =
[ pkg-config ]
++ (with rustPlatform; [
cargoSetupHook
maturinBuildHook
]);
buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
buildInputs =
[ openssl ]
++ lib.optionals stdenv.isDarwin [
libiconv
CoreFoundation
Security
@ -92,6 +93,9 @@ buildPythonPackage rec {
homepage = "https://github.com/ArniDagur/python-adblock/";
changelog = "https://github.com/ArniDagur/python-adblock/blob/${version}/CHANGELOG.md";
maintainers = with maintainers; [ dotlambda ];
license = with licenses; [ asl20 /* or */ mit ];
license = with licenses; [
asl20 # or
mit
];
};
}

View File

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, tokenize-rt
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
tokenize-rt,
}:
buildPythonPackage rec {
@ -20,17 +21,11 @@ buildPythonPackage rec {
hash = "sha256-B+wjBy42RwabVz/6qEMGpB0JmwJ9hqSskwcNj4x/B/k=";
};
propagatedBuildInputs = [
tokenize-rt
];
propagatedBuildInputs = [ tokenize-rt ];
pythonImportsCheck = [
"add_trailing_comma"
];
pythonImportsCheck = [ "add_trailing_comma" ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A tool (and pre-commit hook) to automatically add trailing commas to calls and literals";

View File

@ -1,7 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
}:
buildPythonPackage rec {

View File

@ -1,13 +1,14 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, yarl
{
lib,
aiohttp,
aresponses,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
yarl,
}:
buildPythonPackage rec {
@ -33,9 +34,7 @@ buildPythonPackage rec {
--replace 0.0.0 ${version}
'';
nativeBuildInputs = [
poetry-core
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
@ -50,9 +49,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"adguardhome"
];
pythonImportsCheck = [ "adguardhome" ];
meta = with lib; {
description = "Python client for the AdGuard Home API";

View File

@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, packaging
, pythonOlder
, scipy
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
matplotlib,
numpy,
packaging,
pythonOlder,
scipy,
setuptools,
}:
buildPythonPackage rec {
@ -37,9 +38,7 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"adjustText"
];
pythonImportsCheck = [ "adjustText" ];
meta = with lib; {
description = "Iteratively adjust text position in matplotlib plots to minimize overlaps";

View File

@ -1,8 +1,9 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
{
lib,
aiohttp,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
@ -18,16 +19,12 @@ buildPythonPackage rec {
hash = "sha256-4rRR9IxzH5EiYfWzWYeyCwoLB2LetBVyH7L3nkvp+gA=";
};
propagatedBuildInputs = [
aiohttp
];
propagatedBuildInputs = [ aiohttp ];
# No tests
doCheck = false;
pythonImportsCheck = [
"advantage_air"
];
pythonImportsCheck = [ "advantage_air" ];
meta = with lib; {
description = "API helper for Advantage Air's MyAir and e-zone API";

View File

@ -1,13 +1,14 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ndg-httpsclient
, netifaces
, pyasn1
, pyopenssl
, requests
, six
, urllib3
{
lib,
buildPythonPackage,
fetchFromGitHub,
ndg-httpsclient,
netifaces,
pyasn1,
pyopenssl,
requests,
six,
urllib3,
}:
buildPythonPackage rec {

View File

@ -1,13 +1,14 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, geopy
, pythonOlder
, requests
, setuptools
, urllib3
, wheel
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
geopy,
pythonOlder,
requests,
setuptools,
urllib3,
wheel,
}:
buildPythonPackage rec {
@ -39,9 +40,7 @@ buildPythonPackage rec {
# no tests implemented
doCheck = false;
pythonImportsCheck = [
"aemet_opendata.interface"
];
pythonImportsCheck = [ "aemet_opendata.interface" ];
meta = with lib; {
description = "Python client for AEMET OpenData Rest API";

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyparsing
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, setuptools
{
lib,
buildPythonPackage,
fetchPypi,
pyparsing,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -20,20 +21,17 @@ buildPythonPackage rec {
hash = "sha256-jL12zRjE+HD/ObJChNPqAo++hzGljfOqWB5DTFdblVk=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
pyparsing
pytestCheckHook
];
pythonImportsCheck = [
"aenum"
];
pythonImportsCheck = [ "aenum" ];
disabledTests = [
disabledTests =
[
# https://github.com/ethanfurman/aenum/issues/27
"test_class_nested_enum_and_pickle_protocol_four"
"test_pickle_enum_function_with_qualname"
@ -42,7 +40,8 @@ buildPythonPackage rec {
"test_arduino_headers"
"test_c_header_scanner"
"test_extend_flag_backwards_stdlib"
] ++ lib.optionals (pythonAtLeast "3.12") [
]
++ lib.optionals (pythonAtLeast "3.12") [
# AttributeError: <enum 'Color'> has no attribute 'value'. Did you mean: 'blue'?
"test_extend_enum_shadow_property_stdlib"
];

View File

@ -1,13 +1,14 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, aesara
, numpy
, scipy
, numdifftools
, pytestCheckHook
{
lib,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
setuptools,
aesara,
numpy,
scipy,
numdifftools,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -24,9 +25,7 @@ buildPythonPackage rec {
hash = "sha256-mqBbXwWJwQA2wSHuEdBeXQMfTIcgwYEjpq8AVmOjmHM=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
aesara
@ -43,9 +42,7 @@ buildPythonPackage rec {
export HOME=$(mktemp -d);
'';
pythonImportsCheck = [
"aeppl"
];
pythonImportsCheck = [ "aeppl" ];
disabledTests = [
# Compute issue

View File

@ -1,25 +1,26 @@
{ lib
, stdenv
, buildPythonPackage
, cons
, cython
, etuples
, fetchFromGitHub
, filelock
, hatch-vcs
, hatchling
, jax
, jaxlib
, logical-unification
, minikanren
, numba
, numba-scipy
, numpy
, pytestCheckHook
, pythonAtLeast
, pythonOlder
, scipy
, typing-extensions
{
lib,
stdenv,
buildPythonPackage,
cons,
cython,
etuples,
fetchFromGitHub,
filelock,
hatch-vcs,
hatchling,
jax,
jaxlib,
logical-unification,
minikanren,
numba,
numba-scipy,
numpy,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
scipy,
typing-extensions,
}:
buildPythonPackage rec {
@ -72,9 +73,7 @@ buildPythonPackage rec {
export HOME=$(mktemp -d)
'';
pythonImportsCheck = [
"aesara"
];
pythonImportsCheck = [ "aesara" ];
disabledTestPaths = [
# Don't run the most compute-intense tests

View File

@ -1,13 +1,14 @@
{ lib
, aiowinreg
, buildPythonPackage
, colorama
, fetchFromGitHub
, pycryptodomex
, pythonOlder
, setuptools
, tqdm
, unicrypto
{
lib,
aiowinreg,
buildPythonPackage,
colorama,
fetchFromGitHub,
pycryptodomex,
pythonOlder,
setuptools,
tqdm,
unicrypto,
}:
buildPythonPackage rec {
@ -24,9 +25,7 @@ buildPythonPackage rec {
hash = "sha256-nYuMWE03Rsw1XuD/bxccpu8rddeXgS/EKJcO1VBLTLU=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiowinreg
@ -39,9 +38,7 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aesedb"
];
pythonImportsCheck = [ "aesedb" ];
meta = with lib; {
description = "Parser for JET databases";

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, grpcio
, protobuf
, pytest-asyncio
, pytest-mock
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
{
lib,
buildPythonPackage,
fetchFromGitHub,
grpcio,
protobuf,
pytest-asyncio,
pytest-mock,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
@ -48,9 +49,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aetcd"
];
pythonImportsCheck = [ "aetcd" ];
disabledTestPaths = [
# Tests require a running ectd instance

View File

@ -1,33 +1,34 @@
{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, fonttools
, defcon
, lxml
, fs
, unicodedata2
, zopfli
, brotlipy
, fontpens
, brotli
, fontmath
, mutatormath
, booleanoperations
, ufoprocessor
, ufonormalizer
, tqdm
, setuptools-scm
, scikit-build
, cmake
, ninja
, antlr4_9
, libxml2
, pytestCheckHook
# Enables some expensive tests, useful for verifying an update
, runAllTests ? false
, afdko
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
fonttools,
defcon,
lxml,
fs,
unicodedata2,
zopfli,
brotlipy,
fontpens,
brotli,
fontmath,
mutatormath,
booleanoperations,
ufoprocessor,
ufonormalizer,
tqdm,
setuptools-scm,
scikit-build,
cmake,
ninja,
antlr4_9,
libxml2,
pytestCheckHook,
# Enables some expensive tests, useful for verifying an update
runAllTests ? false,
afdko,
}:
buildPythonPackage rec {
@ -107,7 +108,8 @@ buildPythonPackage rec {
rm -rf _skbuild
'';
disabledTests = lib.optionals (!runAllTests) [
disabledTests =
lib.optionals (!runAllTests) [
# Disable slow tests, reduces test time ~25 %
"test_report"
"test_post_overflow"
@ -116,11 +118,13 @@ buildPythonPackage rec {
"test_filename_without_dir"
"test_overwrite"
"test_options"
] ++ lib.optionals (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isRiscV) [
]
++ lib.optionals (stdenv.hostPlatform.isAarch || stdenv.hostPlatform.isRiscV) [
# unknown reason so far
# https://github.com/adobe-type-tools/afdko/issues/1425
"test_spec"
] ++ lib.optionals (stdenv.hostPlatform.isi686) [
]
++ lib.optionals (stdenv.hostPlatform.isi686) [
"test_dump_option"
"test_type1mm_inputs"
];

View File

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, flit-core
, pytestCheckHook
{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
flit-core,
pytestCheckHook,
}:
buildPythonPackage rec {
@ -19,13 +20,9 @@ buildPythonPackage rec {
hash = "sha256-ok2BjWqDbBMZdtIvjCe408oy0K9kwdjSnet7r6TaHuo=";
};
nativeBuildInputs = [
flit-core
];
nativeBuildInputs = [ flit-core ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
changelog = "https://github.com/rasterio/affine/blob/${version}/CHANGES.txt";
@ -34,5 +31,4 @@ buildPythonPackage rec {
homepage = "https://github.com/rasterio/affine";
maintainers = with maintainers; [ mredaelli ];
};
}

View File

@ -1,12 +1,13 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, lxml
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, setuptools-scm
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
lxml,
pytest-aiohttp,
pytestCheckHook,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
@ -23,9 +24,7 @@ buildPythonPackage rec {
hash = "sha256-eE5BsXNtSU6YUhRn4/SKpMrqaYf8tyfLKdxxGOmNJ9I=";
};
nativeBuildInputs = [
setuptools-scm
];
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [
aiohttp
@ -37,13 +36,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pytestFlagsArray = [
"async_tests.py"
];
pytestFlagsArray = [ "async_tests.py" ];
pythonImportsCheck = [
"afsapi"
];
pythonImportsCheck = [ "afsapi" ];
meta = with lib; {
description = "Python implementation of the Frontier Silicon API";

View File

@ -1,11 +1,22 @@
{ lib, fetchPypi, buildPythonPackage, agate, dbf, dbfread }:
{
lib,
fetchPypi,
buildPythonPackage,
agate,
dbf,
dbfread,
}:
buildPythonPackage rec {
pname = "agate-dbf";
version = "0.2.3";
format = "setuptools";
propagatedBuildInputs = [ agate dbf dbfread ];
propagatedBuildInputs = [
agate
dbf
dbfread
];
src = fetchPypi {
inherit pname version;

View File

@ -1,12 +1,13 @@
{ lib
, fetchPypi
, buildPythonPackage
, agate
, openpyxl
, xlrd
, olefile
, pytestCheckHook
, pythonOlder
{
lib,
fetchPypi,
buildPythonPackage,
agate,
openpyxl,
xlrd,
olefile,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@ -28,13 +29,9 @@ buildPythonPackage rec {
olefile
];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [
"agate"
];
pythonImportsCheck = [ "agate" ];
meta = with lib; {
description = "Adds read support for excel files to agate";

View File

@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, isPy27
, fetchPypi
, agate
, sqlalchemy
, crate
, pytestCheckHook
, geojson
{
lib,
buildPythonPackage,
isPy27,
fetchPypi,
agate,
sqlalchemy,
crate,
pytestCheckHook,
geojson,
}:
buildPythonPackage rec {
@ -21,9 +22,16 @@ buildPythonPackage rec {
hash = "sha256-mxswKEpXP9QWdZQ3Jz3MXIECK98vrLJLSqAppir9U7A=";
};
propagatedBuildInputs = [ agate sqlalchemy ];
propagatedBuildInputs = [
agate
sqlalchemy
];
nativeCheckInputs = [ crate geojson pytestCheckHook ];
nativeCheckInputs = [
crate
geojson
pytestCheckHook
];
pythonImportsCheck = [ "agatesql" ];

View File

@ -1,20 +1,21 @@
{ lib
, babel
, buildPythonPackage
, cssselect
, fetchFromGitHub
, glibcLocales
, isodate
, leather
, lxml
, parsedatetime
, pyicu
, pynose
, python-slugify
, pythonOlder
, pytimeparse
, pytz
, setuptools
{
lib,
babel,
buildPythonPackage,
cssselect,
fetchFromGitHub,
glibcLocales,
isodate,
leather,
lxml,
parsedatetime,
pyicu,
pynose,
python-slugify,
pythonOlder,
pytimeparse,
pytz,
setuptools,
}:
buildPythonPackage rec {
@ -31,9 +32,7 @@ buildPythonPackage rec {
hash = "sha256-I7jvZA/m06kUuUcfglySaroDbJ5wbgiF2lb84EFPmpw=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
babel
@ -57,9 +56,7 @@ buildPythonPackage rec {
LC_ALL="en_US.UTF-8" nosetests tests
'';
pythonImportsCheck = [
"agate"
];
pythonImportsCheck = [ "agate" ];
meta = with lib; {
description = "Python data analysis library that is optimized for humans instead of machines";

View File

@ -1,4 +1,12 @@
{ aiohttp, buildPythonPackage, fetchPypi, isPy3k, lib, python, requests }:
{
aiohttp,
buildPythonPackage,
fetchPypi,
isPy3k,
lib,
python,
requests,
}:
buildPythonPackage rec {
pname = "agent-py";
@ -12,7 +20,10 @@ buildPythonPackage rec {
sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz";
};
propagatedBuildInputs = [ requests aiohttp ];
propagatedBuildInputs = [
requests
aiohttp
];
checkPhase = ''
${python.interpreter} tests/test_agent.py

View File

@ -1,14 +1,15 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, packaging
, setuptools
, pkgconfig
, freetype
, pytest
, python
, pillow
, numpy
{
lib,
fetchFromGitHub,
buildPythonPackage,
packaging,
setuptools,
pkgconfig,
freetype,
pytest,
python,
pillow,
numpy,
}:
buildPythonPackage rec {
@ -29,9 +30,7 @@ buildPythonPackage rec {
pkgconfig
];
buildInputs = [
freetype
];
buildInputs = [ freetype ];
nativeCheckInputs = [
numpy

View File

@ -1,8 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, setuptools
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
@ -15,13 +16,9 @@ buildPythonPackage rec {
hash = "sha256-0gEPXqw99UTsSOwRYQLgaFkaNFsaWA8ylz24pQX8p0Q=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ago" ];

View File

@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, fetchPypi
, mutagen
, requests
, colorama
, prettytable
, pycrypto
, pydub
{
lib,
buildPythonPackage,
fetchPypi,
mutagen,
requests,
colorama,
prettytable,
pycrypto,
pydub,
}:
buildPythonPackage rec {
@ -19,7 +20,14 @@ buildPythonPackage rec {
sha256 = "sha256-1kQced6YdC/wvegqFVhZfej4+4aemGXvKysKjejP13w=";
};
propagatedBuildInputs = [ mutagen requests colorama prettytable pycrypto pydub ];
propagatedBuildInputs = [
mutagen
requests
colorama
prettytable
pycrypto
pydub
];
meta = {
homepage = "https://github.com/AIGMix/AIGPY";

View File

@ -1,15 +1,16 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, geojson
, haversine
, mock
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
geojson,
haversine,
mock,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -28,9 +29,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
@ -45,9 +44,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_geojson_client"
];
pythonImportsCheck = [ "aio_geojson_client" ];
meta = with lib; {
description = "Python module for accessing GeoJSON feeds";

View File

@ -1,16 +1,17 @@
{ lib
, aio-geojson-client
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, geojson
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pytz
, setuptools
{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
geojson,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
pytz,
setuptools,
}:
buildPythonPackage rec {
@ -52,9 +53,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_geojson_generic_client"
];
pythonImportsCheck = [ "aio_geojson_generic_client" ];
meta = with lib; {
description = "Python library for accessing GeoJSON feeds";

View File

@ -1,14 +1,15 @@
{ lib
, aio-geojson-client
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pytz
, pythonOlder
, setuptools
{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pytz,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -25,9 +26,7 @@ buildPythonPackage rec {
hash = "sha256-8OpmA3yHjUY+N5Obri4RWeuJiW916xGSWUYUgdpmjkw=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aio-geojson-client
@ -43,9 +42,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_geojson_geonetnz_quakes"
];
pythonImportsCheck = [ "aio_geojson_geonetnz_quakes" ];
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds";

View File

@ -1,16 +1,17 @@
{ lib
, aio-geojson-client
, aiohttp
, aioresponses
, mock
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytest-xdist
, pytestCheckHook
, pytz
, pythonOlder
, setuptools
{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
mock,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytest-xdist,
pytestCheckHook,
pytz,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -27,9 +28,7 @@ buildPythonPackage rec {
hash = "sha256-ZmGDO9EROFMlxdj5txNh719M+3l/0jRFbB2h2AyZAdI=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aio-geojson-client
@ -47,9 +46,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_geojson_geonetnz_volcano"
];
pythonImportsCheck = [ "aio_geojson_geonetnz_volcano" ];
meta = with lib; {
description = "Python module for accessing the GeoNet NZ Volcanic GeoJSON feeds";

View File

@ -1,14 +1,15 @@
{ lib
, aio-geojson-client
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
, setuptools
{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pytz,
setuptools,
}:
buildPythonPackage rec {
@ -25,9 +26,7 @@ buildPythonPackage rec {
hash = "sha256-HksiKfXhLASAgU81x7YiOXFmBLIkqJ9ldWLLY1ZbZlk=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aio-geojson-client
@ -43,9 +42,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_geojson_nsw_rfs_incidents"
];
pythonImportsCheck = [ "aio_geojson_nsw_rfs_incidents" ];
meta = with lib; {
description = "Python module for accessing the NSW Rural Fire Service incidents feeds";

View File

@ -1,14 +1,15 @@
{ lib
, aio-geojson-client
, aiohttp
, aioresponses
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pytz
, pythonOlder
, setuptools
{
lib,
aio-geojson-client,
aiohttp,
aioresponses,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pytz,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -25,9 +26,7 @@ buildPythonPackage rec {
hash = "sha256-Q9vBy5R5N5ihJdSMALo88qVYcFVs2/33lYRPdLej4S8=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aio-geojson-client
@ -37,18 +36,14 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [
aioresponses
pytest-asyncio
];
pythonImportsCheck = [
"aio_geojson_usgs_earthquakes"
];
pythonImportsCheck = [ "aio_geojson_usgs_earthquakes" ];
meta = with lib; {
description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds";

View File

@ -1,17 +1,18 @@
{ lib
, aiohttp
, aioresponses
, buildPythonPackage
, dateparser
, fetchFromGitHub
, haversine
, mock
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, requests
, setuptools
, xmltodict
{
lib,
aiohttp,
aioresponses,
buildPythonPackage,
dateparser,
fetchFromGitHub,
haversine,
mock,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
requests,
setuptools,
xmltodict,
}:
buildPythonPackage rec {
@ -30,9 +31,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
@ -49,9 +48,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_georss_client"
];
pythonImportsCheck = [ "aio_georss_client" ];
meta = with lib; {
description = "Python library for accessing GeoRSS feeds";

View File

@ -1,13 +1,14 @@
{ lib
, aio-georss-client
, aioresponses
, buildPythonPackage
, dateparser
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
{
lib,
aio-georss-client,
aioresponses,
buildPythonPackage,
dateparser,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -26,9 +27,7 @@ buildPythonPackage rec {
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aio-georss-client
@ -41,9 +40,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aio_georss_gdacs"
];
pythonImportsCheck = [ "aio_georss_gdacs" ];
meta = with lib; {
description = "Python library for accessing GeoRSS feeds";

View File

@ -1,9 +1,10 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -20,20 +21,14 @@ buildPythonPackage rec {
hash = "sha256-99Km1zizAA0BF4ZlLmKOBoOQzKS/QdWpWC9dzg2s3lU=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
];
propagatedBuildInputs = [ aiohttp ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioairzone"
];
pythonImportsCheck = [ "aioairzone" ];
meta = with lib; {
description = "Module to control AirZone devices";
@ -43,4 +38,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ fab ];
};
}

View File

@ -1,9 +1,10 @@
{ lib
, aioboto3
, aiohttp
, buildPythonPackage
, fetchPypi
, pythonOlder
{
lib,
aioboto3,
aiohttp,
buildPythonPackage,
fetchPypi,
pythonOlder,
}:
buildPythonPackage rec {
@ -27,9 +28,7 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"AIOAladdinConnect"
];
pythonImportsCheck = [ "AIOAladdinConnect" ];
meta = with lib; {
description = "Library for controlling Genie garage doors connected to Aladdin Connect devices";

View File

@ -1,17 +1,18 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, certifi
, fetchFromGitHub
, poetry-core
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, python-engineio
, python-socketio
, pythonOlder
, websockets
{
lib,
aiohttp,
aresponses,
buildPythonPackage,
certifi,
fetchFromGitHub,
poetry-core,
pytest-aiohttp,
pytest-asyncio,
pytestCheckHook,
python-engineio,
python-socketio,
pythonOlder,
websockets,
}:
buildPythonPackage rec {
@ -28,9 +29,7 @@ buildPythonPackage rec {
hash = "sha256-eqZVY0L+2BWF7cCXW/VLQYYXNPtUF6tJHQmeZNW1W5o=";
};
build-system = [
poetry-core
];
build-system = [ poetry-core ];
dependencies = [
aiohttp
@ -50,13 +49,9 @@ buildPythonPackage rec {
];
# Ignore the examples directory as the files are prefixed with test_
disabledTestPaths = [
"examples/"
];
disabledTestPaths = [ "examples/" ];
pythonImportsCheck = [
"aioambient"
];
pythonImportsCheck = [ "aioambient" ];
meta = with lib; {
description = "Python library for the Ambient Weather API";

View File

@ -1,9 +1,10 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pamqp
, pythonOlder
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
pamqp,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -20,20 +21,14 @@ buildPythonPackage rec {
hash = "sha256-fssPknJn1tLtzb+2SFyZjfdhUdD8jqkwlInoi5uaplk=";
};
build-system = [
setuptools
];
build-system = [ setuptools ];
dependencies = [
pamqp
];
dependencies = [ pamqp ];
# Tests assume rabbitmq server running
doCheck = false;
pythonImportsCheck = [
"aioamqp"
];
pythonImportsCheck = [ "aioamqp" ];
meta = with lib; {
description = "AMQP implementation using asyncio";

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, setuptools
, setuptools-scm
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
@ -32,9 +33,7 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [
"aioapcaccess"
];
pythonImportsCheck = [ "aioapcaccess" ];
meta = with lib; {
description = "Module for working with apcaccess";

View File

@ -1,11 +1,12 @@
{ lib
, buildPythonPackage
, fetchPypi
, h2
, pyjwt
, pyopenssl
, pythonOlder
, setuptools
{
lib,
buildPythonPackage,
fetchPypi,
h2,
pyjwt,
pyopenssl,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
@ -20,9 +21,7 @@ buildPythonPackage rec {
hash = "sha256-QPayQogW97saMmaPUP5x0CiXd6Qptg/OROigi5ASNQg=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
h2
@ -33,9 +32,7 @@ buildPythonPackage rec {
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"aioapns"
];
pythonImportsCheck = [ "aioapns" ];
meta = with lib; {
description = "An efficient APNs Client Library";

View File

@ -1,10 +1,11 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, pyjwt
{
lib,
aiohttp,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pyjwt,
}:
buildPythonPackage rec {
@ -21,9 +22,7 @@ buildPythonPackage rec {
hash = "sha256-bjPl0yrRaTIEEuPV8NbWu2hx/es5bcu2tDBZV+95fUc=";
};
nativeBuildInputs = [
setuptools
];
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
aiohttp
@ -33,9 +32,7 @@ buildPythonPackage rec {
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"aioaseko"
];
pythonImportsCheck = [ "aioaseko" ];
meta = with lib; {
description = "Module to interact with the Aseko Pool Live API";

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