mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
Merge master into staging-next
This commit is contained in:
commit
2cce954af1
@ -1,7 +1,7 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, nix-update-script, makeWrapper, monero-cli }:
|
||||
let
|
||||
pname = "atomic-swap";
|
||||
version = "0.4.1";
|
||||
version = "0.4.2";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
@ -10,10 +10,10 @@ buildGoModule {
|
||||
owner = "AthanorLabs";
|
||||
repo = "atomic-swap";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-CYqYRYLMfvPX8TqyFSRg4ookeIfYGc0HDzu/Ip9Ecsg=";
|
||||
hash = "sha256-JnbKaGmpTDwQMSDR4Y8Q2JTtuQV5GGuovxeIYs0KgQI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-igHuklt76r7MDxz8TAaFgFdQS7L3DJkMYarAMNVYTC4=";
|
||||
vendorHash = "sha256-acBnXGy1kVBwB+j8VqGyinabnI/boTtbFNyjE6EHVes=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/swapcli"
|
||||
|
@ -8,8 +8,11 @@
|
||||
, imagemagick
|
||||
}:
|
||||
|
||||
# To test:
|
||||
# $(nix-build --no-out-link -E 'with import <nixpkgs> {}; jupyter.override { definitions = { clojure = clojupyter.definition; }; }')/bin/jupyter-notebook
|
||||
# Jupyter console:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel clojupyter.definition'
|
||||
|
||||
# Jupyter notebook:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.clojure = clojupyter.definition; }'
|
||||
|
||||
let
|
||||
cljdeps = import ./deps.nix { inherit pkgs; };
|
||||
|
@ -2,16 +2,41 @@
|
||||
, bundlerApp
|
||||
}:
|
||||
|
||||
bundlerApp {
|
||||
pname = "iruby";
|
||||
gemdir = ./.;
|
||||
exes = [ "iruby" ];
|
||||
# Jupyter console:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel iruby.definition'
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ruby kernel for Jupyter";
|
||||
homepage = "https://github.com/SciRuby/iruby";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
platforms = platforms.unix;
|
||||
# Jupyter notebook:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.iruby = iruby.definition; }'
|
||||
|
||||
let
|
||||
self = bundlerApp {
|
||||
pname = "iruby";
|
||||
gemdir = ./.;
|
||||
exes = [ "iruby" ];
|
||||
|
||||
passthru = {
|
||||
definition = {
|
||||
displayName = "IRuby";
|
||||
argv = [
|
||||
"${self}/bin/iruby"
|
||||
"kernel"
|
||||
"{connection_file}"
|
||||
];
|
||||
language = "ruby";
|
||||
logo32 = null;
|
||||
logo64 = null;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Ruby kernel for Jupyter";
|
||||
homepage = "https://github.com/SciRuby/iruby";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ costrouc thomasjm ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
in
|
||||
|
||||
self
|
||||
|
@ -7,8 +7,11 @@
|
||||
, python3
|
||||
}:
|
||||
|
||||
# To test:
|
||||
# $(nix-build -E 'with import <nixpkgs> {}; jupyter.override { definitions = { octave = octave-kernel.definition; }; }')/bin/jupyter-notebook
|
||||
# Jupyter console:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel octave-kernel.definition'
|
||||
|
||||
# Jupyter notebook:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.octave = octave-kernel.definition; }'
|
||||
|
||||
let
|
||||
kernel = callPackage ./kernel.nix {
|
||||
|
@ -2,8 +2,12 @@
|
||||
, wolfram-engine
|
||||
}:
|
||||
|
||||
# To test:
|
||||
# $(nix-build -E 'with import ./. {}; jupyter.override { definitions = { wolfram = wolfram-for-jupyter-kernel.definition; }; }')/bin/jupyter-notebook
|
||||
# Jupyter console:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter-console.withSingleKernel wolfram-for-jupyter-kernel.definition'
|
||||
|
||||
# Jupyter notebook:
|
||||
# nix run --impure --expr 'with import <nixpkgs> {}; jupyter.override { definitions.wolfram = wolfram-for-jupyter-kernel.definition; }'
|
||||
|
||||
let kernel = callPackage ./kernel.nix {};
|
||||
in {
|
||||
definition = {
|
||||
|
37
pkgs/applications/editors/jupyter/console.nix
Normal file
37
pkgs/applications/editors/jupyter/console.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ python3
|
||||
, jupyter-kernel
|
||||
, lib
|
||||
}:
|
||||
|
||||
let
|
||||
mkConsole = {
|
||||
definitions ? jupyter-kernel.default
|
||||
, kernel ? null
|
||||
}:
|
||||
(python3.buildEnv.override {
|
||||
extraLibs = [ python3.pkgs.jupyter-console ];
|
||||
makeWrapperArgs = [
|
||||
"--set JUPYTER_PATH ${jupyter-kernel.create { inherit definitions; }}"
|
||||
] ++ lib.optionals (kernel != null) [
|
||||
"--add-flags --kernel"
|
||||
"--add-flags ${kernel}"
|
||||
];
|
||||
}).overrideAttrs (oldAttrs: {
|
||||
# To facilitate running nix run .#jupyter-console
|
||||
meta = oldAttrs.meta // { mainProgram = "jupyter-console"; };
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
# Build a console derivation with an arbitrary set of definitions, and an optional kernel to use.
|
||||
# If the kernel argument is not supplied, Jupyter console will pick a kernel to run from the ones
|
||||
# available on the system.
|
||||
inherit mkConsole;
|
||||
|
||||
# An ergonomic way to start a console with a single kernel.
|
||||
withSingleKernel = definition: mkConsole {
|
||||
definitions = lib.listToAttrs [(lib.nameValuePair definition.language definition)];
|
||||
kernel = definition.language;
|
||||
};
|
||||
}
|
@ -45,7 +45,7 @@ buildPhase
|
||||
# checkPhase
|
||||
|
||||
eval "$preInstall"
|
||||
cd $TMP/wine-wow && make install
|
||||
cd $TMP/wine64 && make install
|
||||
cd $TMP/wine-wow && make install -j$NIX_BUILD_CORES
|
||||
cd $TMP/wine64 && make install -j$NIX_BUILD_CORES
|
||||
eval "$postInstall"
|
||||
fixupPhase
|
||||
|
@ -4,6 +4,7 @@
|
||||
, fetchurl
|
||||
, autoPatchelfHook
|
||||
, dpkg
|
||||
, wrapGAppsHook
|
||||
, ...
|
||||
}:
|
||||
with lib;
|
||||
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-+xiXEwSSxpt1/Eu9g57/L+Il/Av+a/mgGBQl/4LKR74=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook dpkg ];
|
||||
nativeBuildInputs = [ autoPatchelfHook dpkg wrapGAppsHook ];
|
||||
|
||||
buildInputs = with pkgs;[
|
||||
alsa-lib
|
||||
|
@ -5,10 +5,10 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jotta-cli";
|
||||
version = "0.15.84961";
|
||||
version = "0.15.89752";
|
||||
src = fetchzip {
|
||||
url = "https://repo.jotta.us/archives/linux/${arch}/jotta-cli-${version}_linux_${arch}.tar.gz";
|
||||
sha256 = "sha256-ay2YEtvGF93QAcpszxIiKRkrHGE02u80ujhMT39KD7Y=";
|
||||
sha256 = "sha256-vYI9jbY2npPrmP0lMRSbLneVbQvQVsL0plM5jOvtdzA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
|
@ -30,14 +30,14 @@ https://github.com/NixOS/nixpkgs/issues/199596#issuecomment-1310136382 */
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
version = "1.4.5";
|
||||
version = "1.4.6";
|
||||
pname = "syncthingtray";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = "syncthingtray";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-EizKDw5Fv2qXxmiCx4NAvwxBZ+qhTIx4NMZedZ9OuyA=";
|
||||
sha256 = "sha256-/HAqO0eVFt4YLGeTbZSZcH2pOojvykukAGTBHZTfKLQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
@ -75,6 +75,7 @@ stdenv.mkDerivation rec {
|
||||
sourceProvenance = with sourceTypes; [ binaryBytecode fromSource ];
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
mainProgram = "tvbrowser";
|
||||
maintainers = with maintainers; [ jfrankenau yarny ];
|
||||
longDescription = ''
|
||||
TV-Browser shows TV program data arranged like in printed
|
||||
|
@ -4,17 +4,15 @@ with ocamlPackages;
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "jackline";
|
||||
version = "unstable-2023-02-24";
|
||||
version = "unstable-2023-03-09";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hannesm";
|
||||
repo = "jackline";
|
||||
rev = "846be4e7fcddf45e66e0ff5b29fb5a212d6ee8c3";
|
||||
hash = "sha256-/j3VJRx/w9HQUnfoq/4gMWV5oVdRiPGddrgbCDk5y8c=";
|
||||
rev = "a7acd19bd8141b842ac69b05146d9a63e729230d";
|
||||
hash = "sha256-AhiFfZkDit9tnGenETc3A1hHqWN+csiS2bVjsGNaHf8=";
|
||||
};
|
||||
|
||||
nativeBuildInpts = [
|
||||
@ -43,6 +41,7 @@ buildDunePackage rec {
|
||||
cstruct
|
||||
base64
|
||||
happy-eyeballs-lwt
|
||||
ppx_sexp_conv
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -102,6 +102,7 @@ in ((buildMozillaMach {
|
||||
meta = with lib; {
|
||||
description = "Betterbird is a fine-tuned version of Mozilla Thunderbird, Thunderbird on steroids, if you will";
|
||||
homepage = "https://www.betterbird.eu/";
|
||||
mainProgram = "betterbird";
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
inherit (thunderbird-unwrapped.meta) platforms badPlatforms broken license;
|
||||
};
|
||||
|
@ -213,6 +213,7 @@ stdenv.mkDerivation {
|
||||
changelog = "https://www.thunderbird.net/en-US/thunderbird/${version}/releasenotes/";
|
||||
description = "Mozilla Thunderbird, a full-featured email client (binary package)";
|
||||
homepage = "http://www.mozilla.org/thunderbird/";
|
||||
mainProgram = "thunderbird";
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.mpl20;
|
||||
maintainers = with lib.maintainers; [ lovesegfault ];
|
||||
|
@ -39,13 +39,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "crun";
|
||||
version = "1.8.7";
|
||||
version = "1.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-+EHkbAltoYzlDIgMbH3ofhpBLJhv5lq72u7Hh7cpU/M=";
|
||||
hash = "sha256-1Ygr4tnMCRsskeJMUFv2XJxnNak8E30jZDZiLkXAQyg=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "JuliaMono-ttf";
|
||||
version = "0.050";
|
||||
version = "0.051";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz";
|
||||
stripRoot = false;
|
||||
hash = "sha256-XySK+o0ROfmvII5Yvb/3HbLepRTaeVNEZwSVbhsZDsE=";
|
||||
hash = "sha256-JdoCblRW9Vih7zQyvTb/VXhZJJDNV0sPDfTQ+wRKotE=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sarasa-gothic";
|
||||
version = "0.41.8";
|
||||
version = "0.41.9";
|
||||
|
||||
src = fetchurl {
|
||||
# Use the 'ttc' files here for a smaller closure size.
|
||||
# (Using 'ttf' files gives a closure size about 15x larger, as of November 2021.)
|
||||
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
|
||||
hash = "sha256-TLEyCFQfBsCCHqnYmJNMJFkM+iKWqly3969zw9AbTFQ=";
|
||||
hash = "sha256-bZM6RJHN1Zm7SMmEfQFWSqrpzab7AeJgBfZ8Q2uVSB4=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "imgui";
|
||||
version = "1.89.8";
|
||||
version = "1.89.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocornut";
|
||||
repo = "imgui";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pkEm7+ZBYAYgAbMvXhmJyxm6DfyQWkECTXcTHTgfvuo=";
|
||||
sha256 = "sha256-0k9jKrJUrG9piHNFQaBBY3zgNIKM23ZA879NY+MNYTU=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -9,13 +9,13 @@
|
||||
nv-codec-headers-11 = nv-codec-headers-12;
|
||||
}).overrideAttrs (old: rec {
|
||||
pname = "jellyfin-ffmpeg";
|
||||
version = "6.0-5";
|
||||
version = "6.0-6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jellyfin";
|
||||
repo = "jellyfin-ffmpeg";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pKmR+IVJAaY91KiboCBkwZleMmMFToez1fW+eXyrZjs=";
|
||||
sha256 = "sha256-jOKVS+BMADS/jIagOnYwxeGTpTMySmGlOHkPD2LJdkA=";
|
||||
};
|
||||
|
||||
buildInputs = old.buildInputs ++ [ chromaprint ];
|
||||
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tagparser";
|
||||
version = "12.0.0";
|
||||
version = "12.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Martchus";
|
||||
repo = "tagparser";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-b6nAVhakQA8oKHP48+1S+4SX6EcI0kxK8uXTZ05cLnQ=";
|
||||
hash = "sha256-83Xxj1CQsghbAsQ/3GKIYCz9lBNEBvLlx1iOKbszn8A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ buildDunePackage, conduit-lwt
|
||||
, fetchpatch
|
||||
, ppx_sexp_conv, sexplib, uri, cstruct, mirage-flow
|
||||
, mirage-flow-combinators, mirage-random, mirage-time, mirage-clock
|
||||
, dns-client-mirage, vchan, xenstore, tls, tls-mirage, ipaddr, ipaddr-sexp
|
||||
@ -9,7 +10,12 @@ buildDunePackage {
|
||||
pname = "conduit-mirage";
|
||||
|
||||
inherit (conduit-lwt) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
# Compatibility with tls ≥ 0.17
|
||||
patches = fetchpatch {
|
||||
url = "https://github.com/mirage/ocaml-conduit/commit/403b4cec528dae71aded311215868a35c11dad7e.patch";
|
||||
hash = "sha256-R/iuLf2PSrx8mLKLueMA3+zr9sB8dX/3evjUbfQECBk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ppx_sexp_conv ];
|
||||
|
||||
|
@ -3,14 +3,9 @@
|
||||
buildDunePackage rec {
|
||||
pname = "tls-async";
|
||||
|
||||
inherit (tls) src meta version;
|
||||
inherit (tls) src version;
|
||||
|
||||
minimalOCamlVersion = "4.13";
|
||||
|
||||
patches = [
|
||||
# Remove when TLS gets updated to v0.17.1.
|
||||
./janestreet-0.16.patch
|
||||
];
|
||||
minimalOCamlVersion = "4.14";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
@ -22,4 +17,8 @@ buildDunePackage rec {
|
||||
mirage-crypto-rng-async
|
||||
tls
|
||||
];
|
||||
|
||||
meta = tls.meta // {
|
||||
description = "Transport Layer Security purely in OCaml, Async layer";
|
||||
};
|
||||
}
|
||||
|
@ -1,40 +1,34 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
, cstruct, cstruct-sexp, domain-name, fmt, ppx_cstruct, ppx_sexp_conv, logs, hkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, ocaml_lwt, ptime, sexplib, x509
|
||||
, ipaddr, ipaddr-sexp
|
||||
, cstruct, domain-name, fmt, logs, hkdf, mirage-crypto, mirage-crypto-ec, mirage-crypto-pk, mirage-crypto-rng, lwt, ptime, x509
|
||||
, ipaddr
|
||||
, alcotest, cstruct-unix, ounit2, randomconv
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "tls";
|
||||
version = "0.16.0";
|
||||
version = "0.17.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirleft/ocaml-tls/releases/download/v${version}/tls-${version}.tbz";
|
||||
sha256 = "sha256-uvIDZLNy6E/ce7YmzUUVaOeGRaHqPSUzuEPQDMu09tM=";
|
||||
hash = "sha256-gBDStt4UjaIoaSgYHSM71yD6YPoVez1CULyg3QCMXT8=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cstruct
|
||||
cstruct-sexp
|
||||
domain-name
|
||||
fmt
|
||||
ppx_cstruct
|
||||
ppx_sexp_conv
|
||||
logs
|
||||
hkdf
|
||||
mirage-crypto
|
||||
mirage-crypto-ec
|
||||
mirage-crypto-pk
|
||||
mirage-crypto-rng
|
||||
ocaml_lwt
|
||||
lwt
|
||||
ptime
|
||||
sexplib
|
||||
x509
|
||||
ipaddr
|
||||
ipaddr-sexp
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
@ -1,23 +0,0 @@
|
||||
diff --git a/async/tls_async.mli b/async/tls_async.mli
|
||||
index b4894b8..101f27f 100644
|
||||
--- a/async/tls_async.mli
|
||||
+++ b/async/tls_async.mli
|
||||
@@ -55,4 +55,4 @@ val connect
|
||||
-> 'addr Tcp.Where_to_connect.t
|
||||
-> host:[ `host ] Domain_name.t option
|
||||
-> (Session.t * Reader.t * Writer.t) Deferred.Or_error.t)
|
||||
- Tcp.with_connect_options
|
||||
+ Tcp.Aliases.with_connect_options
|
||||
diff --git a/async/x509_async.ml b/async/x509_async.ml
|
||||
index d4fad8c..4ee466a 100644
|
||||
--- a/async/x509_async.ml
|
||||
+++ b/async/x509_async.ml
|
||||
@@ -9,7 +9,7 @@ let file_contents file =
|
||||
let load_all_in_directory ~directory ~f =
|
||||
let open Deferred.Or_error.Let_syntax in
|
||||
let%bind files = Deferred.Or_error.try_with (fun () -> Sys.ls_dir directory) in
|
||||
- Deferred.Or_error.List.map files ~f:(fun file ->
|
||||
+ Deferred.Or_error.List.map ~how:`Sequential files ~f:(fun file ->
|
||||
let%bind contents = file_contents (directory ^/ file) in
|
||||
f ~contents)
|
||||
;;
|
@ -6,7 +6,6 @@ buildDunePackage rec {
|
||||
inherit (tls) src meta version;
|
||||
|
||||
minimalOCamlVersion = "4.11";
|
||||
duneVersion = "3";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -5,7 +5,6 @@
|
||||
buildDunePackage {
|
||||
pname = "tls-mirage";
|
||||
inherit (tls) src version;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fmt
|
||||
|
@ -1,26 +1,36 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, geopy
|
||||
, pythonOlder
|
||||
, requests
|
||||
, setuptools
|
||||
, urllib3
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aemet-opendata";
|
||||
version = "0.2.2";
|
||||
version = "0.4.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Noltari";
|
||||
repo = "AEMET-OpenData";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-3f3hvui00oItu6t9rKecoCquqsD1Eeqz+SEsLBqGt48=";
|
||||
hash = "sha256-Jm7fv1fNavp2GkfKPhZXYGnGuCBy6BdN9iTNYTBIyew=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
geopy
|
||||
requests
|
||||
urllib3
|
||||
@ -29,11 +39,14 @@ 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";
|
||||
homepage = "https://github.com/Noltari/AEMET-OpenData";
|
||||
changelog = "https://github.com/Noltari/AEMET-OpenData/releases/tag/${version}";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioairzone";
|
||||
version = "0.6.7";
|
||||
version = "0.6.8";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "Noltari";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-/LUTHeApktB4okt9bVkZe7G1dApVaYUdwty4sbK7IKQ=";
|
||||
hash = "sha256-aCf0IO70t/QMmDmIwBKN3Um1HgHjHn1r6Dze/pWaQ5M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
52
pkgs/development/python-modules/aiocomelit/default.nix
Normal file
52
pkgs/development/python-modules/aiocomelit/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiocomelit";
|
||||
version = "0.0.6";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chemelli74";
|
||||
repo = "aiocomelit";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-u6CyqDFLgnIVak0UqN4JmL8ll/li3k9EhFs7iC5oZ9U=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=aiocomelit --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiocomelit"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to control Comelit Simplehome";
|
||||
homepage = "https://github.com/chemelli74/aiocomelit";
|
||||
changelog = "https://github.com/chemelli74/aiocomelit/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioesphomeapi";
|
||||
version = "16.0.3";
|
||||
version = "16.0.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "esphome";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-x4kH8riHZbVibgwR2DmWB4tsswpub4m2LwnypVVUgqM=";
|
||||
hash = "sha256-SueK59CZTKkQPsHThs7k9eCEmc1GwaRIrw3oSK4E80E=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolyric";
|
||||
version = "1.0.10";
|
||||
version = "1.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "timmo001";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-yKeG0UCQ8haT1hvywoIwKQ519GK2wFg0wXaRTFeKYIk=";
|
||||
hash = "sha256-LDLpNuwkoPacI/a2NSlqUABRgwy+jAjGwOxmShLskso=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -29,8 +29,8 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError, https://github.com/timmo001/aiolyric/issues/5
|
||||
"test_location"
|
||||
# AssertionError, https://github.com/timmo001/aiolyric/issues/61
|
||||
"test_priority"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
67
pkgs/development/python-modules/aioruckus/default.nix
Normal file
67
pkgs/development/python-modules/aioruckus/default.nix
Normal file
@ -0,0 +1,67 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, wheel
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioruckus";
|
||||
version = "0.34";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ms264556";
|
||||
repo = "aioruckus";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-SPj1w1jAJFBsWj1+N8srAbvlh+yB3ZTT7aDcZTnmUto=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "setuptools>=68.1" "setuptools"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
xmltodict
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioruckus"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# these require a local ruckus device
|
||||
"test_ap_info"
|
||||
"test_authentication_error"
|
||||
"test_connect_success"
|
||||
"test_current_active_clients"
|
||||
"test_mesh_info"
|
||||
"test_system_info"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for Ruckus Unleashed and Ruckus ZoneDirector";
|
||||
homepage = "https://github.com/ms264556/aioruckus";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioshelly";
|
||||
version = "5.4.0";
|
||||
version = "6.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-cbgDuJXvZmbhIgxpuySGbJqz7DeI65DHwk1UPdNUs1Q=";
|
||||
hash = "sha256-mB9BEVqbHcoUaygIgrtqk20wMJkL+dWpbeyG5VP4+sg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiotractive";
|
||||
version = "0.5.5";
|
||||
version = "0.5.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zhulik";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VCwIAeSAN4tMwB8TXN/ukrws0qYv/jHHeEu++m56AHA=";
|
||||
hash = "sha256-jJw1L1++Z/r+E12tA6zoyyy4MmTpaaVVzKwfI6xcDBQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -29,6 +29,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "aiotractive" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/zhulik/aiotractive/releases/tag/v${version}";
|
||||
description = "Python client for the Tractive REST API";
|
||||
homepage = "https://github.com/zhulik/aiotractive";
|
||||
license = licenses.mit;
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, async-timeout
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, orjson
|
||||
@ -10,25 +9,39 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, segno
|
||||
, setuptools
|
||||
, wheel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiounifi";
|
||||
version = "55";
|
||||
format = "setuptools";
|
||||
version = "61";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kane610";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JvuP1Rhq01Y9KbfAJpawUQNWfxvlf9LY82RvXok4tgw=";
|
||||
hash = "sha256-tzP20KDPCq1/fJY+OfEpo3LMbP662ROh2aPI4nmDp0Y=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "setuptools==" "setuptools>=" \
|
||||
--replace "wheel==" "wheel>="
|
||||
|
||||
sed -i '/--cov=/d' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
async-timeout
|
||||
orjson
|
||||
segno
|
||||
];
|
||||
|
54
pkgs/development/python-modules/aiovodafone/default.nix
Normal file
54
pkgs/development/python-modules/aiovodafone/default.nix
Normal file
@ -0,0 +1,54 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, beautifulsoup4
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiovodafone";
|
||||
version = "0.0.8";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chemelli74";
|
||||
repo = "aiovodafone";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-o21zaK3dJfURFAt8fPaOd95H7tuqLnFPC01RGHBIz4M=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=aiovodafone --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
beautifulsoup4
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiovodafone"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to control Vodafon Station";
|
||||
homepage = "https://github.com/chemelli74/aiovodafone";
|
||||
changelog = "https://github.com/chemelli74/aiovodafone/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
60
pkgs/development/python-modules/aiowaqi/default.nix
Normal file
60
pkgs/development/python-modules/aiowaqi/default.nix
Normal file
@ -0,0 +1,60 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, aresponses
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, syrupy
|
||||
, yarl
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiowaqi";
|
||||
version = "1.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "joostlek";
|
||||
repo = "python-waqi";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-CQCF59Tp0VE7PNHPdVzzZegLUNDkslzKapELDjZn1k4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aresponses
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
syrupy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiowaqi"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the WAQI API";
|
||||
homepage = "https://github.com/joostlek/python-waqi";
|
||||
changelog = "https://github.com/joostlek/python-waqi/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -7,9 +7,12 @@
|
||||
, httpx
|
||||
, pycryptodome
|
||||
, pyjwt
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, python
|
||||
, respx
|
||||
, time-machine
|
||||
, tzdata
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -39,12 +42,21 @@ buildPythonPackage rec {
|
||||
pyjwt
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
cp -R bimmer_connected/tests/responses $out/${python.sitePackages}/bimmer_connected/tests/
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
respx
|
||||
time-machine
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export TZDIR=${tzdata}/${python.sitePackages}/tzdata/zoneinfo
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bimmer_connected"
|
||||
];
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hatasmota";
|
||||
version = "0.6.5";
|
||||
version = "0.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "emontnemery";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-DqXGvn7vYC3SXOM/u+nMUshgBUe0O6Dcffaxh9vFohk=";
|
||||
hash = "sha256-f8bRVo9365w5gMpkb31thGXCRWZuKfkFEow9Wv4/+bM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nvidia-ml-py";
|
||||
version = "12.535.77";
|
||||
version = "12.535.108";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "tar.gz";
|
||||
hash = "sha256-jYHl7Zk8hABkVBAq+ExL/99yulxRIStsASHGVoiYPhQ=";
|
||||
hash = "sha256-FB/oGHcaFl+5P3Xb5/Afdnw7r6fBP2h29TWDURsHjuE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -7,54 +7,57 @@
|
||||
, prompt-toolkit
|
||||
, pygments
|
||||
, pyserial
|
||||
, pyserial-asyncio
|
||||
, pytest-asyncio
|
||||
, pytest-rerunfailures
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, redis
|
||||
, sqlalchemy
|
||||
, tornado
|
||||
, twisted
|
||||
, typer
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymodbus";
|
||||
version = "3.3.2";
|
||||
version = "3.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymodbus-dev";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EGJyb0AVLKN7FEoeWF4rVqmJBNbXHent9P+cxc13rQs=";
|
||||
hash = "sha256-ZoGpMhJng46nW7v/QgjGCsFZV6xV4PSh9/DH1d2dzdg=";
|
||||
};
|
||||
|
||||
# Twisted asynchronous version is not supported due to a missing dependency
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
click
|
||||
prompt-toolkit
|
||||
pygments
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
tornado
|
||||
];
|
||||
passthru.optional-dependencies = {
|
||||
repl = [
|
||||
aiohttp
|
||||
typer
|
||||
prompt-toolkit
|
||||
pygments
|
||||
click
|
||||
] ++ typer.optional-dependencies.all;
|
||||
serial = [
|
||||
pyserial
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytest-rerunfailures
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
redis
|
||||
sqlalchemy
|
||||
twisted
|
||||
];
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"--reruns" "3" # Racy socket tests
|
||||
];
|
||||
preCheck = ''
|
||||
pushd test
|
||||
'';
|
||||
|
||||
postCheck = ''
|
||||
popd
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pymodbus" ];
|
||||
|
||||
|
@ -1,36 +0,0 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pexpect
|
||||
, python-slugify
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyruckus";
|
||||
version = "0.16";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gabe565";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SVE5BrCCQgCrhOC0CSGgbZ9TEY3iZ9Rp/xMUShPAxxM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pexpect
|
||||
python-slugify
|
||||
];
|
||||
|
||||
# Tests requires network features
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyruckus" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for Ruckus Unleashed";
|
||||
homepage = "https://github.com/gabe565/pyruckus";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-bsblan";
|
||||
version = "0.5.15";
|
||||
version = "0.5.16";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "liudger";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-PNgv3QXl3iyDX0KOn1egQrt6D64i3eCUyCPtXe94y0U=";
|
||||
hash = "sha256-m80lnNd1ANddV0d/w3S7+QWzIPRklDZsWMO2g1hgEoQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
56
pkgs/development/python-modules/pywaze/default.nix
Normal file
56
pkgs/development/python-modules/pywaze/default.nix
Normal file
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, httpx
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, respx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pywaze";
|
||||
version = "0.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eifinger";
|
||||
repo = "pywaze";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-z/6eSgERHKV/5vjbRWcyrxAMNDIHvM3GUoo3xf+AhNY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "--cov --cov-report term-missing --cov=src/pywaze " ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
httpx
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
respx
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pywaze"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for calculating WAZE routes and travel times";
|
||||
homepage = "https://github.com/eifinger/pywaze";
|
||||
changelog = "https://github.com/eifinger/pywaze/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -2,15 +2,14 @@
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, ffmpeg-python
|
||||
, orjson
|
||||
, pythonOlder
|
||||
, requests
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "reolink-aio";
|
||||
version = "0.7.8";
|
||||
version = "0.7.9";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -19,29 +18,22 @@ buildPythonPackage rec {
|
||||
owner = "starkillerOG";
|
||||
repo = "reolink_aio";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vbSt1rD25Bt3Qac0uO0Z63JhbU5HU0p2ox046W6xyJU=";
|
||||
hash = "sha256-+1FZzgVaj2hphSTFlOtaYH3o++kC/aaahU8i8urdme0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Packages in nixpkgs is different than the module name
|
||||
substituteInPlace setup.py \
|
||||
--replace "ffmpeg" "ffmpeg-python"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
ffmpeg-python
|
||||
orjson
|
||||
requests
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
# All tests require a network device
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"reolink_aio"
|
||||
];
|
||||
|
||||
# All tests require a network device
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to interact with the Reolink IP camera API";
|
||||
homepage = "https://github.com/starkillerOG/reolink_aio";
|
||||
|
@ -0,0 +1,73 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, setuptools
|
||||
, setuptools-git-versioning
|
||||
, wheel
|
||||
|
||||
# dependencies
|
||||
, async-timeout
|
||||
, bellows
|
||||
, click
|
||||
, coloredlogs
|
||||
, crc
|
||||
, libgpiod
|
||||
, typing-extensions
|
||||
, zigpy
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, pytest-timeout
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "universal-silabs-flasher";
|
||||
version = "0.0.13";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NabuCasa";
|
||||
repo = "universal-silabs-flasher";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qiaDPCnVb6JQ2fZRFK+QF4o8K2UbIWGNKl5oo6MQUW0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-git-versioning
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
async-timeout
|
||||
bellows
|
||||
click
|
||||
coloredlogs
|
||||
crc
|
||||
typing-extensions
|
||||
zigpy
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isLinux) [
|
||||
libgpiod
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-timeout
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "universal_silabs_flasher" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flashes Silicon Labs radios running EmberZNet or CPC multi-pan firmware";
|
||||
homepage = "https://github.com/NabuCasa/universal-silabs-flasher";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -22,14 +22,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "unstructured-inference";
|
||||
version = "0.5.7";
|
||||
version = "0.5.22";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Unstructured-IO";
|
||||
repo = "unstructured-inference";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xlsihi1ZTNgdnSk3H8rMBRi4AAxPKNFqygcIMtM/jE0=";
|
||||
hash = "sha256-YMPChP8/KB/UioavIa0pdj0wH9bTkN8frFmkQZ3bUPc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zeroconf";
|
||||
version = "0.99.0";
|
||||
version = "0.102.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||
owner = "jstasiak";
|
||||
repo = "python-zeroconf";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-T9CDJIK/wMGExk+1Fahbq4gm+t+RRSUxca3SxkHXtJQ=";
|
||||
hash = "sha256-Z4RswQDA05wXXyg8CeIiuh9I1EXTyXh6Z88r7soGFTo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -10,16 +10,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zwave-js-server-python";
|
||||
version = "0.49.0";
|
||||
version = "0.51.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-6CN2Smwm693RUuRUdqrNKa7j2I3pjmR+QoPfpjti+h8=";
|
||||
hash = "sha256-2U0mRlNUCZD05lgGB3dz2WaUxG2dv/C7nxD2sI3R8B8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -27,8 +27,6 @@ buildPythonPackage rec {
|
||||
pydantic
|
||||
];
|
||||
|
||||
doCheck = lib.versionAtLeast pytest-aiohttp.version "1.0.0";
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "tfsec";
|
||||
version = "1.28.1";
|
||||
version = "1.28.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aquasecurity";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-44DN3lV9BLBFr6kkD3IcamQg+t+xUqqao83f0nBKZvI=";
|
||||
hash = "sha256-N1BL0DHppHyfxHQT98y3rtvyCArq/bcbDIiB0NxCsJA=";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
@ -22,7 +22,7 @@ buildGoModule rec {
|
||||
# "-extldflags '-fno-PIC -static'"
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-NQUDeNAWSWcIoSZjdbaFQTB3nMFGbLZLUDNFHMk6Enw=";
|
||||
vendorHash = "sha256-7OTMJhW1Q1z/TOFa4oRCEIPF0cN8gZLdaQglqszXHdw=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/tfsec"
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bazel-gazelle";
|
||||
version = "0.32.0";
|
||||
version = "0.33.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bazelbuild";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-LJWL3PWKd6b+tNGFX5H2Hd7HNEtYh1pVtZhwDJNzhV0=";
|
||||
hash = "sha256-WmDtMOEs7cOb/juWTHjkc8/92f2OL0vurMMM15IE3YI=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "terramate";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "terramate-io";
|
||||
repo = "terramate";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-64tzzruhypIgDbsIOkAenyAYaRnCJiOIiuib3YPI0XI=";
|
||||
hash = "sha256-bi/O4yG9m8uefY9CSn3yFmotxlFZz53cJG8SI1Zk1/4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/PKibIGNeam6fP2eLUYd2kxlTO4KcboIbUQ2lKe2qYY=";
|
||||
vendorHash = "sha256-gl5xsaSkGXlh+MfieVBPHGAbYZVF3GBbIkmvVhlJvqw=";
|
||||
|
||||
# required for version info
|
||||
nativeBuildInputs = [ git ];
|
||||
|
@ -6,16 +6,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oh-my-posh";
|
||||
version = "18.3.5";
|
||||
version = "18.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jandedobbeleer";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5wcKG97NXTTTBJOD9kOsOp1MuHazAPlE4yLPWJoeCA8=";
|
||||
hash = "sha256-dnaKcyDy4TdlTPl0hCUCshW6aFMLUUFwVskv1jiO0fk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-xkguBWk2Nh8w7C7tKbvaP0tRgZO4z08AEsdjNlJYC6Q=";
|
||||
vendorHash = "sha256-GHOWcZqZmjL+EptcuCwbj0WSWKmhbsxpZFvHhlmsbxU=";
|
||||
|
||||
sourceRoot = "${src.name}/src";
|
||||
|
||||
|
@ -49,6 +49,32 @@ poetry2nix.mkPoetryApplication {
|
||||
# Fails because of impurities (network, git etc etc)
|
||||
doCheck = false;
|
||||
|
||||
overrides = [
|
||||
poetry2nix.defaultPoetryOverrides
|
||||
(self: super: {
|
||||
cryptography = super.cryptography.overridePythonAttrs (old: {
|
||||
meta = old.meta // {
|
||||
knownVulnerabilities = old.meta.knownVulnerabilities or [ ]
|
||||
++ lib.optionals (lib.versionOlder old.version "41.0.0") [
|
||||
"CVE-2023-2650"
|
||||
"CVE-2023-2975"
|
||||
"CVE-2023-3446"
|
||||
"CVE-2023-3817"
|
||||
"CVE-2023-38325"
|
||||
];
|
||||
};
|
||||
});
|
||||
requests = super.requests.overridePythonAttrs (old: {
|
||||
meta = old.meta // {
|
||||
knownVulnerabilities = old.meta.knownVulnerabilities or [ ]
|
||||
++ lib.optionals (lib.versionOlder old.version "2.31.0") [
|
||||
"CVE-2023-32681"
|
||||
];
|
||||
};
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (python.meta) platforms;
|
||||
maintainers = with maintainers; [ adisbladis jakewaksbaum ];
|
||||
|
@ -9,13 +9,13 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sentry-cli";
|
||||
version = "2.20.5";
|
||||
version = "2.20.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-gV1IL2IKbmUeOJkMfJ3Hd8xoylVi0i7ADdxaISLF+wM=";
|
||||
sha256 = "sha256-H1WRjNMYcWqc9Y8H7agzA7uMhvlA4DXpJOUpbUG+xxU=";
|
||||
};
|
||||
doCheck = false;
|
||||
|
||||
@ -25,13 +25,13 @@ rustPlatform.buildRustPackage rec {
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
cargoHash = "sha256-9L+wfYO5BOkpB3VqUSOJEwq671SVGlWcbXd80m/UoYI=";
|
||||
cargoHash = "sha256-WLnvyQQ51dIsD5g3FjHJhA+EqB1UEHghwxI/TVYwNdo=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.sentry.io/cli/";
|
||||
license = licenses.bsd3;
|
||||
description = "A command line utility to work with Sentry";
|
||||
changelog = "https://github.com/getsentry/sentry-cli/raw/${version}/CHANGELOG.md";
|
||||
maintainers = with maintainers; [ rizary ];
|
||||
maintainers = with maintainers; [ rizary loewenheim ];
|
||||
};
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "upbound";
|
||||
version = "0.18.0";
|
||||
version = "0.19.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "up";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kpk54P9+ITBdlytwxfAhVNTkJN8SReFXgjUdWXclr1I=";
|
||||
sha256 = "sha256-Dr6EKpKVy2DLhivJ42Bx+WJL2L710sQlXroaAm66Gpo=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aqKLWd7C7LLIZm5jSksqp35zWNSYSzTZ8gGHUgWgq9E=";
|
||||
vendorHash = "sha256-J7rZAvEx0jgkhJIEE19rV2WdBCIvkqYzB72ZiABs56U=";
|
||||
|
||||
subPackages = [ "cmd/docker-credential-up" "cmd/up" ];
|
||||
|
||||
|
@ -78,6 +78,7 @@ stdenv.mkDerivation rec {
|
||||
description = "LUKS for dm-crypt";
|
||||
changelog = "https://gitlab.com/cryptsetup/cryptsetup/-/raw/v${version}/docs/v${version}-ReleaseNotes";
|
||||
license = lib.licenses.gpl2;
|
||||
mainProgram = "cryptsetup";
|
||||
maintainers = with lib.maintainers; [ raitobezarius ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
|
@ -156,6 +156,7 @@ let
|
||||
description = "Software implementation of a telephone private branch exchange (PBX)";
|
||||
homepage = "https://www.asterisk.org/";
|
||||
license = licenses.gpl2Only;
|
||||
mainProgram = "asterisk";
|
||||
maintainers = with maintainers; [ auntie DerTim1 yorickvp ];
|
||||
};
|
||||
};
|
||||
|
@ -13,8 +13,8 @@ let
|
||||
aspnetcore_6_0
|
||||
];
|
||||
|
||||
version = "2.8.2";
|
||||
hash = "sha256-u6uKLmNNw9DllAV4MmexVsy5GrGqd4XRJRRXpERQfXE=";
|
||||
version = "2.9.0";
|
||||
hash = "sha256-8lEHo2ZEx4kkT/tLgbSmjFx9qHyAQIaha75ISIHj3hA=";
|
||||
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Do not edit!
|
||||
|
||||
{
|
||||
version = "2023.8.4";
|
||||
version = "2023.9.0";
|
||||
components = {
|
||||
"3_day_blinds" = ps: with ps; [
|
||||
];
|
||||
@ -638,6 +638,9 @@
|
||||
];
|
||||
"comed_hourly_pricing" = ps: with ps; [
|
||||
];
|
||||
"comelit" = ps: with ps; [
|
||||
aiocomelit
|
||||
];
|
||||
"comfoconnect" = ps: with ps; [
|
||||
pycomfoconnect
|
||||
];
|
||||
@ -648,6 +651,8 @@
|
||||
];
|
||||
"concord232" = ps: with ps; [
|
||||
]; # missing inputs: concord232
|
||||
"coned" = ps: with ps; [
|
||||
];
|
||||
"config" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
];
|
||||
@ -1049,7 +1054,7 @@
|
||||
enocean
|
||||
];
|
||||
"enphase_envoy" = ps: with ps; [
|
||||
envoy-reader
|
||||
pyenphase
|
||||
];
|
||||
"entur_public_transport" = ps: with ps; [
|
||||
enturclient
|
||||
@ -1678,6 +1683,25 @@
|
||||
];
|
||||
"homeassistant_alerts" = ps: with ps; [
|
||||
];
|
||||
"homeassistant_green" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
bellows
|
||||
fnv-hash-fast
|
||||
janus
|
||||
pillow
|
||||
psutil-home-assistant
|
||||
pyserial
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
zigpy-xbee
|
||||
zigpy-zigate
|
||||
zigpy-znp
|
||||
];
|
||||
"homeassistant_hardware" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
bellows
|
||||
@ -1689,6 +1713,7 @@
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
@ -1707,6 +1732,7 @@
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
@ -1725,6 +1751,7 @@
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
@ -2183,6 +2210,8 @@
|
||||
"laundrify" = ps: with ps; [
|
||||
laundrify-aio
|
||||
];
|
||||
"lawn_mower" = ps: with ps; [
|
||||
];
|
||||
"lcn" = ps: with ps; [
|
||||
pypck
|
||||
];
|
||||
@ -2988,6 +3017,8 @@
|
||||
];
|
||||
"oru" = ps: with ps; [
|
||||
]; # missing inputs: oru
|
||||
"oru_opower" = ps: with ps; [
|
||||
];
|
||||
"orvibo" = ps: with ps; [
|
||||
orvibo
|
||||
];
|
||||
@ -3007,6 +3038,7 @@
|
||||
python-otbr-api
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zeroconf
|
||||
zha-quirks
|
||||
zigpy
|
||||
@ -3445,7 +3477,8 @@
|
||||
rtsp-to-webrtc
|
||||
];
|
||||
"ruckus_unleashed" = ps: with ps; [
|
||||
pyruckus
|
||||
aioruckus
|
||||
xmltodict
|
||||
];
|
||||
"russound_rio" = ps: with ps; [
|
||||
]; # missing inputs: russound-rio
|
||||
@ -3537,6 +3570,9 @@
|
||||
];
|
||||
"schedule" = ps: with ps; [
|
||||
];
|
||||
"schlage" = ps: with ps; [
|
||||
pyschlage
|
||||
];
|
||||
"schluter" = ps: with ps; [
|
||||
]; # missing inputs: py-schluter
|
||||
"scrape" = ps: with ps; [
|
||||
@ -4321,6 +4357,9 @@
|
||||
pytradfri
|
||||
]
|
||||
++ pytradfri.optional-dependencies.async;
|
||||
"trafikverket_camera" = ps: with ps; [
|
||||
pytrafikverket
|
||||
];
|
||||
"trafikverket_ferry" = ps: with ps; [
|
||||
pytrafikverket
|
||||
];
|
||||
@ -4505,6 +4544,9 @@
|
||||
"vlc_telnet" = ps: with ps; [
|
||||
aiovlc
|
||||
];
|
||||
"vodafone_station" = ps: with ps; [
|
||||
aiovodafone
|
||||
];
|
||||
"voicerss" = ps: with ps; [
|
||||
];
|
||||
"voip" = ps: with ps; [
|
||||
@ -4534,11 +4576,13 @@
|
||||
"wake_on_lan" = ps: with ps; [
|
||||
wakeonlan
|
||||
];
|
||||
"wake_word" = ps: with ps; [
|
||||
];
|
||||
"wallbox" = ps: with ps; [
|
||||
wallbox
|
||||
];
|
||||
"waqi" = ps: with ps; [
|
||||
waqiasync
|
||||
aiowaqi
|
||||
];
|
||||
"water_heater" = ps: with ps; [
|
||||
];
|
||||
@ -4551,7 +4595,7 @@
|
||||
aiowatttime
|
||||
];
|
||||
"waze_travel_time" = ps: with ps; [
|
||||
wazeroutecalculator
|
||||
pywaze
|
||||
];
|
||||
"weather" = ps: with ps; [
|
||||
];
|
||||
@ -4729,6 +4773,8 @@
|
||||
];
|
||||
"yandextts" = ps: with ps; [
|
||||
];
|
||||
"yardian" = ps: with ps; [
|
||||
]; # missing inputs: pyyardian
|
||||
"yeelight" = ps: with ps; [
|
||||
aiohttp-cors
|
||||
async-upnp-client
|
||||
@ -4797,6 +4843,7 @@
|
||||
pyserial-asyncio
|
||||
pyudev
|
||||
sqlalchemy
|
||||
universal-silabs-flasher
|
||||
zha-quirks
|
||||
zigpy
|
||||
zigpy-deconz
|
||||
@ -4929,6 +4976,7 @@
|
||||
"cloudflare"
|
||||
"co2signal"
|
||||
"color_extractor"
|
||||
"comelit"
|
||||
"comfoconnect"
|
||||
"command_line"
|
||||
"compensation"
|
||||
@ -5098,6 +5146,7 @@
|
||||
"home_plus_control"
|
||||
"homeassistant"
|
||||
"homeassistant_alerts"
|
||||
"homeassistant_green"
|
||||
"homeassistant_hardware"
|
||||
"homeassistant_sky_connect"
|
||||
"homeassistant_yellow"
|
||||
@ -5169,6 +5218,7 @@
|
||||
"lastfm"
|
||||
"launch_library"
|
||||
"laundrify"
|
||||
"lawn_mower"
|
||||
"lcn"
|
||||
"ld2410_ble"
|
||||
"led_ble"
|
||||
@ -5378,6 +5428,7 @@
|
||||
"samsungtv"
|
||||
"scene"
|
||||
"schedule"
|
||||
"schlage"
|
||||
"scrape"
|
||||
"screenlogic"
|
||||
"script"
|
||||
@ -5497,6 +5548,7 @@
|
||||
"trace"
|
||||
"tractive"
|
||||
"tradfri"
|
||||
"trafikverket_camera"
|
||||
"trafikverket_ferry"
|
||||
"trafikverket_train"
|
||||
"trafikverket_weatherstation"
|
||||
@ -5537,12 +5589,14 @@
|
||||
"vilfo"
|
||||
"vizio"
|
||||
"vlc_telnet"
|
||||
"vodafone_station"
|
||||
"voicerss"
|
||||
"volumio"
|
||||
"volvooncall"
|
||||
"vulcan"
|
||||
"vultr"
|
||||
"wake_on_lan"
|
||||
"wake_word"
|
||||
"wallbox"
|
||||
"water_heater"
|
||||
"watttime"
|
||||
|
@ -134,6 +134,16 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
plexapi = super.plexapi.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "4.13.2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pkkid";
|
||||
repo = "python-plexapi";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-5YwINPgQ4efZBvu5McsLYicW/7keKSi011lthJUR9zw=";
|
||||
};
|
||||
});
|
||||
|
||||
# Pinned due to API changes in 0.1.0
|
||||
poolsense = super.poolsense.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.0.8";
|
||||
@ -272,6 +282,16 @@ let
|
||||
};
|
||||
});
|
||||
|
||||
zeroconf = super.zeroconf.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "0.91.1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "python-zeroconf";
|
||||
repo = "python-zeroconf";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-HHADcxXjfukRJtqRjfKI/spZIqOfDT0Etg4oYzNdXIs=";
|
||||
};
|
||||
});
|
||||
|
||||
# internal python packages only consumed by home-assistant itself
|
||||
home-assistant-frontend = self.callPackage ./frontend.nix { };
|
||||
home-assistant-intents = self.callPackage ./intents.nix { };
|
||||
@ -296,7 +316,7 @@ let
|
||||
extraBuildInputs = extraPackages python.pkgs;
|
||||
|
||||
# Don't forget to run parse-requirements.py after updating
|
||||
hassVersion = "2023.8.4";
|
||||
hassVersion = "2023.9.0";
|
||||
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "homeassistant";
|
||||
@ -312,7 +332,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
# Primary source is the pypi sdist, because it contains translations
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Mu3DyCtF/bTrTvRKPLVEGSZfWZrF7QQy/ZvBi5IIH3s=";
|
||||
hash = "sha256-XdZYVv60ZCkK0fKmt2kmThRxhv+hfJMtHwgBu3iaW9w=";
|
||||
};
|
||||
|
||||
# Secondary source is git for tests
|
||||
@ -320,7 +340,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
owner = "home-assistant";
|
||||
repo = "core";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-N06e2QSt34l4T0hulndZR/czjaPcmw8YXF0iAN/XmgQ=";
|
||||
hash = "sha256-B+GdUXRvQyBMR7PbVGEZr7hZm7wslBskUTB23APJLIU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python.pkgs; [
|
||||
@ -393,6 +413,7 @@ in python.pkgs.buildPythonApplication rec {
|
||||
jinja2
|
||||
lru-dict
|
||||
orjson
|
||||
packaging
|
||||
pip
|
||||
pyopenssl
|
||||
pyjwt
|
||||
|
@ -4,7 +4,7 @@ buildPythonPackage rec {
|
||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||
pname = "home-assistant-frontend";
|
||||
version = "20230802.1";
|
||||
version = "20230906.1";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchPypi {
|
||||
@ -12,7 +12,7 @@ buildPythonPackage rec {
|
||||
pname = "home_assistant_frontend";
|
||||
dist = "py3";
|
||||
python = "py3";
|
||||
hash = "sha256-kG2FGX78pd1vbRH6DtB2rXV0AlcUfaHO0z5Vft0hswE=";
|
||||
hash = "sha256-wR/v49K4bKNnzkRltvdFjVYgZ+jU8PVBJHCF765NY5U=";
|
||||
};
|
||||
|
||||
# there is nothing to strip in this package
|
||||
|
@ -11,11 +11,69 @@ index a98766c78c..1c47bb1f80 100644
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
diff --git a/tests/components/ffmpeg/test_binary_sensor.py b/tests/components/ffmpeg/test_binary_sensor.py
|
||||
index 6eec115d6f..c55b4fb26c 100644
|
||||
--- a/tests/components/ffmpeg/test_binary_sensor.py
|
||||
+++ b/tests/components/ffmpeg/test_binary_sensor.py
|
||||
@@ -24,7 +24,7 @@ async def test_noise_setup_component(hass: HomeAssistant) -> None:
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_NOISE)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ async def test_noise_setup_component_start(mock_start, hass: HomeAssistant):
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_NOISE)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
hass.bus.async_fire(EVENT_HOMEASSISTANT_START)
|
||||
@@ -55,7 +55,7 @@ async def test_noise_setup_component_start_callback(mock_ffmpeg, hass: HomeAssis
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_NOISE)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
hass.bus.async_fire(EVENT_HOMEASSISTANT_START)
|
||||
@@ -80,7 +80,7 @@ async def test_motion_setup_component(hass: HomeAssistant) -> None:
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_MOTION)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ async def test_motion_setup_component_start(mock_start, hass: HomeAssistant):
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_MOTION)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
hass.bus.async_fire(EVENT_HOMEASSISTANT_START)
|
||||
@@ -111,7 +111,7 @@ async def test_motion_setup_component_start_callback(mock_ffmpeg, hass: HomeAssi
|
||||
await async_setup_component(hass, "binary_sensor", CONFIG_MOTION)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
- assert hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
hass.bus.async_fire(EVENT_HOMEASSISTANT_START)
|
||||
diff --git a/tests/components/ffmpeg/test_init.py b/tests/components/ffmpeg/test_init.py
|
||||
index 521ac732e5..ab8a56934f 100644
|
||||
index 0c6ce300d0..ff74a5d7f7 100644
|
||||
--- a/tests/components/ffmpeg/test_init.py
|
||||
+++ b/tests/components/ffmpeg/test_init.py
|
||||
@@ -87,7 +87,7 @@ class TestFFmpegSetup:
|
||||
@@ -91,7 +91,7 @@ class TestFFmpegSetup:
|
||||
with assert_setup_component(1):
|
||||
setup_component(self.hass, ffmpeg.DOMAIN, {ffmpeg.DOMAIN: {}})
|
||||
|
||||
@ -24,61 +82,3 @@ index 521ac732e5..ab8a56934f 100644
|
||||
|
||||
def test_setup_component_test_service(self):
|
||||
"""Set up ffmpeg component test services."""
|
||||
diff --git a/tests/components/ffmpeg/test_sensor.py b/tests/components/ffmpeg/test_sensor.py
|
||||
index a6c9c1f441..f13091da1a 100644
|
||||
--- a/tests/components/ffmpeg/test_sensor.py
|
||||
+++ b/tests/components/ffmpeg/test_sensor.py
|
||||
@@ -27,7 +27,7 @@ class TestFFmpegNoiseSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
@patch("haffmpeg.sensor.SensorNoise.open_sensor", return_value=mock_coro())
|
||||
@@ -37,7 +37,7 @@ class TestFFmpegNoiseSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
self.hass.start()
|
||||
@@ -53,7 +53,7 @@ class TestFFmpegNoiseSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_noise") is not None
|
||||
|
||||
self.hass.start()
|
||||
@@ -89,7 +89,7 @@ class TestFFmpegMotionSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
@patch("haffmpeg.sensor.SensorMotion.open_sensor", return_value=mock_coro())
|
||||
@@ -99,7 +99,7 @@ class TestFFmpegMotionSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
self.hass.start()
|
||||
@@ -115,7 +115,7 @@ class TestFFmpegMotionSetup:
|
||||
setup_component(self.hass, "binary_sensor", self.config)
|
||||
self.hass.block_till_done()
|
||||
|
||||
- assert self.hass.data["ffmpeg"].binary == "ffmpeg"
|
||||
+ assert self.hass.data["ffmpeg"].binary == "@ffmpeg@"
|
||||
assert self.hass.states.get("binary_sensor.ffmpeg_motion") is not None
|
||||
|
||||
self.hass.start()
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "homeassistant-stubs";
|
||||
version = "2023.8.4";
|
||||
version = "2023.9.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = python.version != home-assistant.python.version;
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "KapJI";
|
||||
repo = "homeassistant-stubs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Oxge6gZ7m0ZFuJKIy6X9YgmC7aK2/oQWJAYCFTclZ/Y=";
|
||||
hash = "sha256-7G6IIOrQGRF7zLr+2WlZTvixyyoFqrLJiC/BNqUqx20=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,6 +39,14 @@ let
|
||||
};
|
||||
|
||||
extraDisabledTests = {
|
||||
mqtt = [
|
||||
# Assert None is not None
|
||||
"test_handle_logging_on_writing_the_entity_state"
|
||||
];
|
||||
shell_command = [
|
||||
# tries to retrieve file from github
|
||||
"test_non_text_stdout_capture"
|
||||
];
|
||||
vesync = [
|
||||
# homeassistant.components.vesync:config_validation.py:863 The 'vesync' option has been removed, please remove it from your configuration
|
||||
"test_async_get_config_entry_diagnostics__single_humidifier"
|
||||
|
@ -110,6 +110,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://dovecot.org/";
|
||||
description = "Open source IMAP and POP3 email server written with security primarily in mind";
|
||||
license = with licenses; [ mit publicDomain lgpl21Only bsd3 bsdOriginal ];
|
||||
mainProgram = "dovecot";
|
||||
maintainers = with maintainers; [ fpletz globin ajs124 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
@ -128,6 +128,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://exim.org/";
|
||||
description = "A mail transfer agent (MTA)";
|
||||
license = with licenses; [ gpl2Plus bsd3 ];
|
||||
mainProgram = "exim";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tv ajs124 das_j ];
|
||||
changelog = "https://github.com/Exim/exim/blob/exim-${version}/doc/doc-txt/ChangeLog";
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gobgpd";
|
||||
version = "3.17.0";
|
||||
version = "3.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "osrg";
|
||||
repo = "gobgp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LpQMRn0mINhixbS8GpYAqr0pjwbnQdUOs2BH3rkQ3hU=";
|
||||
hash = "sha256-OAePH8q8YQJGundd0VwtLEl3UkRyuZYAx5rcN4DNft4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Z7vYpDQIKc4elVBLiGtxF3D9pec4QNvWFLpux/29t1Y=";
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dolt";
|
||||
version = "1.8.8";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dolthub";
|
||||
repo = "dolt";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-wsSSUd3i3PXEQfvpstcNXM9PK4K/Uw/xcT5Iu0vRKqQ=";
|
||||
sha256 = "sha256-dLIT0EPtz1a1v48axT1xRcgKGJwXFjNnzu5eUzF4QXw=";
|
||||
};
|
||||
|
||||
modRoot = "./go";
|
||||
subPackages = [ "cmd/dolt" ];
|
||||
vendorHash = "sha256-bLqoitXf4O2WFkArkvm3IeeKU8XQpSIicWwDD4aOWrg=";
|
||||
vendorHash = "sha256-s9ACHwgdElFqmgnryVsKfVFqoy153prtyJx03qNI/KU=";
|
||||
proxyVendor = true;
|
||||
doCheck = false;
|
||||
|
||||
|
@ -21,7 +21,7 @@ let
|
||||
safetensors
|
||||
uvicorn
|
||||
] ++ packages.unstructured.optional-dependencies.local-inference);
|
||||
version = "0.0.41";
|
||||
version = "0.0.42";
|
||||
unstructured_api_nltk_data = symlinkJoin {
|
||||
name = "unstructured_api_nltk_data";
|
||||
|
||||
@ -35,7 +35,7 @@ in stdenvNoCC.mkDerivation {
|
||||
owner = "Unstructured-IO";
|
||||
repo = "unstructured-api";
|
||||
rev = version;
|
||||
hash = "sha256-tkxULIycMB9Mg6K2C9H/r3vt6GOMeh53OO6Y+Jga0Rc=";
|
||||
hash = "sha256-Tn4o7gAIlvWUTbAmbTCF9LgMk0up16iWuNPTy6pxOuk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -1,25 +1,18 @@
|
||||
{ lib, stdenv, fetchurl, imake, libX11, libXtst, libXext, gccmakedep }:
|
||||
{ lib, stdenv, libX11, libXtst, libXext, fetchFromGitHub, autoreconfHook, pkg-config, libXi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "x2x";
|
||||
version = "1.27";
|
||||
version = "unstable-2023-04-30";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/downloads/dottedmag/x2x/x2x-${version}.tar.gz";
|
||||
sha256 = "0dha0kn1lbc4as0wixsvk6bn4innv49z9a0sm5wlx4q1v0vzqzyj";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dottedmag";
|
||||
repo = pname;
|
||||
rev = "53692798fa0e991e0dd67cdf8e8126158d543d08";
|
||||
hash = "sha256-FUl2z/Yz9uZlUu79LHdsXZ6hAwSlqwFV35N+GYDNvlQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ imake gccmakedep ];
|
||||
buildInputs = [ libX11 libXtst libXext ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildFlags = [ "x2x" ];
|
||||
|
||||
installPhase = ''
|
||||
install -D x2x $out/bin/x2x
|
||||
install -D x2x.1 $out/man/man1/x2x.1
|
||||
'';
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libX11 libXtst libXext libXi ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows the keyboard, mouse on one X display to be used to control another X display";
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "scaleway-cli";
|
||||
version = "2.19.0";
|
||||
version = "2.20.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scaleway";
|
||||
repo = "scaleway-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-DJTgmUH/n1TBKrgBN+8oG2ziRlAXzj6gOtjv4QjNkC8=";
|
||||
sha256 = "sha256-zKqYbvSawu+xtDCxe31ERrjCMo4WLimbwAQX9mWvI7k=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-RnTj59WsyY/cWkhe2bucMvzrI8EwC3I1kxccBCfFqtI=";
|
||||
vendorHash = "sha256-UR7ZohQeLWux9AAvOUgtPA4F/qZXlx1vNjYrwal+Sac=";
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
|
@ -13,13 +13,13 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ibus-typing-booster";
|
||||
version = "2.23.4";
|
||||
version = "2.24.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mike-fabian";
|
||||
repo = "ibus-typing-booster";
|
||||
rev = version;
|
||||
hash = "sha256-QVOcIpqdMTGQgqhBBbkA1UKyVKNGqkWzOVCVSLC5ecA=";
|
||||
hash = "sha256-C9RUkA/gb3jhRGfYXX6rzCnYenSkAVdNvR1+O0u9Av8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook gobject-introspection ];
|
||||
|
@ -25,6 +25,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
flask
|
||||
psutil
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -41,6 +41,7 @@ tcl.mkTclDerivation rec {
|
||||
homepage = "https://expect.sourceforge.net/";
|
||||
license = licenses.publicDomain;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "expect";
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
@ -90,6 +90,7 @@ stdenv.mkDerivation rec {
|
||||
description = "An integrated DNS, DHCP and TFTP server for small networks";
|
||||
homepage = "https://www.thekelleys.org.uk/dnsmasq/doc.html";
|
||||
license = licenses.gpl2;
|
||||
mainProgram = "dnsmasq";
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
maintainers = with maintainers; [ eelco fpletz globin ];
|
||||
};
|
||||
|
@ -4,6 +4,7 @@
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, nix-update-script
|
||||
, runtimeShell
|
||||
}:
|
||||
let
|
||||
python = python3.override {
|
||||
@ -30,13 +31,13 @@ in
|
||||
with python.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.8.2";
|
||||
version = "2.9.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-uUjQC/YgaCsKxMgNIoyzBaKwFQ5JfuaTHaMOPMMFv9w=";
|
||||
hash = "sha256-/IAU3S/7cnF5qOwCQ8+sntOp3EU0i+HX+X0fKQrWD8s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -83,6 +84,8 @@ buildPythonApplication rec {
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TMPDIR
|
||||
substituteInPlace tests/cli/test_run.py \
|
||||
--replace "/bin/bash" "${runtimeShell}"
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exploitdb";
|
||||
version = "2023-09-07";
|
||||
version = "2023-09-08";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "exploit-database";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-8NQkGArCTd/fGhqK8xMAxmUYnYLZ6tSRkkAL3KeN6NE=";
|
||||
hash = "sha256-5KH6B205WBJLyIAifWB7uA/LPy6dJC/xaryD6XsZCyc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A command line tool for manipulating and querying XML data";
|
||||
homepage = "https://xmlstar.sourceforge.net/";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "xmlstarlet";
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -9663,6 +9663,8 @@ with pkgs;
|
||||
};
|
||||
};
|
||||
|
||||
jupyter-console = callPackage ../applications/editors/jupyter/console.nix { };
|
||||
|
||||
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
|
||||
|
||||
justify = callPackage ../tools/text/justify { };
|
||||
|
@ -290,6 +290,7 @@ mapAliases ({
|
||||
Pyro4 = pyro4; # added 2023-02-19
|
||||
Pyro5 = pyro5; # added 2023-02-19
|
||||
PyRSS2Gen = pyrss2gen; # added 2023-02-19
|
||||
pyruckus = throw "pyruckus has been removed, it was deprecrated in favor of aioruckus."; # added 2023-09-07
|
||||
pysha3 = throw "pysha3 has been removed, use safe-pysha3 instead"; # added 2023-05-20
|
||||
pysmart-smartx = pysmart; # added 2021-10-22
|
||||
pysparse = throw "pysparse has been abandoned upstream."; # added 2023-02-28
|
||||
|
@ -172,6 +172,8 @@ self: super: with self; {
|
||||
|
||||
aiocoap = callPackage ../development/python-modules/aiocoap { };
|
||||
|
||||
aiocomelit = callPackage ../development/python-modules/aiocomelit { };
|
||||
|
||||
aioconsole = callPackage ../development/python-modules/aioconsole { };
|
||||
|
||||
aiocontextvars = callPackage ../development/python-modules/aiocontextvars { };
|
||||
@ -344,6 +346,8 @@ self: super: with self; {
|
||||
|
||||
aiortm = callPackage ../development/python-modules/aiortm { };
|
||||
|
||||
aioruckus = callPackage ../development/python-modules/aioruckus { };
|
||||
|
||||
aiorun = callPackage ../development/python-modules/aiorun { };
|
||||
|
||||
aioruuvigateway = callPackage ../development/python-modules/aioruuvigateway { };
|
||||
@ -394,8 +398,12 @@ self: super: with self; {
|
||||
|
||||
aiovlc = callPackage ../development/python-modules/aiovlc { };
|
||||
|
||||
aiovodafone = callPackage ../development/python-modules/aiovodafone { };
|
||||
|
||||
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
|
||||
|
||||
aiowaqi = callPackage ../development/python-modules/aiowaqi { };
|
||||
|
||||
aioweenect = callPackage ../development/python-modules/aioweenect { };
|
||||
|
||||
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
|
||||
@ -9839,8 +9847,6 @@ self: super: with self; {
|
||||
|
||||
pyrtlsdr = callPackage ../development/python-modules/pyrtlsdr { };
|
||||
|
||||
pyruckus = callPackage ../development/python-modules/pyruckus { };
|
||||
|
||||
pysaj = callPackage ../development/python-modules/pysaj { };
|
||||
|
||||
pysam = callPackage ../development/python-modules/pysam { };
|
||||
@ -10782,6 +10788,8 @@ self: super: with self; {
|
||||
|
||||
pywayland = callPackage ../development/python-modules/pywayland { };
|
||||
|
||||
pywaze = callPackage ../development/python-modules/pywaze { };
|
||||
|
||||
pywbem = callPackage ../development/python-modules/pywbem {
|
||||
inherit (pkgs) libxml2;
|
||||
};
|
||||
@ -13384,6 +13392,8 @@ self: super: with self; {
|
||||
|
||||
universal-pathlib = callPackage ../development/python-modules/universal-pathlib { };
|
||||
|
||||
universal-silabs-flasher = callPackage ../development/python-modules/universal-silabs-flasher { };
|
||||
|
||||
unpaddedbase64 = callPackage ../development/python-modules/unpaddedbase64 { };
|
||||
|
||||
unrardll = callPackage ../development/python-modules/unrardll { };
|
||||
|
Loading…
Reference in New Issue
Block a user