Merge master into staging-next
This commit is contained in:
commit
29aea2bf52
|
@ -132,6 +132,12 @@
|
||||||
github = "13r0ck";
|
github = "13r0ck";
|
||||||
githubId = 58987761;
|
githubId = 58987761;
|
||||||
};
|
};
|
||||||
|
_21eleven = {
|
||||||
|
name = "Noah Lidell";
|
||||||
|
email = "noahlidell@gmail.com";
|
||||||
|
github = "21eleven";
|
||||||
|
githubId = 8813855;
|
||||||
|
};
|
||||||
_2gn = {
|
_2gn = {
|
||||||
name = "Hiram Tanner";
|
name = "Hiram Tanner";
|
||||||
github = "2gn";
|
github = "2gn";
|
||||||
|
|
|
@ -4,7 +4,7 @@ use File::Path qw(make_path);
|
||||||
use File::Slurp;
|
use File::Slurp;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use JSON;
|
use JSON;
|
||||||
use DateTime;
|
use Time::Piece;
|
||||||
|
|
||||||
# Keep track of deleted uids and gids.
|
# Keep track of deleted uids and gids.
|
||||||
my $uidMapFile = "/var/lib/nixos/uid-map";
|
my $uidMapFile = "/var/lib/nixos/uid-map";
|
||||||
|
@ -26,17 +26,8 @@ sub updateFile {
|
||||||
# Converts an ISO date to number of days since 1970-01-01
|
# Converts an ISO date to number of days since 1970-01-01
|
||||||
sub dateToDays {
|
sub dateToDays {
|
||||||
my ($date) = @_;
|
my ($date) = @_;
|
||||||
my ($year, $month, $day) = split('-', $date, -3);
|
my $time = Time::Piece->strptime($date, "%Y-%m-%d");
|
||||||
my $dt = DateTime->new(
|
return $time->epoch / 60 / 60 / 24;
|
||||||
year => $year,
|
|
||||||
month => $month,
|
|
||||||
day => $day,
|
|
||||||
hour => 0,
|
|
||||||
minute => 0,
|
|
||||||
second => 0,
|
|
||||||
time_zone => 'UTC',
|
|
||||||
);
|
|
||||||
return $dt->epoch / 86400;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub nscdInvalidate {
|
sub nscdInvalidate {
|
||||||
|
|
|
@ -648,7 +648,7 @@ in {
|
||||||
install -m 0700 -d /root
|
install -m 0700 -d /root
|
||||||
install -m 0755 -d /home
|
install -m 0755 -d /home
|
||||||
|
|
||||||
${pkgs.perl.withPackages (p: [ p.FileSlurp p.JSON p.DateTime ])}/bin/perl \
|
${pkgs.perl.withPackages (p: [ p.FileSlurp p.JSON ])}/bin/perl \
|
||||||
-w ${./update-users-groups.pl} ${spec}
|
-w ${./update-users-groups.pl} ${spec}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
, qttools
|
, qttools
|
||||||
, qtlocation ? null # qt5 only
|
, qtlocation ? null # qt5 only
|
||||||
, qtpositioning ? null # qt6 only
|
, qtpositioning ? null # qt6 only
|
||||||
, qtpbfimageplugin
|
|
||||||
, qtserialport
|
, qtserialport
|
||||||
, qtsvg
|
, qtsvg
|
||||||
, qt5compat ? null # qt6 only
|
, qt5compat ? null # qt6 only
|
||||||
|
@ -16,21 +15,21 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
isQt6 = lib.versions.major qtbase.version == "6";
|
isQt6 = lib.versions.major qtbase.version == "6";
|
||||||
|
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "gpxsee";
|
pname = "gpxsee";
|
||||||
version = "13.4";
|
version = "13.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-Zf2eyDx5QK69W6HNz/IGGHkX2qCDnxYsU8KLCgU9teY=";
|
hash = "sha256-Y3JcWkg0K724i/5Leyi8r26uKpq/aDwghJBG8xfxpd4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtpbfimageplugin qtserialport ]
|
buildInputs = [
|
||||||
++ (if isQt6 then [
|
qtserialport
|
||||||
|
] ++ (if isQt6 then [
|
||||||
qtbase
|
qtbase
|
||||||
qtpositioning
|
qtpositioning
|
||||||
qtsvg
|
qtsvg
|
||||||
|
@ -39,7 +38,11 @@ stdenv.mkDerivation rec {
|
||||||
qtlocation
|
qtlocation
|
||||||
]);
|
]);
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools wrapQtAppsHook ];
|
nativeBuildInputs = [
|
||||||
|
qmake
|
||||||
|
qttools
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
lrelease gpxsee.pro
|
lrelease gpxsee.pro
|
||||||
|
@ -56,17 +59,17 @@ stdenv.mkDerivation rec {
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
|
broken = isQt6 && stdenv.isDarwin;
|
||||||
|
changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes";
|
||||||
description = "GPS log file viewer and analyzer";
|
description = "GPS log file viewer and analyzer";
|
||||||
|
homepage = "https://www.gpxsee.org/";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
GPXSee is a Qt-based GPS log file viewer and analyzer that supports
|
||||||
all common GPS log file formats.
|
all common GPS log file formats.
|
||||||
'';
|
'';
|
||||||
homepage = "https://www.gpxsee.org/";
|
maintainers = with lib.maintainers; [ womfoo sikmir ];
|
||||||
changelog = "https://build.opensuse.org/package/view_file/home:tumic:GPXSee/gpxsee/gpxsee.changes";
|
platforms = lib.platforms.unix;
|
||||||
license = licenses.gpl3Only;
|
|
||||||
maintainers = with maintainers; [ womfoo sikmir ];
|
|
||||||
platforms = platforms.unix;
|
|
||||||
broken = isQt6 && stdenv.isDarwin;
|
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "kubeshark";
|
pname = "kubeshark";
|
||||||
version = "41.6";
|
version = "50.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "kubeshark";
|
owner = "kubeshark";
|
||||||
repo = "kubeshark";
|
repo = "kubeshark";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-UFBht8H8iOHwMU8PM2FCb+oh7rTkN/XC3/W3EmuTp84=";
|
sha256 = "sha256-bABPfy790cMIfunKYfZwDbEn07fhq6g0m/yqeFgJg4Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-rcxnvKkc9zerfULRdU5eGRRqSDQQDNMYaLJ7oEMQghk=";
|
vendorHash = "sha256-rcxnvKkc9zerfULRdU5eGRRqSDQQDNMYaLJ7oEMQghk=";
|
||||||
|
|
|
@ -1,32 +1,54 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk, Cocoa }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, makeBinaryWrapper
|
||||||
|
, itk
|
||||||
|
, vtk
|
||||||
|
, Cocoa
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ANTs";
|
pname = "ANTs";
|
||||||
version = "2.4.4";
|
version = "2.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ANTsX";
|
owner = "ANTsX";
|
||||||
repo = "ANTs";
|
repo = "ANTs";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-GQndI8ayBvqujb2/qXT6RBAfr8hNPCI5IbwYkPlyNg0=";
|
hash = "sha256-rSibcsprhMC1qsuZN8ou32QPLf8n62BiDzpnTRWRx0Q=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ itk vtk ] ++ lib.optionals stdenv.isDarwin [ Cocoa ];
|
cmake
|
||||||
|
makeBinaryWrapper
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
buildInputs = [
|
||||||
|
itk
|
||||||
|
vtk
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Cocoa
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DANTS_SUPERBUILD=FALSE"
|
||||||
|
"-DUSE_VTK=TRUE"
|
||||||
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for file in $out/bin/*; do
|
for file in $out/bin/*; do
|
||||||
wrapProgram $file --set ANTSPATH "$out/bin"
|
wrapProgram $file --set PATH "$out/bin"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/ANTsX/ANTs";
|
changelog = "https://github.com/ANTsX/ANTs/releases/tag/v${finalAttrs.version}";
|
||||||
description = "Advanced normalization toolkit for medical image registration and other processing";
|
description = "Advanced normalization toolkit for medical image registration and other processing";
|
||||||
maintainers = with maintainers; [ bcdarwin ];
|
homepage = "https://github.com/ANTsX/ANTs";
|
||||||
platforms = platforms.unix;
|
license = lib.licenses.asl20;
|
||||||
license = licenses.bsd3;
|
mainProgram = "antsRegistration";
|
||||||
|
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
|
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "pari_2_11.patch";
|
name = "pari_2_11.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/giac/patches/pari_2_11.patch?id=21ba7540d385a9864b44850d6987893dfa16bfc0";
|
url = "https://raw.githubusercontent.com/sagemath/sage/21ba7540d385a9864b44850d6987893dfa16bfc0/build/pkgs/giac/patches/pari_2_11.patch";
|
||||||
sha256 = "sha256-vEo/5MNzMdYRPWgLFPsDcMT1W80Qzj4EPBjx/B8j68k=";
|
sha256 = "sha256-vEo/5MNzMdYRPWgLFPsDcMT1W80Qzj4EPBjx/B8j68k=";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
# means some outputs differ in the make check. Patch around this:
|
# means some outputs differ in the make check. Patch around this:
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "nofltk-check.patch";
|
name = "nofltk-check.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/giac/patches/nofltk-check.patch?id=7553a3c8dfa7bcec07241a07e6a4e7dcf5bb4f26";
|
url = "https://raw.githubusercontent.com/sagemath/sage/7553a3c8dfa7bcec07241a07e6a4e7dcf5bb4f26/build/pkgs/giac/patches/nofltk-check.patch";
|
||||||
sha256 = "sha256-nAl5q3ufLjK3X9s0qMlGNowdRRf3EaC24eVtJABzdXY=";
|
sha256 = "sha256-nAl5q3ufLjK3X9s0qMlGNowdRRf3EaC24eVtJABzdXY=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -63,20 +63,20 @@ stdenv.mkDerivation rec {
|
||||||
patches = [
|
patches = [
|
||||||
# fix path to info dir (see https://trac.sagemath.org/ticket/11348)
|
# fix path to info dir (see https://trac.sagemath.org/ticket/11348)
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/infodir.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/maxima/patches/infodir.patch";
|
||||||
sha256 = "09v64n60f7i6frzryrj0zd056lvdpms3ajky4f9p6kankhbiv21x";
|
sha256 = "09v64n60f7i6frzryrj0zd056lvdpms3ajky4f9p6kankhbiv21x";
|
||||||
})
|
})
|
||||||
|
|
||||||
# fix https://sourceforge.net/p/maxima/bugs/2596/
|
# fix https://sourceforge.net/p/maxima/bugs/2596/
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/matrixexp.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/maxima/patches/matrixexp.patch";
|
||||||
sha256 = "06961hn66rhjijfvyym21h39wk98sfxhp051da6gz0n9byhwc6zg";
|
sha256 = "06961hn66rhjijfvyym21h39wk98sfxhp051da6gz0n9byhwc6zg";
|
||||||
})
|
})
|
||||||
|
|
||||||
# undo https://sourceforge.net/p/maxima/code/ci/f5e9b0f7eb122c4e48ea9df144dd57221e5ea0ca
|
# undo https://sourceforge.net/p/maxima/code/ci/f5e9b0f7eb122c4e48ea9df144dd57221e5ea0ca
|
||||||
# see https://trac.sagemath.org/ticket/13364#comment:93
|
# see https://trac.sagemath.org/ticket/13364#comment:93
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/maxima/patches/undoing_true_false_printing_patch.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/maxima/patches/undoing_true_false_printing_patch.patch";
|
||||||
sha256 = "0fvi3rcjv6743sqsbgdzazy9jb6r1p1yq63zyj9fx42wd1hgf7yx";
|
sha256 = "0fvi3rcjv6743sqsbgdzazy9jb6r1p1yq63zyj9fx42wd1hgf7yx";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch?id=1615f58890e8f9881c4228c78a6b39b9aab1303a";
|
url = "https://raw.githubusercontent.com/sagemath/sage/1615f58890e8f9881c4228c78a6b39b9aab1303a/build/pkgs/ratpoints/patches/sturm_and_rp_private.patch";
|
||||||
sha256 = "0q3wajncyfr3gahd8gwk9x7g56zw54lpywrl63lqk7drkf60mrcl";
|
sha256 = "0q3wajncyfr3gahd8gwk9x7g56zw54lpywrl63lqk7drkf60mrcl";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
39
pkgs/data/fonts/azeret-mono/default.nix
Normal file
39
pkgs/data/fonts/azeret-mono/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation {
|
||||||
|
pname = "azeret-mono";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "displaay";
|
||||||
|
repo = "Azeret";
|
||||||
|
rev = "3d45a6c3e094f08bfc70551b525bd2037cac51ba";
|
||||||
|
hash = "sha256-WC5a2O+/hdX+lLz81obcmq64wYpX48ZxsYPEaZUbFaY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm644 fonts/ttf/*.ttf -t $out/share/fonts/truetype
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Azeret Mono";
|
||||||
|
longDescription = ''
|
||||||
|
The story of the typeface began with a draft that was driven by an exploration of OCR fonts, past and futuristic operating systems, various interfaces and the nineties. The final result is more based on a desire to achieve an appearance of the typeface that could serve in operating systems. Thus the overall character is a conjunction of everything described with details that evoke a specific personality.
|
||||||
|
|
||||||
|
Azeret is a sans-serif typeface with a mono-linear character. Don’t go looking for too much contrast in the strokes! The circular parts of the letters do not have a smooth connection to the stems. The x-height is higher than usual and thus the ascenders and descenders are short. Alternates are also available which open the possibility of creating different moods. A number of them hint at a nineties aesthetic.
|
||||||
|
|
||||||
|
The monospaced sub-family is available for free and is also on Google Fonts. If you would like to explore Azeret more you can do it on our micro-site which we developed with Martin Ehrlich.
|
||||||
|
|
||||||
|
Designer: Martin Vácha, Daniel Quisek
|
||||||
|
Production: Renegade Fonts (Jan Charvát, Zuzana Konečná)
|
||||||
|
'';
|
||||||
|
homepage = "https://displaay.net/typeface/azeret/azeret-mono/";
|
||||||
|
license = licenses.ofl;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ _21eleven ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Script that creates the "database" (nested python array) and pickles it
|
# Script that creates the "database" (nested python array) and pickles it
|
||||||
spkg-install = fetchurl {
|
spkg-install = fetchurl {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/conway_polynomials/spkg-install.py?id=9.2";
|
url = "https://raw.githubusercontent.com/sagemath/sage/9.2/build/pkgs/conway_polynomials/spkg-install.py";
|
||||||
sha256 = "1bwnqasnyv793hxg29viing4dnliz29grkhldsirq19d509yk1fs";
|
sha256 = "1bwnqasnyv793hxg29viing4dnliz29grkhldsirq19d509yk1fs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# Script that creates the sqlite database from the allcurves textfile
|
# Script that creates the sqlite database from the allcurves textfile
|
||||||
spkg-install = fetchurl {
|
spkg-install = fetchurl {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/${pname}/spkg-install.py?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/${pname}/spkg-install.py";
|
||||||
sha256 = "116g684i6mvs11fvb6fzfsr4fn903axn31vigdyb8bgpf8l4hvc5";
|
sha256 = "116g684i6mvs11fvb6fzfsr4fn903axn31vigdyb8bgpf8l4hvc5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
let unwrapped = mkXfceDerivation {
|
let unwrapped = mkXfceDerivation {
|
||||||
category = "xfce";
|
category = "xfce";
|
||||||
pname = "thunar";
|
pname = "thunar";
|
||||||
version = "4.18.6";
|
version = "4.18.7";
|
||||||
|
|
||||||
sha256 = "sha256-7SWpIBGm/YhnQSWYi5BgYjx8WCiEqxZRTagz/cY0p3E=";
|
sha256 = "sha256-pxIblhC40X0wdE6+uvmV5ypp4sOZtzn/evcS33PlNpU=";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
docbook_xsl
|
docbook_xsl
|
||||||
|
|
|
@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
|
||||||
# Rebased version of
|
# Rebased version of
|
||||||
# https://gitlab.com/embeddable-common-lisp/ecl/commit/ac5f011f57a85a38627af154bc3ee7580e7fecd4.patch
|
# https://gitlab.com/embeddable-common-lisp/ecl/commit/ac5f011f57a85a38627af154bc3ee7580e7fecd4.patch
|
||||||
name = "getcwd.patch";
|
name = "getcwd.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ecl/patches/16.1.2-getcwd.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/ecl/patches/16.1.2-getcwd.patch";
|
||||||
sha256 = "1fbi8gn7rv8nqff5mpaijsrch3k3z7qc5cn4h1vl8qrr8xwqlqhb";
|
sha256 = "1fbi8gn7rv8nqff5mpaijsrch3k3z7qc5cn4h1vl8qrr8xwqlqhb";
|
||||||
})
|
})
|
||||||
./ecl-1.16.2-libffi-3.3-abi.patch
|
./ecl-1.16.2-libffi-3.3-abi.patch
|
||||||
|
|
|
@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
|
||||||
patches = [
|
patches = [
|
||||||
# https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/1
|
# https://gitlab.com/embeddable-common-lisp/ecl/-/merge_requests/1
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ecl/patches/write_error.patch?h=9.2";
|
url = "https://raw.githubusercontent.com/sagemath/sage/9.2/build/pkgs/ecl/patches/write_error.patch";
|
||||||
sha256 = "0hfxacpgn4919hg0mn4wf4m8r7y592r4gw7aqfnva7sckxi6w089";
|
sha256 = "0hfxacpgn4919hg0mn4wf4m8r7y592r4gw7aqfnva7sckxi6w089";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -5,18 +5,24 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cel-go";
|
pname = "cel-go";
|
||||||
version = "0.17.1";
|
version = "0.18.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "cel-go";
|
repo = "cel-go";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-qk7jopOr/woWCi5j509K4bdlIybuZZ+UFTmTHEEw9/Y=";
|
hash = "sha256-+YGRcTlPKTdecMicW4UjupSnuuq5msfGKTP/bwOf7dw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${src.name}/repl";
|
modRoot = "repl";
|
||||||
|
|
||||||
vendorHash = "sha256-OypSL91/2FVCF3ADNSJH33JxH0+3HxIziwmXHb/vZM4=";
|
vendorHash = "sha256-RSCZOR++WBoGffCQp114Sa1Dbms2tBa0xceVQ3skwR4=";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# repl/go.mod and repl/go.sum are outdated
|
||||||
|
# ran `go mod tidy` in the repl directory
|
||||||
|
./go-mod-tidy.patch
|
||||||
|
];
|
||||||
|
|
||||||
subPackages = [
|
subPackages = [
|
||||||
"main"
|
"main"
|
||||||
|
|
52
pkgs/development/interpreters/cel-go/go-mod-tidy.patch
Normal file
52
pkgs/development/interpreters/cel-go/go-mod-tidy.patch
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
--- a/repl/go.mod
|
||||||
|
+++ b/repl/go.mod
|
||||||
|
@@ -6,16 +6,16 @@ require (
|
||||||
|
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
|
||||||
|
github.com/chzyer/readline v1.5.1
|
||||||
|
github.com/google/cel-go v0.14.0
|
||||||
|
- google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9
|
||||||
|
- google.golang.org/protobuf v1.30.0
|
||||||
|
+ google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5
|
||||||
|
+ google.golang.org/protobuf v1.31.0
|
||||||
|
)
|
||||||
|
|
||||||
|
require (
|
||||||
|
github.com/stoewer/go-strcase v1.3.0 // indirect
|
||||||
|
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
|
||||||
|
- golang.org/x/sys v0.7.0 // indirect
|
||||||
|
+ golang.org/x/sys v0.8.0 // indirect
|
||||||
|
golang.org/x/text v0.9.0 // indirect
|
||||||
|
- google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
|
||||||
|
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
|
||||||
|
)
|
||||||
|
|
||||||
|
replace github.com/google/cel-go => ../.
|
||||||
|
--- a/repl/go.sum
|
||||||
|
+++ b/repl/go.sum
|
||||||
|
@@ -26,18 +26,18 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
|
||||||
|
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
|
||||||
|
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
||||||
|
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
-golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
|
||||||
|
-golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
+golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
|
||||||
|
+golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
||||||
|
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
|
||||||
|
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
|
||||||
|
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
|
||||||
|
-google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 h1:m8v1xLLLzMe1m5P+gCTF8nJB9epwZQUBERm20Oy1poQ=
|
||||||
|
-google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig=
|
||||||
|
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 h1:0nDDozoAU19Qb2HwhXadU8OcsiO/09cnTqhUtq2MEOM=
|
||||||
|
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA=
|
||||||
|
+google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44=
|
||||||
|
+google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q=
|
||||||
|
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 h1:eSaPbMR4T7WfH9FvABk36NBMacoTUKdWCvV0dx+KfOg=
|
||||||
|
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I=
|
||||||
|
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
|
||||||
|
-google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
|
||||||
|
-google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||||
|
+google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
|
||||||
|
+google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
|
||||||
|
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||||
|
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||||
|
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.1.22";
|
version = "8.1.23";
|
||||||
hash = "sha256-mSNU44LGxhjQHtS+Br7qjewxeLFBU99k08jEi4Xp+8I=";
|
hash = "sha256-kppieFF32okt3/ygdLqy8f9XhHOg1K25FcEvXz407Bs=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
base = callPackage ./generic.nix (_args // {
|
base = callPackage ./generic.nix (_args // {
|
||||||
version = "8.2.9";
|
version = "8.2.10";
|
||||||
hash = "sha256-SEYLmUrn61CWoxD0TRPoZd4XcRBNSlUNUwcr5YpvF2w=";
|
hash = "sha256-zJg06PG2E9dneviEPDZR6YKavKjr/pB5JR0Nhdmgqj4=";
|
||||||
});
|
});
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
4
pkgs/development/interpreters/spidermonkey/115.nix
Normal file
4
pkgs/development/interpreters/spidermonkey/115.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import ./common.nix {
|
||||||
|
version = "115.2.0";
|
||||||
|
hash = "sha512-3ztO/ZYH6OtJMnF3YMhl6zGsepYkbLQ4UZDDMxbJWV4Hk6HzxF67lnSpuk/OmNg/cbBjvvCe8wfZLRzXjTDYEg==";
|
||||||
|
}
|
|
@ -157,10 +157,13 @@ stdenv.mkDerivation (finalAttrs: rec {
|
||||||
export AS=$CC
|
export AS=$CC
|
||||||
export AC_MACRODIR=$PWD/build/autoconf/
|
export AC_MACRODIR=$PWD/build/autoconf/
|
||||||
|
|
||||||
|
'' + lib.optionalString (lib.versionAtLeast version "91" && lib.versionOlder version "115") ''
|
||||||
pushd js/src
|
pushd js/src
|
||||||
sh ../../build/autoconf/autoconf.sh --localdir=$PWD configure.in > configure
|
sh ../../build/autoconf/autoconf.sh --localdir=$PWD configure.in > configure
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
popd
|
popd
|
||||||
|
'' + lib.optionalString (lib.versionAtLeast version "115") ''
|
||||||
|
patchShebangs build/cargo-linker
|
||||||
'' + ''
|
'' + ''
|
||||||
# We can't build in js/src/, so create a build dir
|
# We can't build in js/src/, so create a build dir
|
||||||
mkdir obj
|
mkdir obj
|
||||||
|
@ -184,6 +187,7 @@ stdenv.mkDerivation (finalAttrs: rec {
|
||||||
homepage = "https://spidermonkey.dev/";
|
homepage = "https://spidermonkey.dev/";
|
||||||
license = licenses.mpl20; # TODO: MPL/GPL/LGPL tri-license for 78.
|
license = licenses.mpl20; # TODO: MPL/GPL/LGPL tri-license for 78.
|
||||||
maintainers = with maintainers; [ abbradar lostnet catap ];
|
maintainers = with maintainers; [ abbradar lostnet catap ];
|
||||||
|
broken = stdenv.isDarwin && versionAtLeast version "115"; # Requires SDK 13.3 (see #242666).
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
|
||||||
# https://trac.sagemath.org/ticket/20710#comment:18
|
# https://trac.sagemath.org/ticket/20710#comment:18
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "error_recovery.patch";
|
name = "error_recovery.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/glpk/patches/error_recovery.patch?id=d3c1f607e32f964bf0cab877a63767c86fd00266";
|
url = "https://raw.githubusercontent.com/sagemath/sage/d3c1f607e32f964bf0cab877a63767c86fd00266/build/pkgs/glpk/patches/error_recovery.patch";
|
||||||
sha256 = "sha256-2hNtUEoGTFt3JgUvLH3tPWnz+DZcXNhjXzS+/V89toA=";
|
sha256 = "sha256-2hNtUEoGTFt3JgUvLH3tPWnz+DZcXNhjXzS+/V89toA=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patches = [(fetchpatch {
|
patches = [(fetchpatch {
|
||||||
name = "clang5-support.patch";
|
name = "clang5-support.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/ppl/patches/clang5-support.patch?h=9.2";
|
url = "https://raw.githubusercontent.com/sagemath/sage/9.2/build/pkgs/ppl/patches/clang5-support.patch";
|
||||||
sha256 = "1zj90hm25pkgvk4jlkfzh18ak9b98217gbidl3731fdccbw6hr87";
|
sha256 = "1zj90hm25pkgvk4jlkfzh18ak9b98217gbidl3731fdccbw6hr87";
|
||||||
})];
|
})];
|
||||||
|
|
||||||
|
|
|
@ -28,19 +28,19 @@ stdenv.mkDerivation rec {
|
||||||
# Fix makefiles which use all the variables in all the wrong ways and
|
# Fix makefiles which use all the variables in all the wrong ways and
|
||||||
# hardcode values for some variables.
|
# hardcode values for some variables.
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/rubiks/patches/dietz-cu2-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/rubiks/patches/dietz-cu2-Makefile.patch";
|
||||||
sha256 = "1ry3w1mk9q4jqd91zlaa1bdiiplld4hpfjaldbhlmzlgrrc99qmq";
|
sha256 = "1ry3w1mk9q4jqd91zlaa1bdiiplld4hpfjaldbhlmzlgrrc99qmq";
|
||||||
})
|
})
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/rubiks/patches/dietz-mcube-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/rubiks/patches/dietz-mcube-Makefile.patch";
|
||||||
sha256 = "0zsbh6k3kqdg82fv0kzghr1x7pafisv943gmssqscp107bhg77bz";
|
sha256 = "0zsbh6k3kqdg82fv0kzghr1x7pafisv943gmssqscp107bhg77bz";
|
||||||
})
|
})
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/rubiks/patches/dietz-solver-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/rubiks/patches/dietz-solver-Makefile.patch";
|
||||||
sha256 = "0vhw70ylnmydgjhwx8jjlb2slccj4pfqn6vzirkyz1wp8apsmfhp";
|
sha256 = "0vhw70ylnmydgjhwx8jjlb2slccj4pfqn6vzirkyz1wp8apsmfhp";
|
||||||
})
|
})
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/rubiks/patches/reid-Makefile.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
|
url = "https://raw.githubusercontent.com/sagemath/sage/07d6c37d18811e2b377a9689790a7c5e24da16ba/build/pkgs/rubiks/patches/reid-Makefile.patch";
|
||||||
sha256 = "1r311sn012xs135s0d21qwsig2kld7rdcq19nm0zbnklviid57df";
|
sha256 = "1r311sn012xs135s0d21qwsig2kld7rdcq19nm0zbnklviid57df";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohomekit";
|
pname = "aiohomekit";
|
||||||
version = "3.0.1";
|
version = "3.0.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||||
owner = "Jc2k";
|
owner = "Jc2k";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-TyVmvricfaS+i96DGwh0IKhMm56U1DyebAmRb+OFCh4=";
|
hash = "sha256-EE8+VoZ755wd8s3Gm0lziu+1r4rAFgdjEtqI0apoZ7E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -59,7 +59,8 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python library to transform SAM templates into AWS CloudFormation templates";
|
description = "Python library to transform SAM templates into AWS CloudFormation templates";
|
||||||
homepage = "https://github.com/aws/serverless-application-model";
|
homepage = "https://github.com/awslabs/serverless-application-model";
|
||||||
|
changelog = "https://github.com/aws/serverless-application-model/releases/tag/v${version}";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, cryptography
|
||||||
, cython_3
|
, cython_3
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bluetooth-data-tools";
|
pname = "bluetooth-data-tools";
|
||||||
version = "1.9.1";
|
version = "1.11.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
@ -19,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "Bluetooth-Devices";
|
owner = "Bluetooth-Devices";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-DLB2mBjHPVT2Fg2Kr0WUDuu5nqBCbdu525wAD3ERKV8=";
|
hash = "sha256-iyfk0OOJezNCNyqRCbR2cTTTdgdYQM6hExTngd/3CtA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The project can build both an optimized cython version and an unoptimized
|
# The project can build both an optimized cython version and an unoptimized
|
||||||
|
@ -32,6 +33,10 @@ buildPythonPackage rec {
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
cryptography
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,38 +1,37 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, aws-sam-translator
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
|
||||||
, aws-sam-translator
|
|
||||||
, jschema-to-python
|
, jschema-to-python
|
||||||
, jsonpatch
|
, jsonpatch
|
||||||
, jsonschema
|
, jsonschema
|
||||||
, junit-xml
|
, junit-xml
|
||||||
, networkx
|
|
||||||
, pyyaml
|
|
||||||
, sarif-om
|
|
||||||
, setuptools
|
|
||||||
, six
|
|
||||||
, mock
|
, mock
|
||||||
|
, networkx
|
||||||
, pydot
|
, pydot
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, pyyaml
|
||||||
|
, regex
|
||||||
|
, sarif-om
|
||||||
|
, setuptools
|
||||||
|
, sympy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cfn-lint";
|
pname = "cfn-lint";
|
||||||
version = "0.73.2";
|
version = "0.79.6";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aws-cloudformation";
|
owner = "aws-cloudformation";
|
||||||
repo = "cfn-python-lint";
|
repo = "cfn-python-lint";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-CNB5LrXllGxy99NjCrbjkUXUpJ72U3pUnWqrqkOiCG8=";
|
hash = "sha256-5Lb8dA8HqDdEO/Ehv5y/JlP+te46mzrTw/kNHBb9l38=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "jsonschema~=3.0" "jsonschema>=3.0"
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
aws-sam-translator
|
aws-sam-translator
|
||||||
jschema-to-python
|
jschema-to-python
|
||||||
|
@ -40,9 +39,11 @@ buildPythonPackage rec {
|
||||||
jsonschema
|
jsonschema
|
||||||
junit-xml
|
junit-xml
|
||||||
networkx
|
networkx
|
||||||
|
networkx
|
||||||
pyyaml
|
pyyaml
|
||||||
|
regex
|
||||||
sarif-om
|
sarif-om
|
||||||
six
|
sympy
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -62,34 +63,28 @@ buildPythonPackage rec {
|
||||||
# https://github.com/aws-cloudformation/cfn-python-lint/issues/1705
|
# https://github.com/aws-cloudformation/cfn-python-lint/issues/1705
|
||||||
# See also: https://github.com/NixOS/nixpkgs/issues/108076
|
# See also: https://github.com/NixOS/nixpkgs/issues/108076
|
||||||
"TestQuickStartTemplates"
|
"TestQuickStartTemplates"
|
||||||
# requires git directory
|
# Requires git directory
|
||||||
"test_update_docs"
|
"test_update_docs"
|
||||||
# Tests depend on network access (fails in getaddrinfo)
|
# Tests depend on network access (fails in getaddrinfo)
|
||||||
"test_update_resource_specs_python_2"
|
"test_update_resource_specs_python_2"
|
||||||
"test_update_resource_specs_python_3"
|
"test_update_resource_specs_python_3"
|
||||||
"test_sarif_formatter"
|
"test_sarif_formatter"
|
||||||
|
# Some CLI tests fails
|
||||||
|
"test_bad_config"
|
||||||
|
"test_override_parameters"
|
||||||
|
"test_positional_template_parameters"
|
||||||
|
"test_template_config"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"cfnlint"
|
"cfnlint"
|
||||||
"cfnlint.conditions"
|
|
||||||
"cfnlint.core"
|
|
||||||
"cfnlint.decode.node"
|
|
||||||
"cfnlint.decode.cfn_yaml"
|
|
||||||
"cfnlint.decode.cfn_json"
|
|
||||||
"cfnlint.decorators.refactored"
|
|
||||||
"cfnlint.graph"
|
|
||||||
"cfnlint.helpers"
|
|
||||||
"cfnlint.rules"
|
|
||||||
"cfnlint.runner"
|
|
||||||
"cfnlint.template"
|
|
||||||
"cfnlint.transform"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Checks cloudformation for practices and behaviour that could potentially be improved";
|
description = "Checks cloudformation for practices and behaviour that could potentially be improved";
|
||||||
homepage = "https://github.com/aws-cloudformation/cfn-python-lint";
|
homepage = "https://github.com/aws-cloudformation/cfn-python-lint";
|
||||||
changelog = "https://github.com/aws-cloudformation/cfn-python-lint/blob/master/CHANGELOG.md";
|
changelog = "https://github.com/aws-cloudformation/cfn-lint/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
||||||
# (https://trac.sagemath.org/ticket/27267). depends on Cython patch.
|
# (https://trac.sagemath.org/ticket/27267). depends on Cython patch.
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "use-trashcan-for-gen.patch";
|
name = "use-trashcan-for-gen.patch";
|
||||||
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/cypari/patches/trashcan.patch?id=b6ea17ef8e4d652de0a85047bac8d41e90b25555";
|
url = "https://raw.githubusercontent.com/sagemath/sage/b6ea17ef8e4d652de0a85047bac8d41e90b25555/build/pkgs/cypari/patches/trashcan.patch";
|
||||||
hash = "sha256-w4kktWb9/aR9z4CjrUvAMOxEwRN2WkubaKzQttN8rU8=";
|
hash = "sha256-w4kktWb9/aR9z4CjrUvAMOxEwRN2WkubaKzQttN8rU8=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "django-tastypie";
|
pname = "django-tastypie";
|
||||||
version = "0.14.5";
|
version = "0.14.6";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||||
owner = "django-tastypie";
|
owner = "django-tastypie";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-RgYinpo8eVzRaSkcnFkSq+IqpcFt6LCCHkpHyB/7u5M=";
|
hash = "sha256-emZVcycGLa8Z2yMv/NWZi1b5fPk50u841cFfFF3Ke/s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -12,16 +12,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "globus-sdk";
|
pname = "globus-sdk";
|
||||||
version = "3.27.0";
|
version = "3.28.0";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "globus";
|
owner = "globus";
|
||||||
repo = "globus-sdk-python";
|
repo = "globus-sdk-python";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-ZgRYwx/vICs1ombD8LGvCr0Wf9TpQurDGBoC2mtbxRs=";
|
hash = "sha256-mKtqfEpnWftpGReaUrmXf3LftZnMtEizPi4RbIwgnUM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "libtmux";
|
pname = "libtmux";
|
||||||
version = "0.23.0post0";
|
version = "0.23.1";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tmux-python";
|
owner = "tmux-python";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-qk9QYfLVJVtkNgAZ19UziU7metluz10gDs9HbMoqZjo=";
|
hash = "sha256-uMsQFDPLsphS6T55sDMKFawYgAycp8u9NizF5ZHnMqQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -206,6 +206,8 @@ buildPythonPackage rec {
|
||||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||||
# tests/generic/test_finalize.py::test_binops[and_-args4-right] - AssertionError: assert {} == {'a': 1}
|
# tests/generic/test_finalize.py::test_binops[and_-args4-right] - AssertionError: assert {} == {'a': 1}
|
||||||
"test_binops"
|
"test_binops"
|
||||||
|
# These tests are unreliable on aarch64-darwin. See https://github.com/pandas-dev/pandas/issues/38921.
|
||||||
|
"test_rolling"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Tests have relative paths, and need to reference compiled C extensions
|
# Tests have relative paths, and need to reference compiled C extensions
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "policy-sentry";
|
pname = "policy-sentry";
|
||||||
version = "0.12.8";
|
version = "0.12.9";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||||
owner = "salesforce";
|
owner = "salesforce";
|
||||||
repo = "policy_sentry";
|
repo = "policy_sentry";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-I56xWBbE1TqP+I8Op5X4TqHNB+gRlEPi7YQldIsjv4Q=";
|
hash = "sha256-mVB7qqADjf4XnDaQyL5C4/Z6hOxAMQbmr6fGnaXD+O0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyschlage";
|
pname = "pyschlage";
|
||||||
version = "2023.8.1";
|
version = "2023.9.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||||
owner = "dknowles2";
|
owner = "dknowles2";
|
||||||
repo = "pyschlage";
|
repo = "pyschlage";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-PTkuVGUdqRcvgcIL7yoVWNLQcWyDpXXHLxb7CoD8J1s=";
|
hash = "sha256-4uYUEx6OcUMG8nS/PqZK5hHFQd/7pTGIix2it8pleuY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
|
|
@ -10,9 +10,11 @@
|
||||||
, pandas
|
, pandas
|
||||||
, pyarrow
|
, pyarrow
|
||||||
, pytest
|
, pytest
|
||||||
|
, pythonOlder
|
||||||
, scikit-learn
|
, scikit-learn
|
||||||
, scipy
|
, scipy
|
||||||
, pythonOlder
|
, setuptools
|
||||||
|
, setuptools-scm
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -21,11 +23,17 @@ buildPythonPackage rec {
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ=";
|
hash = "sha256-7NoMEN/xOLFwaBXeMysShfZwrn6MzpJZYhNQHVieaqQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
setuptools-scm
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyarrow
|
pyarrow
|
||||||
jellyfish
|
jellyfish
|
||||||
|
@ -41,14 +49,19 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# pytestCheckHook does not work
|
# pytestCheckHook does not work
|
||||||
# Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too.
|
# Reusing their CI setup which involves 'rm -rf recordlinkage' in preCheck phase do not work too.
|
||||||
nativeCheckInputs = [ pytest ];
|
nativeCheckInputs = [
|
||||||
|
pytest
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "recordlinkage" ];
|
pythonImportsCheck = [
|
||||||
|
"recordlinkage"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library to link records in or between data sources";
|
description = "Library to link records in or between data sources";
|
||||||
homepage = "https://recordlinkage.readthedocs.io/";
|
homepage = "https://recordlinkage.readthedocs.io/";
|
||||||
|
changelog = "https://github.com/J535D165/recordlinkage/releases/tag/v${version}";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.raitobezarius ];
|
maintainers = with maintainers; [ raitobezarius ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,16 +9,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-about";
|
pname = "cargo-about";
|
||||||
version = "0.5.6";
|
version = "0.5.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EmbarkStudios";
|
owner = "EmbarkStudios";
|
||||||
repo = "cargo-about";
|
repo = "cargo-about";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-nlumcRcL5HwRJTNqLJ9+UkSg88HuE96Rg8Tgc+ZcK2M=";
|
sha256 = "sha256-AROT/Q/C0lbkeoMYmY2Tzt0+yRVA8ESRo5mPM1h0HJs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-Fa1DGXzHDR3EAZyFg0g2aKFynQlC/LL+Tg5LKpOUzmM=";
|
cargoSha256 = "sha256-9HkaCUGo6jpzQn851ACM7kcBCkyMJJ/bb/qtV4Hp0lI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -36,5 +36,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/EmbarkStudios/cargo-about/blob/${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ mit /* or */ asl20 ];
|
license = with licenses; [ mit /* or */ asl20 ];
|
||||||
maintainers = with maintainers; [ evanjs figsoda matthiasbeyer ];
|
maintainers = with maintainers; [ evanjs figsoda matthiasbeyer ];
|
||||||
|
mainProgram = "cargo-about";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "aliyun-cli";
|
pname = "aliyun-cli";
|
||||||
version = "3.0.179";
|
version = "3.0.180";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "aliyun";
|
owner = "aliyun";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-AQsmk5Kl/uGUeT3hNEuqg28q+hXtkz3E7J2Q0FOdr8U=";
|
sha256 = "sha256-w1t1sx7Pcv444x3YPNSg3fRQdPga2Q9Z1+Iad7OTjOM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-81z4bflVzDCl6IiYnTwFPsLHXq87OiKv4aDmZq05Nqc=";
|
vendorHash = "sha256-bL1S6GML7XuLraVXcd6NcC3VSYAd05F2ktzI0KF3G8A=";
|
||||||
|
|
||||||
subPackages = [ "main" ];
|
subPackages = [ "main" ];
|
||||||
|
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "qovery-cli";
|
pname = "qovery-cli";
|
||||||
version = "0.67.1";
|
version = "0.68.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Qovery";
|
owner = "Qovery";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-mVn+Q4XZ+jJjHR+V5Rl/rPUZN/Tv7vVX7u6IDuJNdO0=";
|
hash = "sha256-iurfG1g1I7ufraBLkbLATyM3SPfO5RhVF3k6SjExWUI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-Fcm/f54zGgA742yhIVJxjv7Y2T8DblC71+hw5HTmOf0=";
|
vendorHash = "sha256-U/yV+6WV8Oc0gLcYFyfOeBzzJdNwyyBk3jPRkH3LUrc=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "stripe-cli";
|
pname = "stripe-cli";
|
||||||
version = "1.17.1";
|
version = "1.17.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "stripe";
|
owner = "stripe";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-5j2DHbBLHQWtkQP8qTTxD949alo5mh88Vgv5cus8C/w=";
|
hash = "sha256-MzzjrGtqbtZMvfL7dPAsKHF2ZTneSdtDuwHQQcyrQDw=";
|
||||||
};
|
};
|
||||||
vendorHash = "sha256-DYA6cu2KzEBZ4wsT7wjcdY1endQQOZlj2aOwu6iGLew=";
|
vendorHash = "sha256-DYA6cu2KzEBZ4wsT7wjcdY1endQQOZlj2aOwu6iGLew=";
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ buildGoModule rec {
|
||||||
Create, retrieve, update, or delete API objects.
|
Create, retrieve, update, or delete API objects.
|
||||||
'';
|
'';
|
||||||
license = with licenses; [ asl20 ];
|
license = with licenses; [ asl20 ];
|
||||||
maintainers = with maintainers; [ RaghavSood jk ];
|
maintainers = with maintainers; [ RaghavSood jk kashw2 ];
|
||||||
mainProgram = "stripe";
|
mainProgram = "stripe";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,23 +1,25 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, testers
|
||||||
|
, trivy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "trivy";
|
pname = "trivy";
|
||||||
version = "0.44.1";
|
version = "0.45.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-zSrXfSG9GXReJ+XRx7FTBZovSvNq725zzWMje3maTx4=";
|
hash = "sha256-HsxcB3X8/n4Y8sU7im1nEGqMK9bVlhq5ZiF9gG+3YFs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# hash missmatch on across linux and darwin
|
# Hash mismatch on across Linux and Darwin
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
vendorHash = "sha256-CEr8UvQtKZo5jahLeLx3RYT592i6SwwNLRA4IRD0mYU=";
|
vendorHash = "sha256-rlMhmgnqvkKttfIzVMi1Ca/dqOdkoCF9yZbEcr8sv5I=";
|
||||||
|
|
||||||
subPackages = [ "cmd/trivy" ];
|
subPackages = [ "cmd/trivy" ];
|
||||||
|
|
||||||
|
@ -32,12 +34,11 @@ buildGoModule rec {
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
installCheckPhase = ''
|
passthru.tests.version = testers.testVersion {
|
||||||
runHook preInstallCheck
|
package = trivy;
|
||||||
$out/bin/trivy --help
|
command = "trivy --version";
|
||||||
$out/bin/trivy --version | grep "v${version}"
|
version = "v${version}";
|
||||||
runHook postInstallCheck
|
};
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/aquasecurity/trivy";
|
homepage = "https://github.com/aquasecurity/trivy";
|
||||||
|
|
41
pkgs/tools/games/minecraft/mcaselector/default.nix
Normal file
41
pkgs/tools/games/minecraft/mcaselector/default.nix
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
{ lib
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchurl
|
||||||
|
, makeWrapper
|
||||||
|
, jre
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "mcaselector";
|
||||||
|
version = "2.2.2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/Querz/mcaselector/releases/download/${finalAttrs.version}/mcaselector-${finalAttrs.version}.jar";
|
||||||
|
hash = "sha256-tOSdzLFxvEJ9LXliwfosMkgcrQLsrW7qDS8vrgPzQoI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontUnpack = true;
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ jre makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/{bin,lib/mcaselector}
|
||||||
|
cp $src $out/lib/mcaselector/mcaselector.jar
|
||||||
|
makeWrapper ${jre}/bin/java $out/bin/mcaselector \
|
||||||
|
--add-flags "-jar $out/lib/mcaselector/mcaselector.jar"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/Querz/mcaselector";
|
||||||
|
description = "A tool to select chunks from Minecraft worlds for deletion or export";
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = [ maintainers.Scrumplex ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
|
@ -11,10 +11,10 @@ buildGoModule rec {
|
||||||
owner = "lazytools";
|
owner = "lazytools";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "139b850h1w0392k8jcgj22jscsl2l60b5kk0n8378b6g57ikmis0";
|
hash = "sha256-QMc64ynPLHQGsmDOsoChgmqmpRDyMYmmSAPwAEFBK40=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "19hdaf7d6lvwrl5rc1srrjsjx57g25cy4lvw0vvs6j52impdk6ak";
|
vendorHash = "sha256-U5nZbo2iSKP3BnxT4lkR75QutcxZB5YLzXxT045TDaY=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Dedicated SSH brute-forcing tool";
|
description = "Dedicated SSH brute-forcing tool";
|
||||||
|
|
|
@ -1879,6 +1879,12 @@ with pkgs;
|
||||||
|
|
||||||
mbidled = callPackage ../tools/networking/mbidled { };
|
mbidled = callPackage ../tools/networking/mbidled { };
|
||||||
|
|
||||||
|
mcaselector = callPackage ../tools/games/minecraft/mcaselector {
|
||||||
|
jre = jre.override {
|
||||||
|
enableJavaFX = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
metapixel = callPackage ../tools/graphics/metapixel { };
|
metapixel = callPackage ../tools/graphics/metapixel { };
|
||||||
|
|
||||||
memos = callPackage ../servers/memos { };
|
memos = callPackage ../servers/memos { };
|
||||||
|
@ -3355,6 +3361,8 @@ with pkgs;
|
||||||
|
|
||||||
iam-policy-json-to-terraform = callPackage ../tools/misc/iam-policy-json-to-terraform { };
|
iam-policy-json-to-terraform = callPackage ../tools/misc/iam-policy-json-to-terraform { };
|
||||||
|
|
||||||
|
azeret-mono = callPackage ../data/fonts/azeret-mono { };
|
||||||
|
|
||||||
azure-cli = callPackage ../tools/admin/azure-cli { };
|
azure-cli = callPackage ../tools/admin/azure-cli { };
|
||||||
|
|
||||||
azure-functions-core-tools = callPackage ../development/tools/azure-functions-core-tools { };
|
azure-functions-core-tools = callPackage ../development/tools/azure-functions-core-tools { };
|
||||||
|
@ -18244,6 +18252,9 @@ with pkgs;
|
||||||
spidermonkey_102 = callPackage ../development/interpreters/spidermonkey/102.nix {
|
spidermonkey_102 = callPackage ../development/interpreters/spidermonkey/102.nix {
|
||||||
inherit (darwin) libobjc;
|
inherit (darwin) libobjc;
|
||||||
};
|
};
|
||||||
|
spidermonkey_115 = callPackage ../development/interpreters/spidermonkey/115.nix {
|
||||||
|
inherit (darwin) libobjc;
|
||||||
|
};
|
||||||
|
|
||||||
ssm-agent = callPackage ../applications/networking/cluster/ssm-agent { };
|
ssm-agent = callPackage ../applications/networking/cluster/ssm-agent { };
|
||||||
ssm-session-manager-plugin = callPackage ../applications/networking/cluster/ssm-session-manager-plugin { };
|
ssm-session-manager-plugin = callPackage ../applications/networking/cluster/ssm-session-manager-plugin { };
|
||||||
|
|
Loading…
Reference in a new issue