mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge staging-next into staging
This commit is contained in:
commit
bd7afc88f7
@ -11658,6 +11658,12 @@
|
||||
githubId = 220262;
|
||||
name = "Ion Mudreac";
|
||||
};
|
||||
multisn8 = {
|
||||
email = "all-things-nix@multisamplednight.com";
|
||||
github = "MultisampledNight";
|
||||
githubId = 80128916;
|
||||
name = "MultisampledNight";
|
||||
};
|
||||
multun = {
|
||||
email = "victor.collod@epita.fr";
|
||||
github = "multun";
|
||||
|
@ -21,7 +21,7 @@ let
|
||||
if isAttrs val
|
||||
then
|
||||
if hasAttr "test" val then callTest val
|
||||
else mapAttrs (n: s: discoverTests s) val
|
||||
else mapAttrs (n: s: if n == "passthru" then s else discoverTests s) val
|
||||
else if isFunction val
|
||||
then
|
||||
# Tests based on make-test-python.nix will return the second lambda
|
||||
|
@ -42,7 +42,9 @@ let
|
||||
};
|
||||
|
||||
in mapAttrs (_: lP: testsForLinuxPackages lP) kernels // {
|
||||
inherit testsForLinuxPackages;
|
||||
passthru = {
|
||||
inherit testsForLinuxPackages;
|
||||
|
||||
testsForKernel = kernel: testsForLinuxPackages (pkgs.linuxPackagesFor kernel);
|
||||
testsForKernel = kernel: testsForLinuxPackages (pkgs.linuxPackagesFor kernel);
|
||||
};
|
||||
}
|
||||
|
@ -53,6 +53,16 @@ self: let
|
||||
super = removeAttrs imported [ "dash" ];
|
||||
|
||||
overrides = {
|
||||
eglot = super.eglot.overrideAttrs (old: {
|
||||
postInstall = (old.postInstall or "") + ''
|
||||
local info_file=eglot.info
|
||||
pushd $out/share/emacs/site-lisp/elpa/eglot-*
|
||||
# specify output info file to override the one defined in eglot.texi
|
||||
makeinfo --output=$info_file eglot.texi
|
||||
install-info $info_file dir
|
||||
popd
|
||||
'';
|
||||
});
|
||||
};
|
||||
|
||||
elpaDevelPackages = super // overrides;
|
||||
|
@ -106,6 +106,17 @@ self: let
|
||||
};
|
||||
});
|
||||
|
||||
eglot = super.eglot.overrideAttrs (old: {
|
||||
postInstall = (old.postInstall or "") + ''
|
||||
local info_file=eglot.info
|
||||
pushd $out/share/emacs/site-lisp/elpa/eglot-*
|
||||
# specify output info file to override the one defined in eglot.texi
|
||||
makeinfo --output=$info_file eglot.texi
|
||||
install-info $info_file dir
|
||||
popd
|
||||
'';
|
||||
});
|
||||
|
||||
jinx = super.jinx.overrideAttrs (old: let
|
||||
libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
|
||||
in {
|
||||
|
@ -115,6 +115,6 @@ rustPlatform.buildRustPackage.override { stdenv = clangStdenv; } rec {
|
||||
homepage = "https://github.com/neovide/neovide";
|
||||
changelog = "https://github.com/neovide/neovide/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ ck3d ];
|
||||
maintainers = with maintainers; [ ck3d multisn8 ];
|
||||
};
|
||||
}
|
||||
|
@ -18,11 +18,11 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "kphotoalbum";
|
||||
version = "5.10.0";
|
||||
version = "5.11.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
|
||||
hash = "sha256-rdEXgg5hwu52XJit07AbrSw7kLDNK+IpbIwKCV/Lhp8=";
|
||||
hash = "sha256-NWtOIHJXtc8PlltYbbp2YwDf/3QI3MdHNDX7WVQMig4=";
|
||||
};
|
||||
|
||||
# not sure if we really need phonon when we have vlc, but on KDE it's bound to
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
mkDerivation, fetchurl, lib,
|
||||
mkDerivation, fetchurl, fetchpatch, lib,
|
||||
extra-cmake-modules, kdoctools, wrapGAppsHook,
|
||||
kconfig, kinit, kjsembed, taglib, exiv2, podofo,
|
||||
kcrash
|
||||
@ -17,6 +17,14 @@ in mkDerivation rec {
|
||||
sha256 = "sha256-sjxgp93Z9ttN1/VaxV/MqKVY+miq+PpcuJ4er2kvI+0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-build-with-exiv2-0.28.patch";
|
||||
url = "https://invent.kde.org/utilities/krename/-/commit/e7dd767a9a1068ee1fe1502c4d619b57d3b12add.patch";
|
||||
hash = "sha256-JpLVbegRHJbXi/Z99nZt9kgNTetBi+L9GfKv5s3LAZw=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ taglib exiv2 podofo ];
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
|
||||
|
@ -22,13 +22,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mepo";
|
||||
version = "1.1";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~mil";
|
||||
repo = "mepo";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-OIZ617QLjiTiDwcsn0DnRussYtjDkVyifr2mdSqA98A=";
|
||||
hash = "sha256-rKIyhr0sxG1moFsapylJWoAoHi9FSRdugIHr/TqY71s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -5,14 +5,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "urlscan";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "firecat53";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-IvCdc4f784hBM+TEa0zIACz/1/FUnEpGxHUGiS85tt8=";
|
||||
hash = "sha256-OzcoOIgEiadWrsUPIxBJTuZQYjScJBYKyqCu1or6fz8=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
@ -1,35 +1,43 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, qt4, qmake4Hook, openssl
|
||||
, xorgproto, libX11, libXScrnSaver
|
||||
, xz, zlib
|
||||
{ stdenv, lib, fetchFromGitHub
|
||||
, qtbase
|
||||
, qttools
|
||||
, qtx11extras
|
||||
, qtmultimedia
|
||||
, qtwebkit
|
||||
, wrapQtAppsHook
|
||||
, cmake
|
||||
, openssl
|
||||
, xorgproto, libX11, libXScrnSaver
|
||||
, xz, zlib
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "vacuum-im";
|
||||
version = "1.3.0.20160104";
|
||||
version = "unstable-2021-12-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Vacuum-IM";
|
||||
repo = "vacuum-im";
|
||||
rev = "1.3.0.20160104-Alpha";
|
||||
sha256 = "1jcw9c7s75y4c3m4skfc3cc0i519z39b23n997vj5mwcjplxyc76";
|
||||
rev = "0abd5e11dd3e2538b8c47f5a06febedf73ae99ee";
|
||||
sha256 = "0l9pln07zz874m1r6wnpc9vcdbpgvjdsy49cjjilc6s4p4b2c812";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
qt4 openssl xorgproto libX11 libXScrnSaver xz zlib
|
||||
nativeBuildInputs = [
|
||||
wrapQtAppsHook
|
||||
cmake
|
||||
];
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qttools
|
||||
qtx11extras
|
||||
qtmultimedia
|
||||
qtwebkit
|
||||
openssl
|
||||
xorgproto
|
||||
libX11
|
||||
libXScrnSaver
|
||||
xz
|
||||
zlib
|
||||
];
|
||||
|
||||
# hack: needed to fix build issues in
|
||||
# https://hydra.nixos.org/build/38322959/nixlog/1
|
||||
# should be an upstream issue but it's easy to fix
|
||||
NIX_LDFLAGS = "-lz";
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags INSTALL_PREFIX=$out"
|
||||
'';
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An XMPP client fully composed of plugins";
|
||||
|
@ -15,16 +15,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sniffnet";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gyulyvgc";
|
||||
repo = "sniffnet";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IJfXQ/d1amm6rCdArWoHXFhN9s//7hYoWMt66mv4Bbw=";
|
||||
hash = "sha256-wIyPb1RxvjkGu3Gs69HyL1WuLZUIFWB8URJjkz3oar0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-FMpTHm8eEXnVfMMY1iUkJPnRRK10u9l8tCaemM6L1gE=";
|
||||
cargoHash = "sha256-iB8KL0ad+rI4HuZLgb7KqfrUBTQuKRWjqaa6BnHU5eg=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
@ -3,14 +3,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "homebank";
|
||||
version = "5.6.5";
|
||||
version = "5.6.6";
|
||||
src = fetchurl {
|
||||
url = "http://homebank.free.fr/public/sources/homebank-${version}.tar.gz";
|
||||
hash = "sha256-tUlN/Ph9eoVyaWoq+ioESWunnjhXzT47GKwDvRttLKg=";
|
||||
hash = "sha256-ZW/N8YUU8r7SYY/+hqVYrqYW/KQqtuChfQJxXftl3A4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ];
|
||||
buildInputs = [ gtk libofx libsoup gnome.adwaita-icon-theme ];
|
||||
buildInputs = [ gtk libofx libsoup gnome.adwaita-icon-theme];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free, easy, personal accounting for everyone";
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "treesheets";
|
||||
version = "unstable-2023-08-01";
|
||||
version = "unstable-2023-08-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aardappel";
|
||||
repo = "treesheets";
|
||||
rev = "4548a14939e4862d1bb61552f5c2f16e7ccef865";
|
||||
sha256 = "BxA0vJrWk3YW7yCK010q5OYub3amJA/uUrgg1/cTGNc=";
|
||||
rev = "e7ebdbc21e69c0cda99ab1c8bdf873495b6ab9a0";
|
||||
sha256 = "P/ln7JghEP8MdTzPMmPH+0k+aRuOL/m6VkjYrtynUPE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -38,7 +38,7 @@ mkDerivation rec {
|
||||
homepage = "https://invent.kde.org/libraries/kirigami-addons";
|
||||
# https://invent.kde.org/libraries/kirigami-addons/-/blob/b197d98fdd079b6fc651949bd198363872d1be23/src/treeview/treeviewplugin.cpp#L1-5
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = with maintainers; [ samueldr ];
|
||||
maintainers = with maintainers; [ samueldr matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
|
||||
description = "A Qt5/Qt6 library to write cross-platform clients for Matrix";
|
||||
homepage = "https://matrix.org/docs/projects/sdk/quotient";
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ colemickens ];
|
||||
maintainers = with maintainers; [ colemickens matthiasbeyer ];
|
||||
};
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "speedtest-exporter";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nlamirault";
|
||||
repo = "speedtest_exporter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Lm73pZzdNZv7J+vKrtQXxm4HiAuB9lugKT/oanmD0HM=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Speedtest metrics";
|
||||
homepage = "https://github.com/nlamirault/speedtest_exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ urandom ];
|
||||
mainProgram = "speedtest_exporter";
|
||||
};
|
||||
}
|
@ -8,7 +8,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiocache";
|
||||
version = "0.12.1";
|
||||
version = "0.12.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
owner = "aio-libs";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/ruB8/5/oWGlTldOXkgdsPU+mQlXOL1qRcikElEHYNQ=";
|
||||
hash = "sha256-yvXDNJL8uxReaU81klVWudJwh1hmvg5GeeILcNpm/YA=";
|
||||
};
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
@ -8,7 +8,6 @@
|
||||
, certifi
|
||||
, cryptography
|
||||
, fetchFromGitLab
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, pyotp
|
||||
, pythonOlder
|
||||
@ -20,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "alexapy";
|
||||
version = "1.26.8";
|
||||
version = "1.26.9";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -29,18 +28,9 @@ buildPythonPackage rec {
|
||||
owner = "keatontaylor";
|
||||
repo = "alexapy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AjtSEqUbJ5e/TZIYMX+pwBSH35tEVrfCA6H/55yrZsk=";
|
||||
hash = "sha256-mDh4kYwRXpvVCh+nBmQblmlmgG98P6+UmgG4ZioQ68M=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Switch to poetry-core, https://gitlab.com/keatontaylor/alexapy/-/merge_requests/342
|
||||
(fetchpatch {
|
||||
name = "switch-poetry-core.patch";
|
||||
url = "https://gitlab.com/keatontaylor/alexapy/-/commit/843daec4ba1fb219f1c4f4a6ca01c9af73014e53.patch";
|
||||
hash = "sha256-wlCq0/NJx4Adh/o61FSMWMQU99PZkJ0U2yqxqOfvAa8=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aiofiles"
|
||||
];
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
let
|
||||
pname = "ansible";
|
||||
version = "8.1.0";
|
||||
version = "8.2.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@ -30,7 +30,7 @@ buildPythonPackage {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kfILW/z18phTPBdKk4geALyea0FBFGT0TAVKONcWpWo=";
|
||||
hash = "sha256-k1ppIf+wNKoY5lB7SeQBZ2zRUkPW+qXgXiIQCL9yXJc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
42
pkgs/development/python-modules/celery-types/default.nix
Normal file
42
pkgs/development/python-modules/celery-types/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, typing-extensions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery-types";
|
||||
version = "0.19.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-1OLUJxsuxG/sCKDxKiU4i7o5HyaJdIW8rPo8UofMI28=";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "poetry.masonry.api" "poetry.core.masonry.api"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "PEP-484 stubs for Celery";
|
||||
homepage = "https://github.com/sbdchd/celery-types";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ elohmeier ];
|
||||
};
|
||||
}
|
49
pkgs/development/python-modules/equinox/default.nix
Normal file
49
pkgs/development/python-modules/equinox/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, jax
|
||||
, jaxlib
|
||||
, jaxtyping
|
||||
, typing-extensions
|
||||
, beartype
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "equinox";
|
||||
version = "0.10.11";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "patrick-kidger";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-JffuPplIROPog29FBsWH9cQHSkrFKuXjaTjjEwIqW/0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jax
|
||||
jaxlib
|
||||
jaxtyping
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
beartype
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "equinox" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A JAX library based around a simple idea: represent parameterised functions (such as neural networks) as PyTrees";
|
||||
homepage = "https://github.com/patrick-kidger/equinox";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -1,22 +1,35 @@
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi, flask, markdown }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, flask
|
||||
, markdown
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Flask-API";
|
||||
version = "3.0.post1";
|
||||
version = "3.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1khw0f9ywn1mbdlcl0xspacqjz2pxq00m4g73bksbc1k0i88j61k";
|
||||
src = fetchFromGitHub {
|
||||
owner = "flask-api";
|
||||
repo = "flask-api";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-nHgeI5FLKkDp4uWO+0eaT4YSOMkeQ0wE3ffyJF+WzTM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask markdown ];
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
markdown
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/miracle2k/flask-assets";
|
||||
homepage = "https://github.com/flask-api/flask-api";
|
||||
changelog = "https://github.com/flask-api/flask-api/releases/tag/v${version}";
|
||||
description = "Browsable web APIs for Flask";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ];
|
||||
maintainers = with maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitignore-parser";
|
||||
version = "0.1.5";
|
||||
version = "0.1.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
owner = "mherrmann";
|
||||
repo = "gitignore_parser";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Z2x09XwFDMf6sUoKXJ240abp7zctbVCN4dsoQmWVSn8=";
|
||||
hash = "sha256-RAtXh57WU67fKQhhItdOm25BYfh3ucc0eyWUHGksnLg=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-pubsub";
|
||||
version = "2.18.1";
|
||||
version = "2.18.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-SivzwE+CeFBPk0sr26/pJ/plDXxTl8djOgsw4QpRJ/M=";
|
||||
hash = "sha256-W50UJJopwOW8a5jI18FmZEzBragwxA8AnyvLWIL1sQU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-translate";
|
||||
version = "3.11.3";
|
||||
version = "3.12.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-LnjfcMGAMfF4ceLZdeeZjj3vyiL4JsjBsLiMlvXKVps=";
|
||||
hash = "sha256-l0I8HDv2FBAvHUJ4F1oDxSPltKzWSLAKNAfQIwKqzNk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, h5py
|
||||
@ -8,7 +9,6 @@
|
||||
, scipy
|
||||
, pandas
|
||||
, pytestCheckHook
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -24,33 +24,43 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tox.ini --replace "--cov=./hickle" ""
|
||||
substituteInPlace tox.ini \
|
||||
--replace "--cov=./hickle" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ h5py numpy dill ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
scipy
|
||||
pandas
|
||||
astropy
|
||||
propagatedBuildInputs = [
|
||||
dill
|
||||
h5py
|
||||
numpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "hickle" ];
|
||||
nativeCheckInputs = [
|
||||
astropy
|
||||
pandas
|
||||
pytestCheckHook
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"hickle"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# broken in 5.0.2 with recent NumPy
|
||||
# see https://github.com/telegraphic/hickle/issues/174
|
||||
"test_scalar_compression"
|
||||
# broken in 5.0.2 with python 3.11
|
||||
# broken in 5.0.2 with Python 3.11
|
||||
# see https://github.com/telegraphic/hickle/issues/169
|
||||
"test_H5NodeFilterProxy"
|
||||
# broken in 5.0.2
|
||||
"test_slash_dict_keys"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Serialize Python data to HDF5";
|
||||
homepage = "https://github.com/telegraphic/hickle";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
changelog = "https://github.com/telegraphic/hickle/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
||||
|
64
pkgs/development/python-modules/jaxtyping/default.nix
Normal file
64
pkgs/development/python-modules/jaxtyping/default.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, numpy
|
||||
, typeguard
|
||||
, typing-extensions
|
||||
, cloudpickle
|
||||
, equinox
|
||||
, jax
|
||||
, jaxlib
|
||||
, torch
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
let
|
||||
jaxtyping = buildPythonPackage rec {
|
||||
pname = "jaxtyping";
|
||||
version = "0.2.20";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-q/KQGV7I7w5p7VP8C9BDUHfPsuCMf2v304qiH+XCzyU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
typeguard
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
cloudpickle
|
||||
equinox
|
||||
jax
|
||||
jaxlib
|
||||
pytestCheckHook
|
||||
torch
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# Enable tests via passthru to avoid cyclic dependency with equinox.
|
||||
passthru.tests = {
|
||||
check = jaxtyping.overridePythonAttrs { doCheck = true; };
|
||||
};
|
||||
|
||||
pythonImportsCheck = [ "jaxtyping" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Type annotations and runtime checking for JAX arrays and PyTrees";
|
||||
homepage = "https://github.com/google/jaxtyping";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
};
|
||||
};
|
||||
in jaxtyping
|
@ -1,26 +1,26 @@
|
||||
{ lib
|
||||
, addict
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, torch
|
||||
, opencv4
|
||||
, yapf
|
||||
, coverage
|
||||
, mlflow
|
||||
, fetchFromGitHub
|
||||
, lmdb
|
||||
, matplotlib
|
||||
, mlflow
|
||||
, numpy
|
||||
, opencv4
|
||||
, parameterized
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, rich
|
||||
, termcolor
|
||||
, addict
|
||||
, parameterized
|
||||
, torch
|
||||
, yapf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mmengine";
|
||||
version = "0.7.4";
|
||||
version = "0.8.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -29,35 +29,27 @@ buildPythonPackage rec {
|
||||
owner = "open-mmlab";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-eridbYHagwAyXX3/JggfvC0vuy6nBAIISRy1ARrQ7Kk=";
|
||||
hash = "sha256-kJhcw6Hpzx3s5WHeLTF8pydbAKXwfVgvxo7SsSN5gls=";
|
||||
};
|
||||
|
||||
# tests are disabled due to sandbox env.
|
||||
disabledTests = [
|
||||
"test_fileclient"
|
||||
"test_http_backend"
|
||||
"test_misc"
|
||||
propagatedBuildInputs = [
|
||||
addict
|
||||
matplotlib
|
||||
numpy
|
||||
opencv4
|
||||
pyyaml
|
||||
rich
|
||||
termcolor
|
||||
yapf
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pytestCheckHook ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
coverage
|
||||
lmdb
|
||||
mlflow
|
||||
torch
|
||||
parameterized
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
addict
|
||||
matplotlib
|
||||
numpy
|
||||
pyyaml
|
||||
rich
|
||||
termcolor
|
||||
yapf
|
||||
opencv4
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
@ -68,8 +60,27 @@ buildPythonPackage rec {
|
||||
"mmengine"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# AttributeError
|
||||
"tests/test_fileio/test_backends/test_petrel_backend.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests are disabled due to sandbox
|
||||
"test_fileclient"
|
||||
"test_http_backend"
|
||||
"test_misc"
|
||||
# RuntimeError
|
||||
"test_dump"
|
||||
"test_deepcopy"
|
||||
"test_copy"
|
||||
"test_lazy_import"
|
||||
# AssertionError
|
||||
"test_lazy_module"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "a foundational library for training deep learning models based on PyTorch";
|
||||
description = "Library for training deep learning models based on PyTorch";
|
||||
homepage = "https://github.com/open-mmlab/mmengine";
|
||||
changelog = "https://github.com/open-mmlab/mmengine/releases/tag/v${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
|
@ -1,9 +1,11 @@
|
||||
{ lib
|
||||
{ stdenv
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cargo
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, libiconv
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
@ -40,6 +42,10 @@ buildPythonPackage rec {
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typing-extensions
|
||||
];
|
||||
|
@ -18,13 +18,13 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.8";
|
||||
version = "2.0.9";
|
||||
pname = "pyglet";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-xc+aEywcAaZ/VL959aTNi0Rm1Cb1aFIDMHij9nzYg8Y=";
|
||||
hash = "sha256-oJIuQvLSWFBWeOL0o1XFR2waY1LD86N3VAQt23589y8=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-opensky";
|
||||
version = "0.0.10";
|
||||
version = "0.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "joostlek";
|
||||
repo = "python-opensky";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-QhcnbFp37gj1/37OlRxnQnIhgyNi/D19PXRh5hagHvE=";
|
||||
hash = "sha256-62ncinv6XUGB1dYle/yqSCyJNbGD9BLaOqrF/zjL2fA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -4,6 +4,7 @@
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, versioningit
|
||||
, wheel
|
||||
|
||||
# mandatory
|
||||
, broadbean
|
||||
@ -37,6 +38,7 @@
|
||||
, slack-sdk
|
||||
|
||||
# test
|
||||
, pip
|
||||
, pytestCheckHook
|
||||
, deepdiff
|
||||
, hypothesis
|
||||
@ -61,9 +63,15 @@ buildPythonPackage rec {
|
||||
sha256 = "sha256-zKn9LN7FBxKUfYSxUV1O6fB2s/B5bQpGDZTrK4DcxmU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'versioningit ~=' 'versioningit >='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
versioningit
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -110,6 +118,7 @@ buildPythonPackage rec {
|
||||
deepdiff
|
||||
hypothesis
|
||||
lxml
|
||||
pip
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytest-rerunfailures
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "shtab";
|
||||
version = "1.6.3";
|
||||
version = "1.6.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-9XXAVwno8rO5Uw7S5FWsyEUSqUE46QRehpAr5wIlYgc=";
|
||||
hash = "sha256-BMwi3a7CPq58G30XlkJdSfSP6oc6u2AuSPAwEExI9zM=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
@ -22,14 +22,14 @@ with py.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "checkov";
|
||||
version = "2.3.356";
|
||||
version = "2.3.359";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Bz+A0QUUZ3Pvcw9XnRqm1fD/AjToJLSK+L/B81Kay20=";
|
||||
hash = "sha256-9Ai8nsPy5BlyeVoEcZeMr+UlUp7kv7wxS9xn9wrvAJo=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -223,7 +223,7 @@ let
|
||||
+ toString (lib.attrNames (if lib.isAttrs args then args else args {}))
|
||||
) overridableKernel;
|
||||
};
|
||||
in [ (nixosTests.kernel-generic.testsForKernel overridableKernel) ] ++ kernelTests;
|
||||
in [ (nixosTests.kernel-generic.passthru.testsForKernel overridableKernel) ] ++ kernelTests;
|
||||
};
|
||||
|
||||
finalKernel = lib.extendDerivation true passthru kernel;
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.14.320";
|
||||
version = "4.14.321";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "09bn18jvazkc55bqdjbxy8fbca7vjhi9xl2h02w0sq3f1jf6g0pd";
|
||||
sha256 = "058p6ba24gx0q1fxyf5gnbnl49r82iaz97z01h7c4z2lgba2pqyh";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.19.289";
|
||||
version = "4.19.290";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "1cx33aa9v2071gixvp68pqpp4vxcx61dqg04rf6xns1qg48p93qi";
|
||||
sha256 = "1kqflbf78aamnbdc2v973qk9ymignl1cy6q0rpw865brgm5y59cz";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.10.188";
|
||||
version = "5.10.189";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "04k1mc23vqv3mr4m80rab1w7z1cwc0n1kcxzc5vfcfp26nmqnmf9";
|
||||
sha256 = "1jcqj0yh8k81a02y8wq1psy109w9s0r5j5zgm8gmf5ylw5m520sc";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.15.124";
|
||||
version = "5.15.125";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "1v927z1grqwcwj6769qm14828fzjzi58lsd86al2l0ddc016l0q0";
|
||||
sha256 = "1izyv1ibiy4dapwb8745dshfbb9b6xqyz77l6mhkmlkcnx33h3qm";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.4.251";
|
||||
version = "5.4.252";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "1jhqnazgiyz1vvrhnq5byl3h1mxrr3555fpiz4byycc1sqz9bd5w";
|
||||
sha256 = "0rw2b1rr3rb5498rv1zmj0ml3p67awrvd2ch66kp80wl4dsmhy1s";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "6.1.43";
|
||||
version = "6.1.44";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||
sha256 = "02588pl1z8jxgxpa03rsdyg5pr0r3v0aylzp8r5ykm32193lhli4";
|
||||
sha256 = "19d1fdvdp8lc5mvlcawd8hcpzjh7pdr5gq6fczhjl20xw4gx8l9f";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "6.4.8";
|
||||
version = "6.4.9";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = versions.pad 3 version;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v6.x/linux-${version}.tar.xz";
|
||||
sha256 = "1djqqhw542jphqsicpbn1259sgw9pwd08wwkdch31nw4kvhk97y5";
|
||||
sha256 = "17ycanx738bgxg5wn536kbad4zzvj5ngygp9qhvz76draaca5f5q";
|
||||
};
|
||||
} // (args.argsOverride or { }))
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "microcode-intel";
|
||||
version = "20230613";
|
||||
version = "20230808";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "Intel-Linux-Processor-Microcode-Data-Files";
|
||||
rev = "microcode-${version}";
|
||||
hash = "sha256-tP59wfZHCLwPb2FkHaa+0D4RW1Zmu9vKaIgbveP/nLI=";
|
||||
hash = "sha256-xyb4FUV7vG2YSuN4H6eBaf8c4At70NZiUuepbgg2HNg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ iucode-tool libarchive ];
|
||||
|
@ -1,22 +0,0 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule {
|
||||
pname = "speedtest_exporter";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nlamirault";
|
||||
repo = "speedtest_exporter";
|
||||
rev = "7364db62b98ab2736405c7cde960698ab5b688bf";
|
||||
sha256 = "WIMDv63sHyZVw3Ct5LFXCIufj7sU2H81n+hT/NiPMeQ=";
|
||||
};
|
||||
|
||||
vendorSha256 = "Lm73pZzdNZv7J+vKrtQXxm4HiAuB9lugKT/oanmD0HM=";
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/nlamirault/speedtest_exporter";
|
||||
description = "Prometheus exporter for Speedtest metrics";
|
||||
maintainers = with maintainers; [ jonaenz ];
|
||||
};
|
||||
}
|
42
pkgs/tools/misc/ego/default.nix
Normal file
42
pkgs/tools/misc/ego/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, makeBinaryWrapper
|
||||
, acl
|
||||
, xorg
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ego";
|
||||
version = "1.1.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intgr";
|
||||
repo = "ego";
|
||||
rev = version;
|
||||
hash = "sha256-613RM7Ldye0wHAH3VMhzhyT5WVTybph3gS/WNMrsgGI=";
|
||||
};
|
||||
|
||||
buildInputs = [ acl ];
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
cargoHash = "sha256-3leKejQ8kxamjwQPH1vg2I1CYc3r8k3pYfTWpOkqq8I=";
|
||||
|
||||
# requires access to /root
|
||||
checkFlags = [
|
||||
"--skip tests::test_check_user_homedir"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/ego --prefix PATH : ${lib.makeBinPath [ xorg.xhost ]}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Run Linux desktop applications under a different local user";
|
||||
homepage = "https://github.com/intgr/ego";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dit7ya ];
|
||||
mainProgram = "ego";
|
||||
};
|
||||
}
|
45
pkgs/tools/security/CertDump/default.nix
Normal file
45
pkgs/tools/security/CertDump/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, buildDotnetModule
|
||||
, fetchFromGitHub
|
||||
, dotnetCorePackages
|
||||
, callPackage
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "CertDump";
|
||||
|
||||
version = "unstable-2023-07-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "secana";
|
||||
repo = "CertDump";
|
||||
rev = "1300005115786b3c214d73fa506de2de06a62cbb";
|
||||
sha256 = "sha256-VqKOoW4fAXr0MtY5rgWvRqay1dazF+ZpzJUHkDeXpPs=";
|
||||
};
|
||||
|
||||
projectFile = [ "CertDump.sln" ];
|
||||
nugetDeps = ./deps.nix;
|
||||
|
||||
selfContainedBuild = true;
|
||||
executables = [ "CertDump" ];
|
||||
xBuildFiles = [ "CertDump/CertDump.csproj" ];
|
||||
|
||||
dotnet-runtime = dotnetCorePackages.aspnetcore_7_0;
|
||||
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
||||
|
||||
dotnetFlags = [
|
||||
"-property:ImportByWildcardBeforeSolution=false"
|
||||
"-property:GenerateAssemblyInfo=false"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Dump certificates from PE files in different formats";
|
||||
homepage = "https://github.com/secana/CertDump";
|
||||
longDescription = ''
|
||||
Cross-Platform tool to dump the signing certificate from a Portable Executable (PE) file.
|
||||
'';
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.baloo ];
|
||||
platforms = with platforms; (linux ++ darwin);
|
||||
};
|
||||
}
|
28
pkgs/tools/security/CertDump/deps.nix
generated
Normal file
28
pkgs/tools/security/CertDump/deps.nix
generated
Normal file
@ -0,0 +1,28 @@
|
||||
# This file was automatically generated by passthru.fetch-deps.
|
||||
# Please dont edit it manually, your changes might get overwritten!
|
||||
|
||||
{ fetchNuGet }: [
|
||||
(fetchNuGet { pname = "CommandLineParser"; version = "2.9.1"; sha256 = "1sldkj8lakggn4hnyabjj1fppqh50fkdrr1k99d4gswpbk5kv582"; })
|
||||
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref"; version = "5.0.0"; sha256 = "0d7sjr89zwq0wxirf8la05hfalv9nhvlczg1c7a508k8aw79jvfg"; })
|
||||
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "183xgqzlwd5lhacxdwcjl8vcq7r7xypv0hddps9k32mmmwf83d8h"; })
|
||||
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "066fwdlssbv556zd9w1x87x1j8j4kafj9rxyy0692bssdb4gcyc8"; })
|
||||
(fetchNuGet { pname = "Microsoft.AspNetCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1qvvqf8mmzzc7a7fhx324dprnbxhknr3qxspb2xhsn3yyg44xn2d"; })
|
||||
(fetchNuGet { pname = "Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "06hg5q1nbbqcz2s2pl8g941jmjzfl3x06hcpi8km4ikzvp25l5bd"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-arm64"; version = "5.0.17"; sha256 = "07v7vyqm556xr1ypkazfp6gh6drgf20zkwbhkpja8bwdcr6lphbb"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64"; version = "5.0.17"; sha256 = "1lc2jhr4ikffi5ylyf8f6ya6k0hdj0wp1l0017grrwd4m5ajj4vv"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Host.osx-x64"; version = "5.0.17"; sha256 = "02g5w41ivrw3n6cy3l3ixhcl8bw1fsv4bzs2m34k9h5fqmliaf3c"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Ref"; version = "5.0.0"; sha256 = "1p62khf9zk23lh91lvz7plv3g1nzmm3b5szqrcm6mb8w3sjk03wi"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-arm64"; version = "5.0.17"; sha256 = "16whaq82pj6fqa0vam3a0va9ly843aa1z12hza040vn6252kk9fq"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.linux-x64"; version = "5.0.17"; sha256 = "0jgcfs3jc98jfyaaamssznckbpnaygplk8pjsp6dswpansz5bnnq"; })
|
||||
(fetchNuGet { pname = "Microsoft.NETCore.App.Runtime.osx-x64"; version = "5.0.17"; sha256 = "1ph5kx18syinp8bpzw80bgq3njl65gwzws727xcmxnysgm7snmjp"; })
|
||||
(fetchNuGet { pname = "PeNet"; version = "3.0.0"; sha256 = "1qbb970b4f6ymic1l7cy3kdkgy0605wpm0nyqa50mkzdq03c192j"; })
|
||||
(fetchNuGet { pname = "PeNet.Asn1"; version = "2.0.1"; sha256 = "14nzz1w69bcxnc2yhfca4g5ahl53czfpbmbv32w0cf2mpssjk4na"; })
|
||||
(fetchNuGet { pname = "runtime.linux-arm64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "0hpbb13459izw1c5qw7lh1sy5fbnmg7n8977jci5far584zbf3im"; })
|
||||
(fetchNuGet { pname = "runtime.linux-x64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "0crf80nb3pw4wr83bvsx7f48i63f2l1b2zc18sny4xhqlvbcfick"; })
|
||||
(fetchNuGet { pname = "runtime.osx-x64.Microsoft.DotNet.ILCompiler"; version = "7.0.9"; sha256 = "1370mahfnshdy63vlxbyqpbhmv5rby5azfbnyc72xb7zglf9aqcb"; })
|
||||
(fetchNuGet { pname = "System.Buffers"; version = "4.5.1"; sha256 = "04kb1mdrlcixj9zh1xdi5as0k0qi8byr5mi3p3jcxx72qz93s2y3"; })
|
||||
(fetchNuGet { pname = "System.Formats.Asn1"; version = "7.0.0"; sha256 = "1a14kgpqz4k7jhi7bs2gpgf67ym5wpj99203zxgwjypj7x47xhbq"; })
|
||||
(fetchNuGet { pname = "System.Memory"; version = "4.5.5"; sha256 = "08jsfwimcarfzrhlyvjjid61j02irx6xsklf32rv57x2aaikvx0h"; })
|
||||
(fetchNuGet { pname = "System.Security.Cryptography.Cng"; version = "5.0.0"; sha256 = "06hkx2za8jifpslkh491dfwzm5dxrsyxzj5lsc0achb6yzg4zqlw"; })
|
||||
(fetchNuGet { pname = "System.Security.Cryptography.Pkcs"; version = "7.0.0"; sha256 = "0834gh4k84xbv73mk6s9djkksq3bd6m2k1ixincjnaawv0pyz7fw"; })
|
||||
]
|
53
pkgs/tools/security/bws/default.nix
Normal file
53
pkgs/tools/security/bws/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, oniguruma
|
||||
, openssl
|
||||
, stdenv
|
||||
, darwin
|
||||
, python3
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bws";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitwarden";
|
||||
repo = "sdk";
|
||||
rev = "bws-v${version}";
|
||||
hash = "sha256-o+tmO9E881futhA/fN6+EX2yEBKnKUmKk/KilIt5vYY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-nmsAfXNn1nqmqHzGD7jl2JNrif/nJycCJZWZYjv7G4c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
oniguruma
|
||||
openssl
|
||||
]
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
env = {
|
||||
PYO3_PYTHON = "${python3}/bin/python3";
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
buildAndTestSubdir = "crates/bws";
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/bitwarden/sdk/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Bitwarden Secrets Manager CLI";
|
||||
homepage = "https://github.com/bitwarden/sdk";
|
||||
license = lib.licenses.unfree; # BITWARDEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT
|
||||
mainProgram = "bws";
|
||||
maintainers = with lib.maintainers; [ dit7ya ];
|
||||
};
|
||||
}
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exploitdb";
|
||||
version = "2023-08-03";
|
||||
version = "2023-08-05";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "exploit-database";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-mS77s3wBVGRxGrPxjOCi5QN82N2N4pIPrxz5JczaIBc=";
|
||||
hash = "sha256-s0CYG3sRJniz6AHPvWvYjhRZoepGY//sQbvWAIZmf38=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -5,14 +5,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ospd-openvas";
|
||||
version = "22.5.1";
|
||||
version = "22.5.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = "ospd-openvas";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-7B/SLdOKxdFdW0ysuxgJm1xaTJuM0FPaloRn46rxY6A=";
|
||||
hash = "sha256-T/MKx8yjRZ+r0ypnWzASGIQPKOAvzznWvaP7gwP+24M=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@ -48,7 +48,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
meta = with lib; {
|
||||
description = "OSP server implementation to allow GVM to remotely control an OpenVAS Scanner";
|
||||
homepage = "https://github.com/greenbone/ospd-openvas";
|
||||
changelog = "https://github.com/greenbone/ospd-openvas/blob/${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/greenbone/ospd-openvas/releases/tag/v${version}";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, bison, flex}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.4.2";
|
||||
version = "2.4.3";
|
||||
pname = "sshguard";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/sshguard/${pname}-${version}.tar.gz";
|
||||
sha256 = "1s1prqdbxjrd1n3j4x8ggy9gl2j0ax6xhkzcvyzajw7awmvbfw17";
|
||||
sha256 = "sha256-ZAKd7/bekP3u+x9JfUFPDkBFB2aTqR2hpw63WV6X7+s=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "theharvester";
|
||||
version = "4.3.0";
|
||||
version = "4.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "laramies";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9W4xN+ZSNdR5NOnwohNrQVW8JSEKFyKxWTz012uiUm8=";
|
||||
hash = "sha256-jPwyciS4aIXJSCOolgzHbiadPzHO2MsQPGfavHqC2sg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
|
43
pkgs/tools/text/dt/default.nix
Normal file
43
pkgs/tools/text/dt/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, testers
|
||||
, zigHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dt";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "so-dang-cool";
|
||||
repo = "dt";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-C6sG8iqXs64x2AWCxKGFPyoXC1Fn4p2eSLWwJAQ8CSc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ zigHook ];
|
||||
|
||||
passthru.tests.version = testers.testVersion { package = finalAttrs.dt; };
|
||||
|
||||
meta = {
|
||||
homepage = "https://dt.plumbing";
|
||||
description = "Duct tape for your unix pipes.";
|
||||
longDescription = ''
|
||||
dt is a utility and programming language. The utility is intended for
|
||||
ergonomic in-the-shell execution. The language is straightforward (in
|
||||
the most literal sense) with a minimal syntax that allows for
|
||||
high-level, higher-order programming.
|
||||
|
||||
It's meant to supplement (not replace!) other tools like awk, sed,
|
||||
xargs, and shell built-ins. Something like the Perl one-liners popular
|
||||
yesteryear, but hopefully easier to read and reason through.
|
||||
|
||||
In short, dt is intended to be generally useful, with zero pretense of
|
||||
elegance.
|
||||
'';
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ booniepepper ];
|
||||
mainProgram = "dt";
|
||||
};
|
||||
})
|
@ -1416,6 +1416,7 @@ mapAliases ({
|
||||
prometheus-dmarc-exporter = dmarc-metrics-exporter; # added 2022-05-31
|
||||
prometheus-mesos-exporter = throw "prometheus-mesos-exporter is deprecated and archived by upstream"; # Added 2022-04-05
|
||||
prometheus-unifi-exporter = throw "prometheus-unifi-exporter is deprecated and archived by upstream, use unifi-poller instead"; # Added 2022-06-03
|
||||
prometheus-speedtest-exporter = throw "prometheus-speedtest-exporter was removed as unmaintained"; # Added 2023-07-31
|
||||
protobuf3_7 = throw "protobuf3_7 does not receive updates anymore and has been removed"; # Added 2022-10-03
|
||||
protobuf3_11 = throw "protobuf3_11 does not receive updates anymore and has been removed"; # Added 2022-09-28
|
||||
protobuf3_17 = throw "protobuf3_17 does not receive updates anymore and has been removed"; # Added 2023-05-21
|
||||
@ -1626,6 +1627,7 @@ mapAliases ({
|
||||
speech_tools = throw "'speech_tools' has been renamed to/replaced by 'speech-tools'"; # Converted to throw 2022-02-22
|
||||
speedometer = throw "speedometer has been removed: abandoned by upstream"; # Added 2022-04-24
|
||||
speedtest_cli = throw "'speedtest_cli' has been renamed to/replaced by 'speedtest-cli'"; # Converted to throw 2022-02-22
|
||||
speedtest-exporter = throw "'speedtest-exporter' has been removed as unmaintained"; # Added 2023-07-31
|
||||
sphinxbase = throw "sphinxbase has been removed: unmaintained"; # Added 2022-04-24
|
||||
spice-gtk_libsoup2 = throw "'spice-gtk_libsoup2' has been renamed to/replaced by 'spice-gtk'"; # Added 2023-02-21
|
||||
spice_gtk = throw "'spice_gtk' has been renamed to/replaced by 'spice-gtk'"; # Converted to throw 2022-02-22
|
||||
|
@ -595,6 +595,12 @@ with pkgs;
|
||||
|
||||
dsq = callPackage ../tools/misc/dsq { };
|
||||
|
||||
dt = callPackage ../tools/text/dt {
|
||||
zigHook = zigHook.override {
|
||||
zig = buildPackages.zig_0_11;
|
||||
};
|
||||
};
|
||||
|
||||
dtv-scan-tables = callPackage ../data/misc/dtv-scan-tables { };
|
||||
|
||||
dufs = callPackage ../servers/http/dufs {
|
||||
@ -4375,6 +4381,8 @@ with pkgs;
|
||||
|
||||
bwbasic = callPackage ../development/interpreters/bwbasic { };
|
||||
|
||||
bws = callPackage ../tools/security/bws { };
|
||||
|
||||
byobu = callPackage ../tools/misc/byobu {
|
||||
# Choices: [ tmux screen ];
|
||||
textual-window-manager = tmux;
|
||||
@ -5068,6 +5076,8 @@ with pkgs;
|
||||
|
||||
egglog = callPackage ../applications/science/logic/egglog { };
|
||||
|
||||
ego = callPackage ../tools/misc/ego { };
|
||||
|
||||
ekam = callPackage ../development/tools/build-managers/ekam { };
|
||||
|
||||
eksctl = callPackage ../tools/admin/eksctl { };
|
||||
@ -6938,6 +6948,8 @@ with pkgs;
|
||||
code-browser-gtk2 = callPackage ../applications/editors/code-browser { withGtk2 = true; };
|
||||
code-browser-gtk = callPackage ../applications/editors/code-browser { withGtk3 = true; };
|
||||
|
||||
CertDump = callPackage ../tools/security/CertDump { };
|
||||
|
||||
certstrap = callPackage ../tools/security/certstrap { };
|
||||
|
||||
cfssl = callPackage ../tools/security/cfssl { };
|
||||
@ -14070,7 +14082,7 @@ with pkgs;
|
||||
|
||||
v2ray-geoip = callPackage ../data/misc/v2ray-geoip { };
|
||||
|
||||
vacuum = callPackage ../applications/networking/instant-messengers/vacuum { };
|
||||
vacuum = libsForQt5.callPackage ../applications/networking/instant-messengers/vacuum {};
|
||||
|
||||
validator-nu = callPackage ../tools/text/validator-nu { };
|
||||
|
||||
@ -24913,8 +24925,6 @@ with pkgs;
|
||||
|
||||
speech-tools = callPackage ../development/libraries/speech-tools { };
|
||||
|
||||
speedtest-exporter = callPackage ../development/libraries/speedtest-exporter { };
|
||||
|
||||
speex = callPackage ../development/libraries/speex {
|
||||
fftw = fftwFloat;
|
||||
};
|
||||
@ -26967,7 +26977,6 @@ with pkgs;
|
||||
prometheus-smartctl-exporter = callPackage ../servers/monitoring/prometheus/smartctl-exporter { };
|
||||
prometheus-smokeping-prober = callPackage ../servers/monitoring/prometheus/smokeping-prober.nix { };
|
||||
prometheus-snmp-exporter = callPackage ../servers/monitoring/prometheus/snmp-exporter.nix { };
|
||||
prometheus-speedtest-exporter = callPackage ../servers/monitoring/prometheus/speedtest-exporter.nix { };
|
||||
prometheus-statsd-exporter = callPackage ../servers/monitoring/prometheus/statsd-exporter.nix { };
|
||||
prometheus-surfboard-exporter = callPackage ../servers/monitoring/prometheus/surfboard-exporter.nix { };
|
||||
prometheus-sql-exporter = callPackage ../servers/monitoring/prometheus/sql-exporter.nix { };
|
||||
@ -33424,7 +33433,7 @@ with pkgs;
|
||||
mepo = callPackage ../applications/misc/mepo {
|
||||
inherit (gnome) zenity;
|
||||
zigHook = zigHook.override {
|
||||
zig = buildPackages.zig_0_9;
|
||||
zig = buildPackages.zig_0_10;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1739,6 +1739,8 @@ self: super: with self; {
|
||||
|
||||
celery-singleton = callPackage ../development/python-modules/celery-singleton { };
|
||||
|
||||
celery-types = callPackage ../development/python-modules/celery-types { };
|
||||
|
||||
cement = callPackage ../development/python-modules/cement { };
|
||||
|
||||
cemm = callPackage ../development/python-modules/cemm { };
|
||||
@ -3405,6 +3407,8 @@ self: super: with self; {
|
||||
|
||||
epson-projector = callPackage ../development/python-modules/epson-projector { };
|
||||
|
||||
equinox = callPackage ../development/python-modules/equinox { };
|
||||
|
||||
eradicate = callPackage ../development/python-modules/eradicate { };
|
||||
|
||||
es-client = callPackage ../development/python-modules/es-client { };
|
||||
@ -5339,6 +5343,8 @@ self: super: with self; {
|
||||
|
||||
jaxopt = callPackage ../development/python-modules/jaxopt { };
|
||||
|
||||
jaxtyping = callPackage ../development/python-modules/jaxtyping { };
|
||||
|
||||
jaydebeapi = callPackage ../development/python-modules/jaydebeapi { };
|
||||
|
||||
jc = callPackage ../development/python-modules/jc { };
|
||||
|
Loading…
Reference in New Issue
Block a user