mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
Merge staging-next into staging
This commit is contained in:
commit
0b0b544416
@ -169,6 +169,13 @@
|
|||||||
<link linkend="opt-services.prosody-filer.enable">services.prosody-filer</link>.
|
<link linkend="opt-services.prosody-filer.enable">services.prosody-filer</link>.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
<link xlink:href="https://github.com/audreyt/ethercalc">ethercalc</link>,
|
||||||
|
an online collaborative spreadsheet. Available as
|
||||||
|
<link xlink:href="options.html#opt-services.ethercalc.enable">services.ethercalc</link>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<link xlink:href="https://timetagger.app">timetagger</link>,
|
<link xlink:href="https://timetagger.app">timetagger</link>,
|
||||||
|
@ -51,6 +51,9 @@ In addition to numerous new and upgraded packages, this release has the followin
|
|||||||
|
|
||||||
- [prosody-filer](https://github.com/ThomasLeister/prosody-filer), a server for handling XMPP HTTP Upload requests. Available at [services.prosody-filer](#opt-services.prosody-filer.enable).
|
- [prosody-filer](https://github.com/ThomasLeister/prosody-filer), a server for handling XMPP HTTP Upload requests. Available at [services.prosody-filer](#opt-services.prosody-filer.enable).
|
||||||
|
|
||||||
|
- [ethercalc](https://github.com/audreyt/ethercalc), an online collaborative
|
||||||
|
spreadsheet. Available as [services.ethercalc](options.html#opt-services.ethercalc.enable).
|
||||||
|
|
||||||
- [timetagger](https://timetagger.app), an open source time-tracker with an intuitive user experience and powerful reporting. [services.timetagger](options.html#opt-services.timetagger.enable).
|
- [timetagger](https://timetagger.app), an open source time-tracker with an intuitive user experience and powerful reporting. [services.timetagger](options.html#opt-services.timetagger.enable).
|
||||||
|
|
||||||
- [rstudio-server](https://www.rstudio.com/products/rstudio/#rstudio-server), a browser-based version of the RStudio IDE for the R programming language. Available as [services.rstudio-server](options.html#opt-services.rstudio-server.enable).
|
- [rstudio-server](https://www.rstudio.com/products/rstudio/#rstudio-server), a browser-based version of the RStudio IDE for the R programming language. Available as [services.rstudio-server](options.html#opt-services.rstudio-server.enable).
|
||||||
|
@ -1005,6 +1005,7 @@
|
|||||||
./services/web-apps/documize.nix
|
./services/web-apps/documize.nix
|
||||||
./services/web-apps/dokuwiki.nix
|
./services/web-apps/dokuwiki.nix
|
||||||
./services/web-apps/engelsystem.nix
|
./services/web-apps/engelsystem.nix
|
||||||
|
./services/web-apps/ethercalc.nix
|
||||||
./services/web-apps/fluidd.nix
|
./services/web-apps/fluidd.nix
|
||||||
./services/web-apps/galene.nix
|
./services/web-apps/galene.nix
|
||||||
./services/web-apps/gerrit.nix
|
./services/web-apps/gerrit.nix
|
||||||
|
@ -69,7 +69,8 @@ let
|
|||||||
set -e
|
set -e
|
||||||
set +o pipefail
|
set +o pipefail
|
||||||
NIX_CONF_DIR=$PWD \
|
NIX_CONF_DIR=$PWD \
|
||||||
${cfg.package}/bin/nix show-config ${optionalString (isNixAtLeast "2.3pre") "--no-net --option experimental-features nix-command"} \
|
${cfg.package}/bin/nix show-config ${optionalString (isNixAtLeast "2.3pre") "--no-net"} \
|
||||||
|
${optionalString (isNixAtLeast "2.4pre") "--option experimental-features nix-command"} \
|
||||||
|& sed -e 's/^warning:/error:/' \
|
|& sed -e 's/^warning:/error:/' \
|
||||||
| (! grep '${if cfg.checkConfig then "^error:" else "^error: unknown setting"}')
|
| (! grep '${if cfg.checkConfig then "^error:" else "^error: unknown setting"}')
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
62
nixos/modules/services/web-apps/ethercalc.nix
Normal file
62
nixos/modules/services/web-apps/ethercalc.nix
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.services.ethercalc;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
services.ethercalc = {
|
||||||
|
enable = mkOption {
|
||||||
|
default = false;
|
||||||
|
type = types.bool;
|
||||||
|
description = ''
|
||||||
|
ethercalc, an online collaborative spreadsheet server.
|
||||||
|
|
||||||
|
Persistent state will be maintained under
|
||||||
|
<filename>/var/lib/ethercalc</filename>. Upstream supports using a
|
||||||
|
redis server for storage and recommends the redis backend for
|
||||||
|
intensive use; however, the Nix module doesn't currently support
|
||||||
|
redis.
|
||||||
|
|
||||||
|
Note that while ethercalc is a good and robust project with an active
|
||||||
|
issue tracker, there haven't been new commits since the end of 2020.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
package = mkOption {
|
||||||
|
default = pkgs.ethercalc;
|
||||||
|
defaultText = literalExpression "pkgs.ethercalc";
|
||||||
|
type = types.package;
|
||||||
|
description = "Ethercalc package to use.";
|
||||||
|
};
|
||||||
|
|
||||||
|
host = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "0.0.0.0";
|
||||||
|
description = "Address to listen on (use 0.0.0.0 to allow access from any address).";
|
||||||
|
};
|
||||||
|
|
||||||
|
port = mkOption {
|
||||||
|
type = types.port;
|
||||||
|
default = 8000;
|
||||||
|
description = "Port to bind to.";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
systemd.services.ethercalc = {
|
||||||
|
description = "Ethercalc service";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
after = [ "network.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
DynamicUser = true;
|
||||||
|
ExecStart = "${cfg.package}/bin/ethercalc --host ${cfg.host} --port ${toString cfg.port}";
|
||||||
|
Restart = "always";
|
||||||
|
StateDirectory = "ethercalc";
|
||||||
|
WorkingDirectory = "/var/lib/ethercalc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@ -10,8 +10,7 @@ in {
|
|||||||
enable = mkEnableOption "plausible";
|
enable = mkEnableOption "plausible";
|
||||||
|
|
||||||
releaseCookiePath = mkOption {
|
releaseCookiePath = mkOption {
|
||||||
default = null;
|
type = with types; either str path;
|
||||||
type = with types; nullOr (either str path);
|
|
||||||
description = ''
|
description = ''
|
||||||
The path to the file with release cookie. (used for remote connection to the running node).
|
The path to the file with release cookie. (used for remote connection to the running node).
|
||||||
'';
|
'';
|
||||||
@ -235,6 +234,8 @@ in {
|
|||||||
script = ''
|
script = ''
|
||||||
export CONFIG_DIR=$CREDENTIALS_DIRECTORY
|
export CONFIG_DIR=$CREDENTIALS_DIRECTORY
|
||||||
|
|
||||||
|
export RELEASE_COOKIE="$(< $CREDENTIALS_DIRECTORY/RELEASE_COOKIE )"
|
||||||
|
|
||||||
# setup
|
# setup
|
||||||
${pkgs.plausible}/createdb.sh
|
${pkgs.plausible}/createdb.sh
|
||||||
${pkgs.plausible}/migrate.sh
|
${pkgs.plausible}/migrate.sh
|
||||||
@ -243,10 +244,8 @@ in {
|
|||||||
psql -d plausible <<< "UPDATE users SET email_verified=true;"
|
psql -d plausible <<< "UPDATE users SET email_verified=true;"
|
||||||
fi
|
fi
|
||||||
''}
|
''}
|
||||||
${optionalString (cfg.releaseCookiePath != null) ''
|
|
||||||
export RELEASE_COOKIE="$(< $CREDENTIALS_DIRECTORY/RELEASE_COOKIE )"
|
exec plausible start
|
||||||
''}
|
|
||||||
plausible start
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
@ -257,8 +256,8 @@ in {
|
|||||||
LoadCredential = [
|
LoadCredential = [
|
||||||
"ADMIN_USER_PWD:${cfg.adminUser.passwordFile}"
|
"ADMIN_USER_PWD:${cfg.adminUser.passwordFile}"
|
||||||
"SECRET_KEY_BASE:${cfg.server.secretKeybaseFile}"
|
"SECRET_KEY_BASE:${cfg.server.secretKeybaseFile}"
|
||||||
] ++ lib.optionals (cfg.mail.smtp.passwordFile != null) [ "SMTP_USER_PWD:${cfg.mail.smtp.passwordFile}"]
|
"RELEASE_COOKIE:${cfg.releaseCookiePath}"
|
||||||
++ lib.optionals (cfg.releaseCookiePath != null) [ "RELEASE_COOKIE:${cfg.releaseCookiePath}"];
|
] ++ lib.optionals (cfg.mail.smtp.passwordFile != null) [ "SMTP_USER_PWD:${cfg.mail.smtp.passwordFile}"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||||||
virtualisation.memorySize = 4096;
|
virtualisation.memorySize = 4096;
|
||||||
services.plausible = {
|
services.plausible = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
releaseCookiePath = "${pkgs.runCommand "cookie" { } ''
|
||||||
|
${pkgs.openssl}/bin/openssl rand -base64 64 >"$out"
|
||||||
|
''}";
|
||||||
adminUser = {
|
adminUser = {
|
||||||
email = "admin@example.org";
|
email = "admin@example.org";
|
||||||
passwordFile = "${pkgs.writeText "pwd" "foobar"}";
|
passwordFile = "${pkgs.writeText "pwd" "foobar"}";
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "schismtracker";
|
pname = "schismtracker";
|
||||||
version = "20211116";
|
version = "20220125";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1kcw4rwphyqh0hwwjsydzwg484xj17rb5lc8pfsixsg77z50ayzz";
|
sha256 = "sha256-Hqbm5+YyCde/6QuyIy4NE/jG4xNDzeNjEefMr60GEZM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--enable-dependency-tracking" ]
|
configureFlags = [ "--enable-dependency-tracking" ]
|
||||||
|
@ -229,5 +229,6 @@ in stdenv.mkDerivation {
|
|||||||
homepage = "https://www.virtualbox.org/";
|
homepage = "https://www.virtualbox.org/";
|
||||||
maintainers = with maintainers; [ sander ];
|
maintainers = with maintainers; [ sander ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" ];
|
||||||
|
mainProgram = "VirtualBox";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,25 +2,25 @@
|
|||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
|
, git
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "garble";
|
pname = "garble";
|
||||||
version = "20200107";
|
version = "0.5.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "burrowers";
|
owner = "burrowers";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "835f4aadf321521acf06aac4d5068473dc4b2ac1";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-NodsVHRll2YZoxrhmniJvelQOStG82u3kJyc0t8OXD8=";
|
sha256 = "sha256-F8O/33o//yGnum9sZo1dzcvf3ifRalva6SDC36iPbDA==";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-x2fk2QmZDK2yjyfYdK7x+sQjvt7tuggmm8ieVjsNKek=";
|
vendorSha256 = "sha256-iNH/iBEOTkIhVlDGfI66ZYyVjyH6WrLbUSMyONPjUc4=";
|
||||||
|
|
||||||
preBuild = ''
|
# Used for some of the tests.
|
||||||
# https://github.com/burrowers/garble/issues/184
|
checkInputs = [git];
|
||||||
substituteInPlace testdata/scripts/tiny.txt \
|
|
||||||
--replace "{6,8}" "{4,8}"
|
preBuild = lib.optionalString (!stdenv.isx86_64) ''
|
||||||
'' + lib.optionalString (!stdenv.isx86_64) ''
|
|
||||||
# The test assumex amd64 assembly
|
# The test assumex amd64 assembly
|
||||||
rm testdata/scripts/asm.txt
|
rm testdata/scripts/asm.txt
|
||||||
'';
|
'';
|
||||||
|
@ -31,7 +31,7 @@ storePaths=$(perl $pathsFromGraph closure-*)
|
|||||||
|
|
||||||
# Paths in cpio archives *must* be relative, otherwise the kernel
|
# Paths in cpio archives *must* be relative, otherwise the kernel
|
||||||
# won't unpack 'em.
|
# won't unpack 'em.
|
||||||
(cd root && cp -prd --parents $storePaths .)
|
(cd root && cp -prP --parents $storePaths .)
|
||||||
|
|
||||||
|
|
||||||
# Put the closure in a gzipped cpio archive.
|
# Put the closure in a gzipped cpio archive.
|
||||||
|
@ -20,10 +20,6 @@ rustPlatform.buildRustPackage {
|
|||||||
# (/private/tmp/nix-build-clippy-1.36.0.drv-0/rustc-1.36.0-src/src/librustc_llvm)
|
# (/private/tmp/nix-build-clippy-1.36.0.drv-0/rustc-1.36.0-src/src/librustc_llvm)
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
export CARGO_TARGET_DIR="$(pwd)/target"
|
|
||||||
'';
|
|
||||||
|
|
||||||
preFixup = lib.optionalString stdenv.isDarwin ''
|
preFixup = lib.optionalString stdenv.isDarwin ''
|
||||||
install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
|
install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
|
||||||
'';
|
'';
|
||||||
|
22
pkgs/development/libraries/judy/cross.patch
Normal file
22
pkgs/development/libraries/judy/cross.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- a/src/Judy1/Makefile.am
|
||||||
|
+++ b/src/Judy1/Makefile.am
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE
|
||||||
|
|
||||||
|
Judy1Tables.c: Judy1TablesGen.c
|
||||||
|
- $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen
|
||||||
|
+ $(CC_FOR_BUILD) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen
|
||||||
|
|
||||||
|
Judy1ByCount.c:../JudyCommon/JudyByCount.c
|
||||||
|
cp -f ../JudyCommon/JudyByCount.c Judy1ByCount.c
|
||||||
|
--- a/src/JudyL/Makefile.am
|
||||||
|
+++ b/src/JudyL/Makefile.am
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE
|
||||||
|
|
||||||
|
JudyLTables.c: JudyLTablesGen.c
|
||||||
|
- $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen
|
||||||
|
+ $(CC_FOR_BUILD) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen
|
||||||
|
|
||||||
|
JudyLByCount.c: ../JudyCommon/JudyByCount.c
|
||||||
|
cp -f ../JudyCommon/JudyByCount.c JudyLByCount.c
|
@ -1,4 +1,4 @@
|
|||||||
{lib, stdenv, fetchurl}:
|
{ lib, stdenv, fetchurl, pkgsBuildBuild, autoreconfHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "judy";
|
pname = "judy";
|
||||||
@ -9,11 +9,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1sv3990vsx8hrza1mvq3bhvv9m6ff08y4yz7swn6znszz24l0w6j";
|
sha256 = "1sv3990vsx8hrza1mvq3bhvv9m6ff08y4yz7swn6znszz24l0w6j";
|
||||||
};
|
};
|
||||||
|
|
||||||
# gcc 4.8 optimisations break judy.
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
# https://sourceforge.net/p/judy/mailman/message/31995144/
|
depsBuildBuild = [ pkgsBuildBuild.stdenv.cc ];
|
||||||
preConfigure = lib.optionalString stdenv.cc.isGNU ''
|
patches = [ ./cross.patch ];
|
||||||
configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations")
|
|
||||||
'';
|
|
||||||
|
|
||||||
# Disable parallel builds as manpages lack some dependencies:
|
# Disable parallel builds as manpages lack some dependencies:
|
||||||
# ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs
|
# ../tool/jhton ext/JudyHS_funcs_3.htm | grep -v '^[ ]*$' | sed -e 's/\.C//' > man/man3/JudyHS_funcs
|
||||||
|
@ -0,0 +1,30 @@
|
|||||||
|
/* Generated file. */
|
||||||
|
args @ { fetchurl, ... }:
|
||||||
|
rec {
|
||||||
|
baseName = "float-features";
|
||||||
|
version = "20210228-git";
|
||||||
|
|
||||||
|
description = "A portability library for IEEE float features not covered by the CL standard.";
|
||||||
|
|
||||||
|
deps = [ args."documentation-utils" args."trivial-indent" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://beta.quicklisp.org/archive/float-features/2021-02-28/float-features-20210228-git.tgz";
|
||||||
|
sha256 = "1giy9qm9bgdfp1mm4d36fcj544kfq68qckmijlrhwbvkpk18hgrd";
|
||||||
|
};
|
||||||
|
|
||||||
|
packageName = "float-features";
|
||||||
|
|
||||||
|
asdFilesToKeep = ["float-features.asd"];
|
||||||
|
overrides = x: x;
|
||||||
|
}
|
||||||
|
/* (SYSTEM float-features DESCRIPTION
|
||||||
|
A portability library for IEEE float features not covered by the CL standard.
|
||||||
|
SHA256 1giy9qm9bgdfp1mm4d36fcj544kfq68qckmijlrhwbvkpk18hgrd URL
|
||||||
|
http://beta.quicklisp.org/archive/float-features/2021-02-28/float-features-20210228-git.tgz
|
||||||
|
MD5 77223b9c85dca49d0f599e51ba95953a NAME float-features FILENAME
|
||||||
|
float-features DEPS
|
||||||
|
((NAME documentation-utils FILENAME documentation-utils)
|
||||||
|
(NAME trivial-indent FILENAME trivial-indent))
|
||||||
|
DEPENDENCIES (documentation-utils trivial-indent) VERSION 20210228-git
|
||||||
|
SIBLINGS (float-features-tests) PARASITES NIL) */
|
@ -0,0 +1,37 @@
|
|||||||
|
/* Generated file. */
|
||||||
|
args @ { fetchurl, ... }:
|
||||||
|
rec {
|
||||||
|
baseName = "lisp-binary";
|
||||||
|
version = "20210411-git";
|
||||||
|
|
||||||
|
description = "Declare binary formats as structs and then read and write them.";
|
||||||
|
|
||||||
|
deps = [ args."alexandria" args."babel" args."cffi" args."closer-mop" args."flexi-streams" args."iterate" args."moptilities" args."quasiquote-2_dot_0" args."trivial-features" args."trivial-gray-streams" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://beta.quicklisp.org/archive/lisp-binary/2021-04-11/lisp-binary-20210411-git.tgz";
|
||||||
|
sha256 = "1sbapl8qla4xb8wcix9yxpijkbk1bpybhay7ncb3z2im7r2kzsnb";
|
||||||
|
};
|
||||||
|
|
||||||
|
packageName = "lisp-binary";
|
||||||
|
|
||||||
|
asdFilesToKeep = ["lisp-binary.asd"];
|
||||||
|
overrides = x: x;
|
||||||
|
}
|
||||||
|
/* (SYSTEM lisp-binary DESCRIPTION
|
||||||
|
Declare binary formats as structs and then read and write them. SHA256
|
||||||
|
1sbapl8qla4xb8wcix9yxpijkbk1bpybhay7ncb3z2im7r2kzsnb URL
|
||||||
|
http://beta.quicklisp.org/archive/lisp-binary/2021-04-11/lisp-binary-20210411-git.tgz
|
||||||
|
MD5 29d85f01a1cb17742164bacae940d29c NAME lisp-binary FILENAME lisp-binary
|
||||||
|
DEPS
|
||||||
|
((NAME alexandria FILENAME alexandria) (NAME babel FILENAME babel)
|
||||||
|
(NAME cffi FILENAME cffi) (NAME closer-mop FILENAME closer-mop)
|
||||||
|
(NAME flexi-streams FILENAME flexi-streams)
|
||||||
|
(NAME iterate FILENAME iterate) (NAME moptilities FILENAME moptilities)
|
||||||
|
(NAME quasiquote-2.0 FILENAME quasiquote-2_dot_0)
|
||||||
|
(NAME trivial-features FILENAME trivial-features)
|
||||||
|
(NAME trivial-gray-streams FILENAME trivial-gray-streams))
|
||||||
|
DEPENDENCIES
|
||||||
|
(alexandria babel cffi closer-mop flexi-streams iterate moptilities
|
||||||
|
quasiquote-2.0 trivial-features trivial-gray-streams)
|
||||||
|
VERSION 20210411-git SIBLINGS (lisp-binary-test) PARASITES NIL) */
|
@ -0,0 +1,31 @@
|
|||||||
|
/* Generated file. */
|
||||||
|
args @ { fetchurl, ... }:
|
||||||
|
rec {
|
||||||
|
baseName = "quasiquote-2_dot_0";
|
||||||
|
version = "20150505-git";
|
||||||
|
|
||||||
|
parasites = [ "quasiquote-2.0-tests" ];
|
||||||
|
|
||||||
|
description = "Writing macros that write macros. Effortless.";
|
||||||
|
|
||||||
|
deps = [ args."fiveam" args."iterate" ];
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://beta.quicklisp.org/archive/quasiquote-2.0/2015-05-05/quasiquote-2.0-20150505-git.tgz";
|
||||||
|
sha256 = "0bgcqk7wp7qblw7avsawkg24zjiq9vgsbfa0yhk64avhxwjw6974";
|
||||||
|
};
|
||||||
|
|
||||||
|
packageName = "quasiquote-2.0";
|
||||||
|
|
||||||
|
asdFilesToKeep = ["quasiquote-2.0.asd"];
|
||||||
|
overrides = x: x;
|
||||||
|
}
|
||||||
|
/* (SYSTEM quasiquote-2.0 DESCRIPTION
|
||||||
|
Writing macros that write macros. Effortless. SHA256
|
||||||
|
0bgcqk7wp7qblw7avsawkg24zjiq9vgsbfa0yhk64avhxwjw6974 URL
|
||||||
|
http://beta.quicklisp.org/archive/quasiquote-2.0/2015-05-05/quasiquote-2.0-20150505-git.tgz
|
||||||
|
MD5 7c557e0c10cf7608afa5a20e4a83c778 NAME quasiquote-2.0 FILENAME
|
||||||
|
quasiquote-2_dot_0 DEPS
|
||||||
|
((NAME fiveam FILENAME fiveam) (NAME iterate FILENAME iterate))
|
||||||
|
DEPENDENCIES (fiveam iterate) VERSION 20150505-git SIBLINGS NIL PARASITES
|
||||||
|
(quasiquote-2.0-tests)) */
|
@ -137,6 +137,7 @@ fast-io
|
|||||||
file-attributes
|
file-attributes
|
||||||
fiveam
|
fiveam
|
||||||
flexi-streams
|
flexi-streams
|
||||||
|
float-features
|
||||||
form-fiddle
|
form-fiddle
|
||||||
fset
|
fset
|
||||||
generic-cl
|
generic-cl
|
||||||
@ -162,6 +163,7 @@ lfarm-client
|
|||||||
lfarm-server
|
lfarm-server
|
||||||
lfarm-ssl
|
lfarm-ssl
|
||||||
lift
|
lift
|
||||||
|
lisp-binary
|
||||||
lisp-namespace
|
lisp-namespace
|
||||||
lla
|
lla
|
||||||
local-time
|
local-time
|
||||||
|
@ -345,6 +345,16 @@ let quicklisp-to-nix-packages = rec {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
"quasiquote-2_dot_0" = buildLispPackage
|
||||||
|
((f: x: (x // (f x)))
|
||||||
|
(qlOverrides."quasiquote-2_dot_0" or (x: {}))
|
||||||
|
(import ./quicklisp-to-nix-output/quasiquote-2_dot_0.nix {
|
||||||
|
inherit fetchurl;
|
||||||
|
"fiveam" = quicklisp-to-nix-packages."fiveam";
|
||||||
|
"iterate" = quicklisp-to-nix-packages."iterate";
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
"lfarm-common" = buildLispPackage
|
"lfarm-common" = buildLispPackage
|
||||||
((f: x: (x // (f x)))
|
((f: x: (x // (f x)))
|
||||||
(qlOverrides."lfarm-common" or (x: {}))
|
(qlOverrides."lfarm-common" or (x: {}))
|
||||||
@ -2836,6 +2846,24 @@ let quicklisp-to-nix-packages = rec {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
"lisp-binary" = buildLispPackage
|
||||||
|
((f: x: (x // (f x)))
|
||||||
|
(qlOverrides."lisp-binary" or (x: {}))
|
||||||
|
(import ./quicklisp-to-nix-output/lisp-binary.nix {
|
||||||
|
inherit fetchurl;
|
||||||
|
"alexandria" = quicklisp-to-nix-packages."alexandria";
|
||||||
|
"babel" = quicklisp-to-nix-packages."babel";
|
||||||
|
"cffi" = quicklisp-to-nix-packages."cffi";
|
||||||
|
"closer-mop" = quicklisp-to-nix-packages."closer-mop";
|
||||||
|
"flexi-streams" = quicklisp-to-nix-packages."flexi-streams";
|
||||||
|
"iterate" = quicklisp-to-nix-packages."iterate";
|
||||||
|
"moptilities" = quicklisp-to-nix-packages."moptilities";
|
||||||
|
"quasiquote-2_dot_0" = quicklisp-to-nix-packages."quasiquote-2_dot_0";
|
||||||
|
"trivial-features" = quicklisp-to-nix-packages."trivial-features";
|
||||||
|
"trivial-gray-streams" = quicklisp-to-nix-packages."trivial-gray-streams";
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
"lift" = buildLispPackage
|
"lift" = buildLispPackage
|
||||||
((f: x: (x // (f x)))
|
((f: x: (x // (f x)))
|
||||||
(qlOverrides."lift" or (x: {}))
|
(qlOverrides."lift" or (x: {}))
|
||||||
@ -3257,6 +3285,16 @@ let quicklisp-to-nix-packages = rec {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
||||||
|
"float-features" = buildLispPackage
|
||||||
|
((f: x: (x // (f x)))
|
||||||
|
(qlOverrides."float-features" or (x: {}))
|
||||||
|
(import ./quicklisp-to-nix-output/float-features.nix {
|
||||||
|
inherit fetchurl;
|
||||||
|
"documentation-utils" = quicklisp-to-nix-packages."documentation-utils";
|
||||||
|
"trivial-indent" = quicklisp-to-nix-packages."trivial-indent";
|
||||||
|
}));
|
||||||
|
|
||||||
|
|
||||||
"flexi-streams" = buildLispPackage
|
"flexi-streams" = buildLispPackage
|
||||||
((f: x: (x // (f x)))
|
((f: x: (x // (f x)))
|
||||||
(qlOverrides."flexi-streams" or (x: {}))
|
(qlOverrides."flexi-streams" or (x: {}))
|
||||||
|
@ -9,11 +9,14 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, pandas
|
, pandas
|
||||||
, pytest
|
, pytest
|
||||||
|
, cloudpickle
|
||||||
, scipy
|
, scipy
|
||||||
, setuptools
|
, setuptools
|
||||||
, tensorflow-probability
|
, typing-extensions
|
||||||
|
# , tensorflow-probability (incompatible version)
|
||||||
, xarray
|
, xarray
|
||||||
#, h5py (used by disabled tests)
|
, zarr
|
||||||
|
, h5py
|
||||||
#, pymc3 (broken)
|
#, pymc3 (broken)
|
||||||
#, pyro-ppl (broken)
|
#, pyro-ppl (broken)
|
||||||
#, pystan (not packaged)
|
#, pystan (not packaged)
|
||||||
@ -45,28 +48,36 @@ buildPythonPackage rec {
|
|||||||
scipy
|
scipy
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace requirements.txt \
|
||||||
|
--replace "typing_extensions>=3.7.4.3,<4" "typing_extensions>=3.7.4.3"
|
||||||
|
'';
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
bokeh
|
bokeh
|
||||||
emcee
|
emcee
|
||||||
numba
|
numba
|
||||||
pytest
|
pytest
|
||||||
tensorflow-probability
|
cloudpickle
|
||||||
#h5py (used by disabled tests)
|
zarr
|
||||||
#pymc3 (broken)
|
#tensorflow-probability (used by disabled tests)
|
||||||
#pyro-ppl (broken)
|
h5py
|
||||||
|
#pymc3 (broken, used by disabled tests)
|
||||||
|
#pyro-ppl (broken, used by disabled tests)
|
||||||
#pystan (not packaged)
|
#pystan (not packaged)
|
||||||
#numpyro (not packaged)
|
#numpyro (not packaged, used by disabled tests)
|
||||||
];
|
];
|
||||||
|
|
||||||
# check requires pymc3 and pyro-ppl, which are currently broken, and pystan
|
# check requires pymc3 and pyro-ppl, which are currently broken, and pystan
|
||||||
# and numpyro, which are not yet packaged, some checks also need to make
|
# and numpyro, which are not yet packaged, and an incompatible (old) version
|
||||||
|
# of tensorflow-probability. some checks also need to make
|
||||||
# directories and do not have permission to do so. So we can only check part
|
# directories and do not have permission to do so. So we can only check part
|
||||||
# of the package
|
# of the package
|
||||||
# Additionally, there are some failures with the plots test, which revolve
|
# Additionally, there are some failures with the plots test, which revolve
|
||||||
# around attempting to output .mp4 files through an interface that only wants
|
# around attempting to output .mp4 files through an interface that only wants
|
||||||
# to output .html files.
|
# to output .html files.
|
||||||
# The following test have been disabled as a result: data_cmdstanpy,
|
# The following test have been disabled as a result: data_cmdstanpy,
|
||||||
# data_numpyro, data_pyro, data_pystan, and plots.
|
# data_numpyro, data_pyro, data_pystan, data_tfp, data_pymc3 and plots.
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
cd arviz/tests/
|
cd arviz/tests/
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
@ -76,11 +87,13 @@ buildPythonPackage rec {
|
|||||||
base_tests/test_plot_utils.py \
|
base_tests/test_plot_utils.py \
|
||||||
base_tests/test_rcparams.py \
|
base_tests/test_rcparams.py \
|
||||||
base_tests/test_stats.py \
|
base_tests/test_stats.py \
|
||||||
|
base_tests/test_stats_numba.py \
|
||||||
base_tests/test_stats_utils.py \
|
base_tests/test_stats_utils.py \
|
||||||
base_tests/test_utils.py \
|
base_tests/test_utils.py \
|
||||||
|
base_tests/test_utils_numba.py \
|
||||||
|
base_tests/test_data_zarr.py \
|
||||||
external_tests/test_data_cmdstan.py \
|
external_tests/test_data_cmdstan.py \
|
||||||
external_tests/test_data_emcee.py \
|
external_tests/test_data_emcee.py
|
||||||
external_tests/test_data_tfp.py
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,20 +1,32 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, asn1crypto
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "asysocks";
|
pname = "asysocks";
|
||||||
version = "0.1.2";
|
version = "0.1.6";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1hi9hzih265qlh7x32r5pbaqm9wkhm52yrdiksnd4gl5nrdgwcwv";
|
sha256 = "sha256-uXrJBc1Moeeo58KV+csiztXf0/F+iI5xy/BaHWek05M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
asn1crypto
|
||||||
|
];
|
||||||
|
|
||||||
# Upstream hasn't release the tests yet
|
# Upstream hasn't release the tests yet
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "asysocks" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"asysocks"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Socks4/5 client and server library";
|
description = "Python Socks4/5 client and server library";
|
||||||
|
@ -86,5 +86,6 @@ in buildPythonPackage {
|
|||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ timokau ];
|
maintainers = with maintainers; [ timokau ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
broken = true; # depends on older TensorFlow version than is currently packaged
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,14 +12,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "policy-sentry";
|
pname = "policy-sentry";
|
||||||
version = "0.11.19";
|
version = "0.12.1";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "salesforce";
|
owner = "salesforce";
|
||||||
repo = "policy_sentry";
|
repo = "policy_sentry";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-zYX2MMFIgts5brFb/hsgLHZbY5mncqnCmk7nGdxj/BM=";
|
sha256 = "sha256-zXvZpX8yKPJpmhKdPhlxYUWUadGlr4WsmfJMgE3kzyQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -68,5 +68,8 @@ buildPythonPackage rec {
|
|||||||
homepage = "https://github.com/pymc-devs/pymc3";
|
homepage = "https://github.com/pymc-devs/pymc3";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
maintainers = with lib.maintainers; [ ilya-kolpakov ];
|
maintainers = with lib.maintainers; [ ilya-kolpakov ];
|
||||||
|
# several dependencies are not declared and in the end it requires theano-pymc3
|
||||||
|
# instead of Theano. The former is currently not packaged.
|
||||||
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "skodaconnect";
|
pname = "skodaconnect";
|
||||||
version = "1.1.12";
|
version = "1.1.14";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||||||
owner = "lendy007";
|
owner = "lendy007";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-OKNw+t8S6rRQDKNRBN/CU36OwWojuOH6mMQ5QItkkb8=";
|
sha256 = "sha256-aMyowz5+4Iu7bb8FSnHzx6QGp1WzzMXQZI23OZcr/kM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, bazel_0_26
|
|
||||||
, buildBazelPackage
|
, buildBazelPackage
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, python
|
, python
|
||||||
@ -11,47 +9,33 @@
|
|||||||
, tensorflow
|
, tensorflow
|
||||||
, six
|
, six
|
||||||
, numpy
|
, numpy
|
||||||
|
, dm-tree
|
||||||
|
, keras
|
||||||
, decorator
|
, decorator
|
||||||
, cloudpickle
|
, cloudpickle
|
||||||
, gast
|
, gast
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, scipy
|
, scipy
|
||||||
|
, pandas
|
||||||
|
, mpmath
|
||||||
, matplotlib
|
, matplotlib
|
||||||
, mock
|
, mock
|
||||||
, pytest
|
, pytest
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.8.0";
|
version = "0.15.0";
|
||||||
pname = "tensorflow_probability";
|
pname = "tensorflow_probability";
|
||||||
|
|
||||||
# first build all binaries and generate setup.py using bazel
|
# first build all binaries and generate setup.py using bazel
|
||||||
bazel-wheel = buildBazelPackage {
|
bazel-wheel = buildBazelPackage {
|
||||||
bazel = bazel_0_26;
|
|
||||||
|
|
||||||
name = "${pname}-${version}-py2.py3-none-any.whl";
|
name = "${pname}-${version}-py2.py3-none-any.whl";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tensorflow";
|
owner = "tensorflow";
|
||||||
repo = "probability";
|
repo = "probability";
|
||||||
rev = version;
|
rev = "v" + version;
|
||||||
sha256 = "07cm8zba8n0ihzdm3k4a4rsg5v62xxsfvcw4h0niz91c0parqjqy";
|
sha256 = "155fgmra90s08vjnp61qxdrpzq74xa3kdzhgdkavwgc25pvxn3mi";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "gast-0.3.patch";
|
|
||||||
url = "https://github.com/tensorflow/probability/commit/ae7a9d9771771ec1e7755a3588b9325f050a84cc.patch";
|
|
||||||
sha256 = "0kfhx30gshm8f3945na9yjjik71r20qmjzifbigaj4l8dwd9dz1a";
|
|
||||||
excludes = ["testing/*"];
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "cloudpickle-1.2.patch";
|
|
||||||
url = "https://github.com/tensorflow/probability/commit/78ef12b5afe3f567d16c70b74015ed1ddff1b0c8.patch";
|
|
||||||
sha256 = "12ms2xcljvvrnig0j78s3wfv4yf3bm5ps4rgfgv5lg2a8mzpc1ga";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
# needed to create the output wheel in installPhase
|
# needed to create the output wheel in installPhase
|
||||||
python
|
python
|
||||||
@ -64,7 +48,7 @@ let
|
|||||||
bazelTarget = ":pip_pkg";
|
bazelTarget = ":pip_pkg";
|
||||||
|
|
||||||
fetchAttrs = {
|
fetchAttrs = {
|
||||||
sha256 = "1qw7vkwnxy45z4vm94isq5m96xiz35sigag7vjg1xb2sklbymxh8";
|
sha256 = "0sgxdlw5x3dydy53l10vbrj8smh78b7r1wff8jxcgp4w69mk8zfm";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildAttrs = {
|
buildAttrs = {
|
||||||
@ -98,34 +82,31 @@ in buildPythonPackage {
|
|||||||
decorator
|
decorator
|
||||||
cloudpickle
|
cloudpickle
|
||||||
gast
|
gast
|
||||||
|
dm-tree
|
||||||
|
keras
|
||||||
];
|
];
|
||||||
|
|
||||||
# Listed here:
|
# Listed here:
|
||||||
# https://github.com/tensorflow/probability/blob/f01d27a6f256430f03b14beb14d37def726cb257/testing/run_tests.sh#L58
|
# https://github.com/tensorflow/probability/blob/f3777158691787d3658b5e80883fe1a933d48989/testing/dependency_install_lib.sh#L83
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
hypothesis
|
hypothesis
|
||||||
pytest
|
pytest
|
||||||
scipy
|
scipy
|
||||||
|
pandas
|
||||||
|
mpmath
|
||||||
matplotlib
|
matplotlib
|
||||||
mock
|
mock
|
||||||
];
|
];
|
||||||
|
|
||||||
# actual checks currently fail because for some reason
|
# Ideally, we run unit tests with pytest, but in checkPhase, only the Bazel-build wheel is available.
|
||||||
# tf.enable_eager_execution is called too late. Probably because upstream
|
# But it seems not guaranteed that running the tests with pytest will even work, see
|
||||||
# intents these tests to be run by bazel, not plain pytest.
|
# https://github.com/tensorflow/probability/blob/c2a10877feb2c4c06a4dc58281e69c37a11315b9/CONTRIBUTING.md?plain=1#L69
|
||||||
# checkPhase = ''
|
# Ideally, tests would be run using Bazel. For now, lets's do a...
|
||||||
# # tests need to import from other test files
|
|
||||||
# export PYTHONPATH="$PWD/tensorflow-probability:$PYTHONPATH"
|
|
||||||
# py.test
|
|
||||||
# '';
|
|
||||||
|
|
||||||
# sanity check
|
# sanity check
|
||||||
checkPhase = ''
|
pythonImportsCheck = [ "tensorflow_probability" ];
|
||||||
python -c 'import tensorflow_probability'
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = true; # tf-probability 0.8.0 is not compatible with tensorflow 2.3.2
|
|
||||||
description = "Library for probabilistic reasoning and statistical analysis";
|
description = "Library for probabilistic reasoning and statistical analysis";
|
||||||
homepage = "https://www.tensorflow.org/probability/";
|
homepage = "https://www.tensorflow.org/probability/";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, pythonAtLeast
|
||||||
, numpy
|
, numpy
|
||||||
, wheel
|
, wheel
|
||||||
, werkzeug
|
, werkzeug
|
||||||
@ -24,7 +25,7 @@ buildPythonPackage rec {
|
|||||||
pname = "tensorflow-tensorboard";
|
pname = "tensorflow-tensorboard";
|
||||||
version = "2.6.0";
|
version = "2.6.0";
|
||||||
format = "wheel";
|
format = "wheel";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6" || pythonAtLeast "3.10";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "tensorboard";
|
pname = "tensorboard";
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mold";
|
pname = "mold";
|
||||||
version = "1.0.1";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rui314";
|
owner = "rui314";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-G+mVZS3ZRuBd00xfBqrTvmHOykFk63nJlucxv01nr3k=";
|
sha256 = "sha256-0TXk+6hS6TJHwhowYzL8ABw3iyfVwPttJWKQ9RfzMSI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib openssl ];
|
buildInputs = [ zlib openssl ];
|
||||||
|
@ -11,19 +11,19 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-deny";
|
pname = "cargo-deny";
|
||||||
version = "0.11.0";
|
version = "0.11.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EmbarkStudios";
|
owner = "EmbarkStudios";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-LYXwdOopQkgq7i4l8dqQFkNLB3r+CVRor4BVeoj0DPs=";
|
sha256 = "sha256-LsRky7hc7mgx1iRpJZICmP/ofdfD9r3D5LURTqfI9Fo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# enable pkg-config feature of zstd
|
# enable pkg-config feature of zstd
|
||||||
cargoPatches = [ ./zstd-pkg-config.patch ];
|
cargoPatches = [ ./zstd-pkg-config.patch ];
|
||||||
|
|
||||||
cargoSha256 = "sha256-SdbDWw4GOvCTKN7vBjhLU5rhdVIpyO+AWaFbo06HXfU=";
|
cargoSha256 = "sha256-7WGNaad00MqEM/OdUaLJ3McXlUQyQwPezbMbL+4se5A=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
@ -40,6 +40,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
homepage = "https://github.com/EmbarkStudios/cargo-deny";
|
homepage = "https://github.com/EmbarkStudios/cargo-deny";
|
||||||
changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md";
|
changelog = "https://github.com/EmbarkStudios/cargo-deny/blob/${version}/CHANGELOG.md";
|
||||||
license = with licenses; [ asl20 /* or */ mit ];
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
maintainers = with maintainers; [ figsoda matthiasbeyer jk ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, nixosTests
|
{ lib, stdenv, fetchurl, nixosTests, buildPackages
|
||||||
# Native buildInputs components
|
# Native buildInputs components
|
||||||
, bison, boost, cmake, fixDarwinDylibNames, flex, makeWrapper, pkg-config
|
, bison, boost, cmake, fixDarwinDylibNames, flex, makeWrapper, pkg-config
|
||||||
# Common components
|
# Common components
|
||||||
@ -18,7 +18,7 @@ let # in mariadb # spans the whole file
|
|||||||
|
|
||||||
libExt = stdenv.hostPlatform.extensions.sharedLibrary;
|
libExt = stdenv.hostPlatform.extensions.sharedLibrary;
|
||||||
|
|
||||||
mytopEnv = perl.withPackages (p: with p; [ DBDmysql DBI TermReadKey ]);
|
mytopEnv = buildPackages.perl.withPackages (p: with p; [ DBDmysql DBI TermReadKey ]);
|
||||||
|
|
||||||
mariadbPackage = packageSettings: (server packageSettings) // {
|
mariadbPackage = packageSettings: (server packageSettings) // {
|
||||||
client = client packageSettings; # MariaDB Client
|
client = client packageSettings; # MariaDB Client
|
||||||
@ -208,6 +208,10 @@ in stdenv.mkDerivation (common // {
|
|||||||
"-DPLUGIN_AUTH_PAM=OFF"
|
"-DPLUGIN_AUTH_PAM=OFF"
|
||||||
"-DWITHOUT_OQGRAPH=1"
|
"-DWITHOUT_OQGRAPH=1"
|
||||||
"-DWITHOUT_PLUGIN_S3=1"
|
"-DWITHOUT_PLUGIN_S3=1"
|
||||||
|
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
# revisit this if nixpkgs supports any architecture whose stack grows upwards
|
||||||
|
"-DSTACK_DIRECTION=-1"
|
||||||
|
"-DCMAKE_CROSSCOMPILING_EMULATOR=${stdenv.hostPlatform.emulator buildPackages}"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
preConfigure = lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||||
|
@ -2,17 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "t-rex";
|
pname = "t-rex";
|
||||||
version = "0.14.3-beta4";
|
version = "0.14.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "t-rex-tileserver";
|
owner = "t-rex-tileserver";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-EG/nnHxnBwlxreJ+RWHvKqLpaVtlU95+YTJynEnypOE=";
|
hash = "sha256-LUVk5li2cl/LKbhKOh6Bbwav0GEuI/vUbDPLn7NSRIs=";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-noDZNFZlfX6lZ4czsSrHXe7xbBLTD0Gz8i5EyfEp8lc=";
|
cargoHash = "sha256-I4QmjTTKUp9iugEwzM0xCcNLvF5ozeBdYmbi8sytY88=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
@ -21,6 +20,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Vector tile server specialized on publishing MVT tiles";
|
description = "Vector tile server specialized on publishing MVT tiles";
|
||||||
homepage = "https://t-rex.tileserver.ch/";
|
homepage = "https://t-rex.tileserver.ch/";
|
||||||
|
changelog = "https://github.com/t-rex-tileserver/t-rex/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ sikmir ];
|
maintainers = with maintainers; [ sikmir ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
27
pkgs/servers/web-apps/ethercalc/default.nix
Normal file
27
pkgs/servers/web-apps/ethercalc/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, pkgs
|
||||||
|
, lib
|
||||||
|
, nodejs-14_x
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
nodejs = nodejs-14_x;
|
||||||
|
|
||||||
|
nodePackages = import ./node-packages.nix {
|
||||||
|
inherit pkgs nodejs;
|
||||||
|
inherit (stdenv.hostPlatform) system;
|
||||||
|
};
|
||||||
|
|
||||||
|
ethercalc = lib.head (lib.attrValues nodePackages);
|
||||||
|
|
||||||
|
combined = ethercalc.override {
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Online collaborative spreadsheet";
|
||||||
|
license = with licenses; [ cpal10 artistic2 mit asl20 cc0 mpl20 ];
|
||||||
|
homepage = "https://github.com/audreyt/ethercalc";
|
||||||
|
maintainers = with maintainers; [ iblech ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
combined
|
15
pkgs/servers/web-apps/ethercalc/generate.sh
Executable file
15
pkgs/servers/web-apps/ethercalc/generate.sh
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/usr/bin/env nix-shell
|
||||||
|
#! nix-shell -i bash -p nodePackages.node2nix
|
||||||
|
|
||||||
|
# Run this script not via `./generate.sh`, but via `$PWD/generate.sh`.
|
||||||
|
# Else `nix-shell` will not find this script.
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd -- "$(dirname -- "$BASH_SOURCE[0]")"
|
||||||
|
|
||||||
|
node2nix \
|
||||||
|
--input node-packages.json \
|
||||||
|
--output node-packages-generated.nix \
|
||||||
|
--composition node-packages.nix \
|
||||||
|
--node-env ../../../development/node-packages/node-env.nix
|
2086
pkgs/servers/web-apps/ethercalc/node-packages-generated.nix
Normal file
2086
pkgs/servers/web-apps/ethercalc/node-packages-generated.nix
Normal file
File diff suppressed because it is too large
Load Diff
3
pkgs/servers/web-apps/ethercalc/node-packages.json
Normal file
3
pkgs/servers/web-apps/ethercalc/node-packages.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[
|
||||||
|
{ "whitebophir": "git+https://github.com/audreyt/ethercalc.git#b196277081d677be991d104e454a52d242ef0189" }
|
||||||
|
]
|
17
pkgs/servers/web-apps/ethercalc/node-packages.nix
generated
Normal file
17
pkgs/servers/web-apps/ethercalc/node-packages.nix
generated
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# This file has been generated by node2nix 1.9.0. Do not edit!
|
||||||
|
|
||||||
|
{pkgs ? import <nixpkgs> {
|
||||||
|
inherit system;
|
||||||
|
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-12_x"}:
|
||||||
|
|
||||||
|
let
|
||||||
|
nodeEnv = import ../../../development/node-packages/node-env.nix {
|
||||||
|
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
|
||||||
|
inherit pkgs nodejs;
|
||||||
|
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
import ./node-packages-generated.nix {
|
||||||
|
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
|
||||||
|
inherit nodeEnv;
|
||||||
|
}
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
pname = "plausible";
|
pname = "plausible";
|
||||||
version = "1.4.0";
|
version = "1.4.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "plausible";
|
owner = "plausible";
|
||||||
repo = "analytics";
|
repo = "analytics";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1d31y7mwvml17w97dm5c4312n0ciq39kf4hz3g80hdzbbn72mi4q";
|
sha256 = "1aa5nkwb4qz599zb77dhwrvn5gwcdiyji4vbxmayn2zhv2vhj36d";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO consider using `mix2nix` as soon as it supports git dependencies.
|
# TODO consider using `mix2nix` as soon as it supports git dependencies.
|
||||||
|
@ -64,5 +64,5 @@
|
|||||||
"webpack-bundle-analyzer": "^4.4.2"
|
"webpack-bundle-analyzer": "^4.4.2"
|
||||||
},
|
},
|
||||||
"name": "plausible",
|
"name": "plausible",
|
||||||
"version": "v1.4.0"
|
"version": "v1.4.3"
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -34,28 +34,28 @@ let
|
|||||||
tomlplusplus = fetchFromGitHub {
|
tomlplusplus = fetchFromGitHub {
|
||||||
owner = "marzer";
|
owner = "marzer";
|
||||||
repo = "tomlplusplus";
|
repo = "tomlplusplus";
|
||||||
rev = "47216c8a73d77e7431ec536fb3e251aed06cc420";
|
rev = "8e669aa6990e0ed219c169d491472d749f54c393";
|
||||||
sha256 = "sha256-cwAzWu5j3ch/56a6JmEoKCsxVNTk6tiZswNdNT6qzX0=";
|
sha256 = "sha256-l8ckbCqjz3GUfwStcl3H2C+un5dZfT2uLtayvdu93D4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Derived from vst3.wrap
|
# Derived from vst3.wrap
|
||||||
vst3 = fetchFromGitHub {
|
vst3 = fetchFromGitHub {
|
||||||
owner = "robbert-vdh";
|
owner = "robbert-vdh";
|
||||||
repo = "vst3sdk";
|
repo = "vst3sdk";
|
||||||
rev = "v3.7.3_build_20-patched";
|
rev = "v3.7.4_build_25-patched";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
sha256 = "sha256-m2y7No7BNbIjLNgdAqIAEr6UuAZZ/wwM2+iPWKK17gQ=";
|
sha256 = "sha256-oHRJZItw+he5M+beVZkUrhJir6rgFZ80ORzA73mJT2A=";
|
||||||
};
|
};
|
||||||
in multiStdenv.mkDerivation rec {
|
in multiStdenv.mkDerivation rec {
|
||||||
pname = "yabridge";
|
pname = "yabridge";
|
||||||
version = "3.7.0";
|
version = "3.8.0";
|
||||||
|
|
||||||
# NOTE: Also update yabridgectl's cargoHash when this is updated
|
# NOTE: Also update yabridgectl's cargoHash when this is updated
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "robbert-vdh";
|
owner = "robbert-vdh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-dz7kScNrVUsjokJntzUCJzDIboqi3vQI+RpXl0UFmUQ=";
|
sha256 = "sha256-XacJjHxsp60/l36pFPGonUyOsyFF2lmqplAaisHXZDY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Unpack subproject sources
|
# Unpack subproject sources
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
diff --git a/meson.build b/meson.build
|
diff --git a/meson.build b/meson.build
|
||||||
index 8eae0442..ec0649da 100644
|
index 95ecb728..cb30f3af 100644
|
||||||
--- a/meson.build
|
--- a/meson.build
|
||||||
+++ b/meson.build
|
+++ b/meson.build
|
||||||
@@ -196,6 +196,7 @@ if with_32bit_libraries or with_bitbridge
|
@@ -201,6 +201,7 @@ if with_32bit_libraries or with_bitbridge
|
||||||
'boost_filesystem',
|
'boost_filesystem',
|
||||||
static : with_static_boost,
|
static : with_static_boost,
|
||||||
dirs : [
|
dirs : [
|
||||||
@ -10,7 +10,7 @@ index 8eae0442..ec0649da 100644
|
|||||||
# Used by Arch based distros
|
# Used by Arch based distros
|
||||||
'/usr/local/lib32',
|
'/usr/local/lib32',
|
||||||
'/usr/lib32',
|
'/usr/lib32',
|
||||||
@@ -219,7 +220,7 @@ if is_64bit_system
|
@@ -224,7 +225,7 @@ if is_64bit_system
|
||||||
xcb_64bit_dep = dependency('xcb')
|
xcb_64bit_dep = dependency('xcb')
|
||||||
endif
|
endif
|
||||||
if with_32bit_libraries or with_bitbridge
|
if with_32bit_libraries or with_bitbridge
|
||||||
@ -20,7 +20,7 @@ index 8eae0442..ec0649da 100644
|
|||||||
|
|
||||||
# These are all headers-only libraries, and thus won't require separate 32-bit
|
# These are all headers-only libraries, and thus won't require separate 32-bit
|
||||||
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
|
diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp
|
||||||
index 6e32b4c9..f6eb09eb 100644
|
index 1a457f03..20ca1e63 100644
|
||||||
--- a/src/plugin/utils.cpp
|
--- a/src/plugin/utils.cpp
|
||||||
+++ b/src/plugin/utils.cpp
|
+++ b/src/plugin/utils.cpp
|
||||||
@@ -107,7 +107,7 @@ std::string PluginInfo::wine_version() const {
|
@@ -107,7 +107,7 @@ std::string PluginInfo::wine_version() const {
|
||||||
|
@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
src = yabridge.src;
|
src = yabridge.src;
|
||||||
sourceRoot = "source/tools/yabridgectl";
|
sourceRoot = "source/tools/yabridgectl";
|
||||||
cargoSha256 = "sha256-/VREh/f4bAt2DXCqK0noEjn+4hcK5VZUn+gdbYbeAmk=";
|
cargoSha256 = "sha256-pwy2Q2HUCihr7W81hGvDm9EiZHk9G8knSy0yxPy6hl8=";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# By default, yabridgectl locates libyabridge.so by using
|
# By default, yabridgectl locates libyabridge.so by using
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
diff --git a/tools/yabridgectl/src/config.rs b/tools/yabridgectl/src/config.rs
|
diff --git a/tools/yabridgectl/src/config.rs b/tools/yabridgectl/src/config.rs
|
||||||
index bc5ccfc4..c6d119bc 100644
|
index bc5f6a81..0fcd38d3 100644
|
||||||
--- a/tools/yabridgectl/src/config.rs
|
--- a/tools/yabridgectl/src/config.rs
|
||||||
+++ b/tools/yabridgectl/src/config.rs
|
+++ b/tools/yabridgectl/src/config.rs
|
||||||
@@ -23,6 +23,7 @@ use std::collections::{BTreeMap, BTreeSet, HashSet};
|
@@ -23,6 +23,7 @@ use std::collections::{BTreeMap, BTreeSet, HashSet};
|
||||||
@ -10,7 +10,7 @@ index bc5ccfc4..c6d119bc 100644
|
|||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use which::which;
|
use which::which;
|
||||||
use xdg::BaseDirectories;
|
use xdg::BaseDirectories;
|
||||||
@@ -233,34 +234,24 @@ impl Config {
|
@@ -235,34 +236,27 @@ impl Config {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
@ -20,6 +20,8 @@ index bc5ccfc4..c6d119bc 100644
|
|||||||
- // in the error message when `libyabridge-vst2.so` can't be found.
|
- // in the error message when `libyabridge-vst2.so` can't be found.
|
||||||
- let system_path = Path::new("/usr/lib");
|
- let system_path = Path::new("/usr/lib");
|
||||||
+ // Search through NIX_PROFILES & data home directory if no path was set explicitly.
|
+ // Search through NIX_PROFILES & data home directory if no path was set explicitly.
|
||||||
|
+ // NIX_PROFILES is iterated in reverse from the most specific (the user profile) to
|
||||||
|
+ // the least specific (the system profile).
|
||||||
+ let nix_profiles = env::var("NIX_PROFILES");
|
+ let nix_profiles = env::var("NIX_PROFILES");
|
||||||
let user_path = xdg_dirs.get_data_home();
|
let user_path = xdg_dirs.get_data_home();
|
||||||
- let lib_directories = [
|
- let lib_directories = [
|
||||||
@ -35,6 +37,7 @@ index bc5ccfc4..c6d119bc 100644
|
|||||||
- ];
|
- ];
|
||||||
+ let lib_directories = nix_profiles.iter()
|
+ let lib_directories = nix_profiles.iter()
|
||||||
+ .flat_map(|profiles| profiles.split(' ')
|
+ .flat_map(|profiles| profiles.split(' ')
|
||||||
|
+ .rev()
|
||||||
+ .map(|profile| Path::new(profile).join("lib")))
|
+ .map(|profile| Path::new(profile).join("lib")))
|
||||||
+ .chain(iter::once(user_path.clone()));
|
+ .chain(iter::once(user_path.clone()));
|
||||||
+
|
+
|
||||||
@ -56,12 +59,12 @@ index bc5ccfc4..c6d119bc 100644
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs
|
diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs
|
||||||
index 8c273f92..432619ec 100644
|
index 48cce4fa..209e40e4 100644
|
||||||
--- a/tools/yabridgectl/src/main.rs
|
--- a/tools/yabridgectl/src/main.rs
|
||||||
+++ b/tools/yabridgectl/src/main.rs
|
+++ b/tools/yabridgectl/src/main.rs
|
||||||
@@ -148,7 +148,7 @@ fn main() -> Result<()> {
|
@@ -151,7 +151,7 @@ fn main() -> Result<()> {
|
||||||
.about("Path to the directory containing 'libyabridge-{vst2,vst3}.so'")
|
.help("Path to the directory containing 'libyabridge-{vst2,vst3}.so'")
|
||||||
.long_about(
|
.long_help(
|
||||||
"Path to the directory containing 'libyabridge-{vst2,vst3}.so'. If this \
|
"Path to the directory containing 'libyabridge-{vst2,vst3}.so'. If this \
|
||||||
- is not set, then yabridgectl will look in both '/usr/lib' and \
|
- is not set, then yabridgectl will look in both '/usr/lib' and \
|
||||||
+ is not set, then yabridgectl will look through 'NIX_PROFILES' and \
|
+ is not set, then yabridgectl will look through 'NIX_PROFILES' and \
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "fd";
|
pname = "fd";
|
||||||
version = "8.3.1";
|
version = "8.3.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = "fd";
|
repo = "fd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-1Fxkd37KoFkUYYeFTaCAtndCa00lZB2KptsKIwpIt2o=";
|
sha256 = "sha256-aNAV0FVZEqtTdgvnLiS1ixtsPU48rUOZdmj07MiMVKg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-qymlTuFnYMbldNDGVDpkLCC0QQK1il/LAXcIil5koCo=";
|
cargoSha256 = "sha256-A8MAgV7/6Vf+PaND+gaZz8IEq4Cw9ETEY+lF8R77lA4=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "vivid";
|
pname = "vivid";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sharkdp";
|
owner = "sharkdp";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-2rdNjpJrBuj6toLFzFJScNh6od5qUhkSaZF+NbPBlQA=";
|
sha256 = "sha256-83ff0T2P5aRQ6cM9z7IEuoi7syvJldIuzzdiTrygckA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-1aox1eiF3hu5guBjRcM3qb6mHJOutI+yargW7X4cFfg=";
|
cargoSha256 = "sha256-W1tLQTTMOKB/BR9P3y3goPIdOe12Qdkf4wYPlhbQjzY=";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A generator for LS_COLORS with support for multiple color themes";
|
description = "A generator for LS_COLORS with support for multiple color themes";
|
||||||
|
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "kube-hunter";
|
pname = "kube-hunter";
|
||||||
version = "0.6.4";
|
version = "0.6.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aquasecurity";
|
owner = "aquasecurity";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "066pivd9mdhy24n40m9917zr5f9gh4fva4zmxk9vyppgk1b3mpwc";
|
sha256 = "sha256-2pmViizQLwyTdP6J92ynvdIdqkfgc6SIhsll85g9pHA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
@ -7,16 +7,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gdu";
|
pname = "gdu";
|
||||||
version = "5.12.1";
|
version = "5.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "dundee";
|
owner = "dundee";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pXHMNyebUkHEZvUWtDkyp5Fqk07GA5sd+254fls8PjU=";
|
sha256 = "sha256-yOYwPr/Yz/PGpCZtv/dWVFgll6VM7wQEtU/jEVpMjlE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "0ls0pw1m6hy203cdkmp9847h2fmvc4hjkv5x2v6r7516cqbs25ac";
|
vendorSha256 = "sha256-9+Zez33oET0nx/Xm3fXh1WFoQduMBodvml1oGO6jUYc=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
@ -4253,7 +4253,7 @@ with pkgs;
|
|||||||
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
|
anthy = callPackage ../tools/inputmethods/ibus-engines/ibus-anthy { };
|
||||||
|
|
||||||
bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo {
|
bamboo = callPackage ../tools/inputmethods/ibus-engines/ibus-bamboo {
|
||||||
go = go_1_15;
|
go = go_1_17;
|
||||||
};
|
};
|
||||||
|
|
||||||
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
|
hangul = callPackage ../tools/inputmethods/ibus-engines/ibus-hangul { };
|
||||||
@ -5131,6 +5131,8 @@ with pkgs;
|
|||||||
electron = electron_14;
|
electron = electron_14;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ethercalc = callPackage ../servers/web-apps/ethercalc { };
|
||||||
|
|
||||||
ethtool = callPackage ../tools/misc/ethtool { };
|
ethtool = callPackage ../tools/misc/ethtool { };
|
||||||
|
|
||||||
ettercap = callPackage ../applications/networking/sniffers/ettercap { };
|
ettercap = callPackage ../applications/networking/sniffers/ettercap { };
|
||||||
@ -16568,8 +16570,7 @@ with pkgs;
|
|||||||
ganv = callPackage ../development/libraries/ganv { };
|
ganv = callPackage ../development/libraries/ganv { };
|
||||||
|
|
||||||
garble = callPackage ../build-support/go/garble.nix {
|
garble = callPackage ../build-support/go/garble.nix {
|
||||||
# https://github.com/burrowers/garble/issues/124
|
buildGoModule = buildGo117Module;
|
||||||
buildGoModule = buildGo115Module;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
gcab = callPackage ../development/libraries/gcab { };
|
gcab = callPackage ../development/libraries/gcab { };
|
||||||
|
@ -4043,12 +4043,12 @@ let
|
|||||||
|
|
||||||
CPAN = buildPerlPackage {
|
CPAN = buildPerlPackage {
|
||||||
pname = "CPAN";
|
pname = "CPAN";
|
||||||
version = "2.28";
|
version = "2.29";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://cpan/authors/id/A/AN/ANDK/CPAN-2.28.tar.gz";
|
url = "mirror://cpan/authors/id/A/AN/ANDK/CPAN-2.29.tar.gz";
|
||||||
sha256 = "39d357489283d479695027640d7fc25b42ec3c52003071d1ec94496e34af5974";
|
sha256 = "1f55672efd505a9baacfa1924d115362120aa6bf8efab7a17c7cb090b17ccc41";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ ArchiveZip CPANChecksums CPANPerlReleases Expect FileHomeDir LWP LogLog4perl ModuleBuild TermReadKey YAML YAMLLibYAML YAMLSyck ];
|
propagatedBuildInputs = [ ArchiveZip CPANChecksums CPANPerlReleases CompressBzip2 Expect FileHomeDir FileWhich LWP LogLog4perl ModuleSignature TermReadKey TextGlob YAML YAMLLibYAML YAMLSyck IOSocketSSL ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "Query, download and build perl modules from CPAN sites";
|
description = "Query, download and build perl modules from CPAN sites";
|
||||||
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
license = with lib.licenses; [ artistic1 gpl1Plus ];
|
||||||
@ -11417,11 +11417,11 @@ let
|
|||||||
|
|
||||||
ImageExifTool = buildPerlPackage rec {
|
ImageExifTool = buildPerlPackage rec {
|
||||||
pname = "Image-ExifTool";
|
pname = "Image-ExifTool";
|
||||||
version = "12.29";
|
version = "12.39";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
|
url = "https://exiftool.org/Image-ExifTool-${version}.tar.gz";
|
||||||
sha256 = "09yszwhirprqr94jwrsr9kyav5syv0mjmnjngqn20fn7m135wv95";
|
sha256 = "sha256-QDq1KTpEcl8EWj9a/bxF0TwghUulH30O5yDV0wsxy6I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||||
|
Loading…
Reference in New Issue
Block a user