mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge master into haskell-updates
This commit is contained in:
commit
58fc40f32e
@ -11074,22 +11074,6 @@
|
||||
githubId = 132835;
|
||||
name = "Samuel Dionne-Riel";
|
||||
};
|
||||
samuelgrf = {
|
||||
email = "s@muel.gr";
|
||||
github = "samuelgrf";
|
||||
githubId = 67663538;
|
||||
name = "Samuel Gräfenstein";
|
||||
keys = [
|
||||
{
|
||||
longkeyid = "rsa4096/0xDE75F92E318123F0";
|
||||
fingerprint = "6F2E 2A90 423C 8111 BFF2 895E DE75 F92E 3181 23F0";
|
||||
}
|
||||
{
|
||||
longkeyid = "rsa4096/0xEF76A063F15C63C8";
|
||||
fingerprint = "FF24 5832 8FAF 4660 18C6 186E EF76 A063 F15C 63C8";
|
||||
}
|
||||
];
|
||||
};
|
||||
samuelrivas = {
|
||||
email = "samuelrivas@gmail.com";
|
||||
github = "samuelrivas";
|
||||
|
@ -159,34 +159,42 @@ The following methods are available on machine objects:
|
||||
`execute`
|
||||
|
||||
: Execute a shell command, returning a list `(status, stdout)`.
|
||||
|
||||
Commands are run with `set -euo pipefail` set:
|
||||
|
||||
- If several commands are separated by `;` and one fails, the
|
||||
command as a whole will fail.
|
||||
|
||||
- For pipelines, the last non-zero exit status will be returned
|
||||
(if there is one; otherwise zero will be returned).
|
||||
|
||||
- Dereferencing unset variables fails the command.
|
||||
|
||||
- It will wait for stdout to be closed.
|
||||
|
||||
If the command detaches, it must close stdout, as `execute` will wait
|
||||
for this to consume all output reliably. This can be achieved by
|
||||
redirecting stdout to stderr `>&2`, to `/dev/console`, `/dev/null` or
|
||||
a file. Examples of detaching commands are `sleep 365d &`, where the
|
||||
shell forks a new process that can write to stdout and `xclip -i`, where
|
||||
the `xclip` command itself forks without closing stdout.
|
||||
|
||||
Takes an optional parameter `check_return` that defaults to `True`.
|
||||
Setting this parameter to `False` will not check for the return code
|
||||
and return -1 instead. This can be used for commands that shut down
|
||||
the VM and would therefore break the pipe that would be used for
|
||||
retrieving the return code.
|
||||
|
||||
A timeout for the command can be specified (in seconds) using the optional
|
||||
`timeout` parameter, e.g., `execute(cmd, timeout=10)` or
|
||||
`execute(cmd, timeout=None)`. The default is 900 seconds.
|
||||
|
||||
`succeed`
|
||||
|
||||
: Execute a shell command, raising an exception if the exit status is
|
||||
not zero, otherwise returning the standard output. Commands are run
|
||||
with `set -euo pipefail` set:
|
||||
|
||||
- If several commands are separated by `;` and one fails, the
|
||||
command as a whole will fail.
|
||||
|
||||
- For pipelines, the last non-zero exit status will be returned
|
||||
(if there is one, zero will be returned otherwise).
|
||||
|
||||
- Dereferencing unset variables fail the command.
|
||||
|
||||
- It will wait for stdout to be closed. See `execute` for the
|
||||
implications.
|
||||
not zero, otherwise returning the standard output. Similar to `execute`,
|
||||
except that the timeout is `None` by default. See `execute` for details on
|
||||
command execution.
|
||||
|
||||
`fail`
|
||||
|
||||
@ -196,10 +204,13 @@ The following methods are available on machine objects:
|
||||
`wait_until_succeeds`
|
||||
|
||||
: Repeat a shell command with 1-second intervals until it succeeds.
|
||||
Has a default timeout of 900 seconds which can be modified, e.g.
|
||||
`wait_until_succeeds(cmd, timeout=10)`. See `execute` for details on
|
||||
command execution.
|
||||
|
||||
`wait_until_fails`
|
||||
|
||||
: Repeat a shell command with 1-second intervals until it fails.
|
||||
: Like `wait_until_succeeds`, but repeating the command until it fails.
|
||||
|
||||
`wait_for_unit`
|
||||
|
||||
|
@ -274,35 +274,9 @@ start_all()
|
||||
<listitem>
|
||||
<para>
|
||||
Execute a shell command, returning a list
|
||||
<literal>(status, stdout)</literal>. If the command
|
||||
detaches, it must close stdout, as
|
||||
<literal>execute</literal> will wait for this to consume all
|
||||
output reliably. This can be achieved by redirecting stdout
|
||||
to stderr <literal>>&2</literal>, to
|
||||
<literal>/dev/console</literal>,
|
||||
<literal>/dev/null</literal> or a file. Examples of
|
||||
detaching commands are <literal>sleep 365d &</literal>,
|
||||
where the shell forks a new process that can write to stdout
|
||||
and <literal>xclip -i</literal>, where the
|
||||
<literal>xclip</literal> command itself forks without
|
||||
closing stdout. Takes an optional parameter
|
||||
<literal>check_return</literal> that defaults to
|
||||
<literal>True</literal>. Setting this parameter to
|
||||
<literal>False</literal> will not check for the return code
|
||||
and return -1 instead. This can be used for commands that
|
||||
shut down the VM and would therefore break the pipe that
|
||||
would be used for retrieving the return code.
|
||||
<literal>(status, stdout)</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<literal>succeed</literal>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Execute a shell command, raising an exception if the exit
|
||||
status is not zero, otherwise returning the standard output.
|
||||
Commands are run with <literal>set -euo pipefail</literal>
|
||||
set:
|
||||
</para>
|
||||
@ -317,22 +291,63 @@ start_all()
|
||||
<listitem>
|
||||
<para>
|
||||
For pipelines, the last non-zero exit status will be
|
||||
returned (if there is one, zero will be returned
|
||||
otherwise).
|
||||
returned (if there is one; otherwise zero will be
|
||||
returned).
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Dereferencing unset variables fail the command.
|
||||
Dereferencing unset variables fails the command.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
It will wait for stdout to be closed. See
|
||||
<literal>execute</literal> for the implications.
|
||||
It will wait for stdout to be closed.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<para>
|
||||
If the command detaches, it must close stdout, as
|
||||
<literal>execute</literal> will wait for this to consume all
|
||||
output reliably. This can be achieved by redirecting stdout
|
||||
to stderr <literal>>&2</literal>, to
|
||||
<literal>/dev/console</literal>,
|
||||
<literal>/dev/null</literal> or a file. Examples of
|
||||
detaching commands are <literal>sleep 365d &</literal>,
|
||||
where the shell forks a new process that can write to stdout
|
||||
and <literal>xclip -i</literal>, where the
|
||||
<literal>xclip</literal> command itself forks without
|
||||
closing stdout.
|
||||
</para>
|
||||
<para>
|
||||
Takes an optional parameter <literal>check_return</literal>
|
||||
that defaults to <literal>True</literal>. Setting this
|
||||
parameter to <literal>False</literal> will not check for the
|
||||
return code and return -1 instead. This can be used for
|
||||
commands that shut down the VM and would therefore break the
|
||||
pipe that would be used for retrieving the return code.
|
||||
</para>
|
||||
<para>
|
||||
A timeout for the command can be specified (in seconds)
|
||||
using the optional <literal>timeout</literal> parameter,
|
||||
e.g., <literal>execute(cmd, timeout=10)</literal> or
|
||||
<literal>execute(cmd, timeout=None)</literal>. The default
|
||||
is 900 seconds.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<literal>succeed</literal>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Execute a shell command, raising an exception if the exit
|
||||
status is not zero, otherwise returning the standard output.
|
||||
Similar to <literal>execute</literal>, except that the
|
||||
timeout is <literal>None</literal> by default. See
|
||||
<literal>execute</literal> for details on command execution.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
@ -353,7 +368,10 @@ start_all()
|
||||
<listitem>
|
||||
<para>
|
||||
Repeat a shell command with 1-second intervals until it
|
||||
succeeds.
|
||||
succeeds. Has a default timeout of 900 seconds which can be
|
||||
modified, e.g.
|
||||
<literal>wait_until_succeeds(cmd, timeout=10)</literal>. See
|
||||
<literal>execute</literal> for details on command execution.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -363,8 +381,8 @@ start_all()
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Repeat a shell command with 1-second intervals until it
|
||||
fails.
|
||||
Like <literal>wait_until_succeeds</literal>, but repeating
|
||||
the command until it fails.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -526,10 +526,17 @@ class Machine:
|
||||
self.run_callbacks()
|
||||
self.connect()
|
||||
|
||||
if timeout is not None:
|
||||
command = "timeout {} sh -c {}".format(timeout, shlex.quote(command))
|
||||
# Always run command with shell opts
|
||||
command = f"set -euo pipefail; {command}"
|
||||
|
||||
timeout_str = ""
|
||||
if timeout is not None:
|
||||
timeout_str = f"timeout {timeout}"
|
||||
|
||||
out_command = (
|
||||
f"{timeout_str} sh -c {shlex.quote(command)} | (base64 --wrap 0; echo)\n"
|
||||
)
|
||||
|
||||
out_command = f"( set -euo pipefail; {command} ) | (base64 --wrap 0; echo)\n"
|
||||
assert self.shell
|
||||
self.shell.send(out_command.encode())
|
||||
|
||||
|
@ -151,6 +151,7 @@ in
|
||||
users.users.${cfg.user} = {
|
||||
isSystemUser = true;
|
||||
group = cfg.group;
|
||||
home = cfg.home;
|
||||
};
|
||||
|
||||
users.groups.${cfg.group} = {};
|
||||
|
@ -522,6 +522,29 @@ in {
|
||||
The nextcloud-occ program preconfigured to target this Nextcloud instance.
|
||||
'';
|
||||
};
|
||||
globalProfiles = mkEnableOption "global profiles" // {
|
||||
description = ''
|
||||
Makes user-profiles globally available under <literal>nextcloud.tld/u/user.name</literal>.
|
||||
Even though it's enabled by default in Nextcloud, it must be explicitly enabled
|
||||
here because it has the side-effect that personal information is even accessible to
|
||||
unauthenticated users by default.
|
||||
|
||||
By default, the following properties are set to <quote>Show to everyone</quote>
|
||||
if this flag is enabled:
|
||||
<itemizedlist>
|
||||
<listitem><para>About</para></listitem>
|
||||
<listitem><para>Full name</para></listitem>
|
||||
<listitem><para>Headline</para></listitem>
|
||||
<listitem><para>Organisation</para></listitem>
|
||||
<listitem><para>Profile picture</para></listitem>
|
||||
<listitem><para>Role</para></listitem>
|
||||
<listitem><para>Twitter</para></listitem>
|
||||
<listitem><para>Website</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
Only has an effect in Nextcloud 23 and later.
|
||||
'';
|
||||
};
|
||||
|
||||
nginx.recommendedHttpHeaders = mkOption {
|
||||
type = types.bool;
|
||||
@ -650,6 +673,8 @@ in {
|
||||
if x == null then "false"
|
||||
else boolToString x;
|
||||
|
||||
nextcloudGreaterOrEqualThan = req: versionAtLeast cfg.package.version req;
|
||||
|
||||
overrideConfig = pkgs.writeText "nextcloud-config.php" ''
|
||||
<?php
|
||||
${optionalString requiresReadSecretFunction ''
|
||||
@ -689,6 +714,7 @@ in {
|
||||
'trusted_domains' => ${writePhpArrary ([ cfg.hostName ] ++ c.extraTrustedDomains)},
|
||||
'trusted_proxies' => ${writePhpArrary (c.trustedProxies)},
|
||||
${optionalString (c.defaultPhoneRegion != null) "'default_phone_region' => '${c.defaultPhoneRegion}',"}
|
||||
${optionalString (nextcloudGreaterOrEqualThan "23") "'profile.enabled' => ${boolToString cfg.globalProfiles}"}
|
||||
${objectstoreConfig}
|
||||
];
|
||||
'';
|
||||
|
@ -9,6 +9,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||
'';
|
||||
in
|
||||
{
|
||||
name = "step-ca";
|
||||
nodes =
|
||||
{
|
||||
caserver =
|
||||
|
@ -30,10 +30,11 @@ import ../make-test-python.nix ({pkgs, ...}:
|
||||
'';
|
||||
};
|
||||
|
||||
services.redis = {
|
||||
services.redis.servers.peertube = {
|
||||
enable = true;
|
||||
bind = "0.0.0.0";
|
||||
requirePass = "turrQfaQwnanGbcsdhxy";
|
||||
port = 6379;
|
||||
};
|
||||
};
|
||||
|
||||
@ -109,7 +110,7 @@ import ../make-test-python.nix ({pkgs, ...}:
|
||||
start_all()
|
||||
|
||||
database.wait_for_unit("postgresql.service")
|
||||
database.wait_for_unit("redis.service")
|
||||
database.wait_for_unit("redis-peertube.service")
|
||||
|
||||
database.wait_for_open_port(5432)
|
||||
database.wait_for_open_port(6379)
|
||||
|
@ -1,66 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, meson, gtk3, at-spi2-core, dbus, gst_all_1, sphinxbase, pocketsphinx, ninja, gettext, appstream-glib, python3, glib, gobject-introspection, gsettings-desktop-schemas, itstool, wrapGAppsHook, hicolor-icon-theme }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "parlatype";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gkarsay";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1k53q0kbwpnbgyr0lmfzf5sm4f93d8nbjrzdz9pdhzpxgihndg25";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
meson
|
||||
ninja
|
||||
gettext
|
||||
appstream-glib
|
||||
python3
|
||||
gobject-introspection
|
||||
itstool
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
at-spi2-core
|
||||
dbus
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
gst_all_1.gst-plugins-bad
|
||||
gst_all_1.gst-plugins-ugly
|
||||
gst_all_1.gst-libav
|
||||
sphinxbase
|
||||
pocketsphinx
|
||||
glib
|
||||
gsettings-desktop-schemas
|
||||
hicolor-icon-theme
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
chmod +x data/meson_post_install.py
|
||||
patchShebangs data/meson_post_install.py
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildPhase = ''
|
||||
export GST_PLUGIN_SYSTEM_PATH_1_0="$out/lib/gstreamer-1.0/:$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GNOME audio player for transcription";
|
||||
longDescription = ''
|
||||
Parlatype is a minimal audio player for manual speech transcription, written for the GNOME desktop environment.
|
||||
It plays audio sources to transcribe them in your favourite text application.
|
||||
It’s intended to be useful for journalists, students, scientists and whoever needs to transcribe audio files.
|
||||
'';
|
||||
homepage = "https://gkarsay.github.io/parlatype/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.melchips ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -9,13 +9,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chia-plotter";
|
||||
version = "1.1.7";
|
||||
version = "1.1.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "madMAx43v3r";
|
||||
repo = "chia-plotter";
|
||||
rev = "18cad340858f0dbcc8dafd0bda1ce1af0fe58c65";
|
||||
sha256 = "sha256-lXjeqcjn3+LtnVYngdM1T3on7V7wez4oOAZ0RpKJXMM=";
|
||||
rev = "9d7fd929919d1adde6404cb4718a665a81bcef6d";
|
||||
sha256 = "sha256-TMAly+Qof2DHPRHqE1nZuHQaCeMo0jEd8MWy4OlXrcs=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@ -25,10 +25,17 @@ stdenv.mkDerivation {
|
||||
src = ./dont_fetch_dependencies.patch;
|
||||
pybind11_src = python3Packages.pybind11.src;
|
||||
relic_src = fetchFromGitHub {
|
||||
owner = "relic-toolkit";
|
||||
owner = "Chia-Network";
|
||||
repo = "relic";
|
||||
rev = "1885ae3b681c423c72b65ce1fe70910142cf941c";
|
||||
hash = "sha256-tsSZTcssl8t7Nqdex4BesgQ+ACPgTdtHnJFvS9josN0=";
|
||||
rev = "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7";
|
||||
hash = "sha256-IfTD8DvTEXeLUoKe4Ejafb+PEJW5DV/VXRYuutwGQHU=";
|
||||
};
|
||||
sodium_src = fetchFromGitHub {
|
||||
owner = "AmineKhaldi";
|
||||
repo = "libsodium-cmake";
|
||||
rev = "f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65"; # pinned by upstream
|
||||
sha256 = "sha256-lGz7o6DQVAuEc7yTp8bYS2kwjzHwGaNjugDi1ruRJOA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
@ -11,30 +11,43 @@ index 255e3bb..5f99c3a 100644
|
||||
+ SOURCE_DIR @pybind11_src@
|
||||
)
|
||||
FetchContent_MakeAvailable(pybind11 relic)
|
||||
|
||||
diff --git a/lib/bls-signatures/src/CMakeLists.txt b/lib/bls-signatures/src/CMakeLists.txt
|
||||
index b762b5d..e06073b 100644
|
||||
--- a/lib/bls-signatures/src/CMakeLists.txt
|
||||
+++ b/lib/bls-signatures/src/CMakeLists.txt
|
||||
@@ -4,18 +4,11 @@ set (CMAKE_CXX_STANDARD 17)
|
||||
# CMake 3.14+
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6922167..23d8da6 100644
|
||||
--- a/lib/bls-signatures/CMakeLists.txt
|
||||
+++ b/lib/bls-signatures/CMakeLists.txt
|
||||
@@ -31,29 +31,18 @@ set(CMAKE_MODULE_PATH
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(Sodium
|
||||
- GIT_REPOSITORY https://github.com/AmineKhaldi/libsodium-cmake.git
|
||||
- # Latest commit at the moment this was added here
|
||||
- # Anchored to libsodium v1.0.18
|
||||
- GIT_TAG f73a3fe1afdc4e37ac5fe0ddd401bf521f6bba65
|
||||
+ URL @sodium_src@
|
||||
)
|
||||
set(SODIUM_PCH "on" CACHE STRING "")
|
||||
set(SODIUM_DISABLE_TESTS "on" CACHE STRING "")
|
||||
set(SODIUM_CHIA_MINIMAL "on" CACHE STRING "")
|
||||
FetchContent_MakeAvailable(Sodium)
|
||||
|
||||
-if (DEFINED ENV{RELIC_MAIN})
|
||||
- set(RELIC_GIT_TAG "origin/main")
|
||||
-else ()
|
||||
- set(RELIC_GIT_TAG "1885ae3b681c423c72b65ce1fe70910142cf941c")
|
||||
- # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
|
||||
- set(RELIC_GIT_TAG "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7")
|
||||
-endif ()
|
||||
-
|
||||
message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
|
||||
|
||||
FetchContent_Declare(
|
||||
relic
|
||||
- GIT_REPOSITORY https://github.com/relic-toolkit/relic.git
|
||||
- GIT_TAG ${RELIC_GIT_TAG}
|
||||
- GIT_REPOSITORY https://github.com/Chia-Network/relic.git
|
||||
- GIT_TAG ${RELIC_GIT_TAG}
|
||||
+ SOURCE_DIR @relic_src@
|
||||
)
|
||||
FetchContent_MakeAvailable(relic)
|
||||
|
||||
# Relic related options
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 970ec74..948441a 100644
|
||||
|
@ -216,9 +216,9 @@ in runCommand
|
||||
# source-code itself).
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; rec {
|
||||
stable = [ fabianhjr ];
|
||||
beta = [ fabianhjr ];
|
||||
canary = [ fabianhjr ];
|
||||
stable = [ ];
|
||||
beta = [ ];
|
||||
canary = [ ];
|
||||
dev = canary;
|
||||
}."${channel}";
|
||||
};
|
||||
|
@ -5,23 +5,31 @@
|
||||
, plz
|
||||
, cl-lib
|
||||
, ts
|
||||
, magit-section
|
||||
, taxy-magit-section
|
||||
, taxy
|
||||
, svg-lib
|
||||
}:
|
||||
|
||||
trivialBuild {
|
||||
pname = "ement";
|
||||
version = "unstable-2021-10-08";
|
||||
version = "unstable-2022-04-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alphapapa";
|
||||
repo = "ement.el";
|
||||
rev = "c951737dc855604aba389166bb0e7366afadc533";
|
||||
sha256 = "00iwwz4hzg4g59wrb5df6snqz3ppvrsadhfp61w1pa8gvg2z9bvy";
|
||||
rev = "70da19e4c9210d362b1d6d9c17ab2c034a03250d";
|
||||
sha256 = "sha256-Pxul0WrtyH2XZzF0fOOitLc3x/kc+Qc11RDH0n+Hm04=";
|
||||
};
|
||||
|
||||
packageRequires = [
|
||||
plz
|
||||
cl-lib
|
||||
ts
|
||||
magit-section
|
||||
taxy-magit-section
|
||||
taxy
|
||||
svg-lib
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
10
pkgs/applications/editors/emacs/elisp-packages/update
Executable file
10
pkgs/applications/editors/emacs/elisp-packages/update
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
./update-from-overlay
|
||||
|
||||
./update-manual
|
||||
git commit -m "emacs.pkgs.manualPackages: $(date --iso)" -- .
|
7
pkgs/applications/editors/emacs/elisp-packages/update-manual
Executable file
7
pkgs/applications/editors/emacs/elisp-packages/update-manual
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
nix-build --no-out-link update-manual.nix | xargs -n 1 -P $(nproc) bash -c
|
@ -0,0 +1,11 @@
|
||||
let
|
||||
pkgs = import ../../../../../. {
|
||||
config.allowBroken = true;
|
||||
};
|
||||
inherit (pkgs) lib emacs;
|
||||
inherit (lib) isDerivation hasAttr filterAttrs mapAttrs attrValues;
|
||||
|
||||
# Extract updateScript's from manually package emacs packages
|
||||
hasScript = filterAttrs (_: v: isDerivation v && hasAttr "updateScript" v) emacs.pkgs.manualPackages;
|
||||
|
||||
in attrValues (mapAttrs (_: v: v.updateScript) hasScript)
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "x16-emulator";
|
||||
version = "38";
|
||||
version = "40";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "commanderx16";
|
||||
repo = pname;
|
||||
rev = "r${version}";
|
||||
sha256 = "WNRq/m97NpOBWIk6mtxBAKmkxCGWacWjXeOvIhBrkYE=";
|
||||
hash = "sha256-7ZzVd2NJCFNAFrS2cj6bxcq/AzO5VakoFX9o1Ac9egg=";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D --mode 755 --target-directory $out/bin/ x16emu
|
||||
install -D --mode 444 --target-directory $out/share/doc/${pname} README.md
|
||||
|
||||
install -Dm 755 -t $out/bin/ x16emu
|
||||
install -Dm 444 -t $out/share/doc/${pname} README.md
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@ -31,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
description = "The official emulator of CommanderX16 8-bit computer";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = SDL2.meta.platforms;
|
||||
inherit (SDL2.meta) platforms;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
@ -2,20 +2,24 @@
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cc65
|
||||
, python3
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "x16-rom";
|
||||
version = "38";
|
||||
version = "40";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "commanderx16";
|
||||
repo = pname;
|
||||
rev = "r${version}";
|
||||
sha256 = "xaqF0ppB7I7ST8Uh3jPbC14uRAb/WH21tHlNeTvYpoI=";
|
||||
hash = "sha256-5oqttuTJiJOUENncOJipAar22OsI1uG3G69m+eYoSh0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cc65 ];
|
||||
nativeBuildInputs = [
|
||||
cc65
|
||||
python3
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs scripts/
|
||||
@ -25,8 +29,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -D --mode 444 --target-directory $out/share/${pname} build/x16/rom.bin
|
||||
install -D --mode 444 --target-directory $out/share/doc/${pname} README.md
|
||||
|
||||
install -Dm 444 -t $out/share/${pname} build/x16/rom.bin
|
||||
install -Dm 444 -t $out/share/doc/${pname} README.md
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
@ -35,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
description = "ROM file for CommanderX16 8-bit computer";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = cc65.meta.platforms;
|
||||
inherit (cc65.meta) platforms;
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
@ -56,7 +56,7 @@ let
|
||||
, stdenvOverride ? stdenv
|
||||
, src ? (getCoreSrc core)
|
||||
, broken ? false
|
||||
, version ? "unstable-2022-04-08"
|
||||
, version ? "unstable-2022-04-21"
|
||||
, platforms ? retroarch.meta.platforms
|
||||
# The resulting core file is based on core name
|
||||
# Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename
|
||||
@ -359,6 +359,7 @@ in
|
||||
core = "dosbox";
|
||||
description = "Port of DOSBox to libretro";
|
||||
license = lib.licenses.gpl2Only;
|
||||
stdenvOverride = gcc10Stdenv;
|
||||
};
|
||||
|
||||
eightyone = mkLibRetroCore {
|
||||
|
@ -35,11 +35,11 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.10.2";
|
||||
version = "1.10.3";
|
||||
libretroCoreInfo = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "libretro-core-info";
|
||||
sha256 = "sha256-XOSIVH3BSwAFKUeRvyYc2OXDa+TLjoKVGl+b8fgnvtY=";
|
||||
sha256 = "sha256-wIIMEWrria8bZe/rcoJwDA9aCMWwbkDQFyEU80TZXFQ=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
runtimeLibs = lib.optional withVulkan vulkan-loader
|
||||
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "libretro";
|
||||
repo = "RetroArch";
|
||||
sha256 = "sha256-fMsHMQiEoXeFKITxeEyRH829z5SCf8p0Hxq6ww1p3z4=";
|
||||
sha256 = "sha256-nAv1yv0laqlOmB8UUkK5wSYy/ySqXloEErm+yV30bbA=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
|
@ -20,8 +20,8 @@
|
||||
"beetle-ngp": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-ngp-libretro",
|
||||
"rev": "6abc74d9dc6a86460ab71c93c153fe1cb8ef4dbb",
|
||||
"sha256": "+p3MwlzwwTghIKTDMzkqGlxhZiy/Px7xaDK3a0JagUE="
|
||||
"rev": "facf8e1f5440c5d289258ee3c483710f3bf916fb",
|
||||
"sha256": "vDKDt7MvCB9XQYP291cwcEPDxfNIVgNSWtBYz9PVgcw="
|
||||
},
|
||||
"beetle-pce-fast": {
|
||||
"owner": "libretro",
|
||||
@ -32,20 +32,20 @@
|
||||
"beetle-pcfx": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-pcfx-libretro",
|
||||
"rev": "00abc26cafb15cc33dcd73f4bd6b93cbaab6e1ea",
|
||||
"sha256": "4a1wV3WKZmg1ed3BD0PN0Ap9E9XahQtilRWTGV5Ns3g="
|
||||
"rev": "bfc0954e14b261a04dcf8dbe0df8798f16ae3f3c",
|
||||
"sha256": "XzCb1lZFYgsg+3eQ1OqyycNxCgLtZFA30rno3ytdnoM="
|
||||
},
|
||||
"beetle-psx": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-psx-libretro",
|
||||
"rev": "88929ae90b4807a41b1b240377ab440e39ecf2cc",
|
||||
"sha256": "5AX5FPsmsqGWCNzLgJ7lsekZaIdano2j5sb4qUkD4cQ="
|
||||
"rev": "5a24d54d30dd00d817d267cf92fd5b3f4640928f",
|
||||
"sha256": "uG1BhElNW75PnfM+rEYfbl97iwRT89hnl84yvlgx6fg="
|
||||
},
|
||||
"beetle-saturn": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-saturn-libretro",
|
||||
"rev": "ae30f29e340a00b33e38df85ceaa599151a47cd7",
|
||||
"sha256": "nc239PRM/TfkZMWm4Zl5kSoZBQcrMcMudupvCJtTBlc="
|
||||
"rev": "dd18f9c477106263b3b7b050f4970d331ff7b23a",
|
||||
"sha256": "RN5dmORtNOjIklSz/n11lz37bZ4IcPD7cyRcBGS4Oi8="
|
||||
},
|
||||
"beetle-snes": {
|
||||
"owner": "libretro",
|
||||
@ -62,14 +62,14 @@
|
||||
"beetle-vb": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-vb-libretro",
|
||||
"rev": "a91437af0879124aa00b6cb30ca1189f2c84b7cb",
|
||||
"sha256": "ryahr/g6PDvUKCPkF1D8xozNGNCa4bLw63b5Ra9Vsfo="
|
||||
"rev": "246555f8ed7e0b9e5748b2ee2ed6743187c61393",
|
||||
"sha256": "96lQlDqx2bvFeovqGGkemxqS2zlHw92O6YeTEGlgf34="
|
||||
},
|
||||
"beetle-wswan": {
|
||||
"owner": "libretro",
|
||||
"repo": "beetle-wswan-libretro",
|
||||
"rev": "089a62477c5f51ac746a5fc8eacf3599e9feb649",
|
||||
"sha256": "yaaEJ+XgrBgtTEkffgnxvt2mrp5dsDYJ+TTxCZZU5OE="
|
||||
"rev": "d1fb3f399a2bc16b9ad0f2e8c8ba9f7051cd26bd",
|
||||
"sha256": "p9mJv7zBFjNh1sh5iAjBZzxP6k8ydUNDXLQIjHl9doQ="
|
||||
},
|
||||
"blastem": {
|
||||
"owner": "libretro",
|
||||
@ -135,8 +135,8 @@
|
||||
"eightyone": {
|
||||
"owner": "libretro",
|
||||
"repo": "81-libretro",
|
||||
"rev": "6aba19246c1ec08f3de5659b2dbc3277ec6bfb97",
|
||||
"sha256": "2G6NkNlvqvP5RM35ydppnr2/RRbeiIpM2HKOpt8PkgU="
|
||||
"rev": "2e34567a320cba27b9162b1776db4de3cdb7cf03",
|
||||
"sha256": "vjrHRLzc9Fy0MwV9d+LlcJTGJfVsRauEig8R+erBtfw="
|
||||
},
|
||||
"fbalpha2012": {
|
||||
"owner": "libretro",
|
||||
@ -147,8 +147,8 @@
|
||||
"fbneo": {
|
||||
"owner": "libretro",
|
||||
"repo": "fbneo",
|
||||
"rev": "01bf2e189dcd96f978c3a4ae7bbbb00f2d90aabf",
|
||||
"sha256": "naCfGSrwA9vO3Cu2rHLplCMcTbpx6S/sapwisFCcL5c="
|
||||
"rev": "e4625a196b9232ba93a156e3a5164aa11193f20a",
|
||||
"sha256": "/5JmwuLWWBQWXnqCMjKzOC2XG6wo5a6xgQOYX1P1zcw="
|
||||
},
|
||||
"fceumm": {
|
||||
"owner": "libretro",
|
||||
@ -165,8 +165,8 @@
|
||||
"fmsx": {
|
||||
"owner": "libretro",
|
||||
"repo": "fmsx-libretro",
|
||||
"rev": "f9ea9eacd49297783c216d147dcc1a22465b2749",
|
||||
"sha256": "nDsaaUeZUm4zTj07+2nPDefoDpw18vXdhQr1BH6/4eY="
|
||||
"rev": "11fa9f3c08cde567394c41320ca76798c2c64670",
|
||||
"sha256": "1u5c5oDIjjXEquh6UBv2H1F/Ln7h44DTF1ohDG0Qnww="
|
||||
},
|
||||
"freeintv": {
|
||||
"owner": "libretro",
|
||||
@ -183,26 +183,26 @@
|
||||
"genesis-plus-gx": {
|
||||
"owner": "libretro",
|
||||
"repo": "Genesis-Plus-GX",
|
||||
"rev": "144045b30a18ab4b27c3ae46490274988f302748",
|
||||
"sha256": "ydnyPdkJmM+xhuJqIOxZISFcTN8RFgOLbnRvOBJORek="
|
||||
"rev": "7520ac8aae7b08262c0472e724e6ef0bfe41d285",
|
||||
"sha256": "wKcO/dulgZKgXTuHdcQvfSrfxSI5UA0az6qMLtP4K6g="
|
||||
},
|
||||
"gpsp": {
|
||||
"owner": "libretro",
|
||||
"repo": "gpsp",
|
||||
"rev": "d4547baf26dd70a18eeb38d231ce3f998004ec30",
|
||||
"sha256": "9XU9TmBpuZeAOzqxuKVQZvdHRgX8fm4HcEfleM3jB7E="
|
||||
"rev": "f0f0b31f9ab95946965b75fed8d31e19290f3d43",
|
||||
"sha256": "aiegBSpQDyXzVkyWuUpI66QvA1tqS8PQ8+75U89K10A="
|
||||
},
|
||||
"gw": {
|
||||
"owner": "libretro",
|
||||
"repo": "gw-libretro",
|
||||
"rev": "85bf5c936044db0bf4138e7eb8ab20d3a7330035",
|
||||
"sha256": "yCAnveQw+VyZFQ/GsUBuyoMRQ4yfhA0f3tYghZ2HecU="
|
||||
"rev": "d08a08154ce8ed8e9de80582c108f157e4c6b226",
|
||||
"sha256": "PWd/r4BBmhiNqJdV6OaXHr4XCdR1GyVipq3zvyBcqEs="
|
||||
},
|
||||
"handy": {
|
||||
"owner": "libretro",
|
||||
"repo": "libretro-handy",
|
||||
"rev": "5145f79bb746f6d9c0b340c2f9cc4bf059848924",
|
||||
"sha256": "madTjJWKM8elM35LRAwm0RwnA44skLtIK2/7RXPSNl0="
|
||||
"rev": "517bb2d02909271836604c01c8f09a79ad605297",
|
||||
"sha256": "Igf/OvmnCzoWjCZBoep7T0pXsoBKq3NJpXlYhE7nr3s="
|
||||
},
|
||||
"hatari": {
|
||||
"owner": "libretro",
|
||||
@ -213,14 +213,14 @@
|
||||
"mame": {
|
||||
"owner": "libretro",
|
||||
"repo": "mame",
|
||||
"rev": "2a0e4ea0e2362bb7dcf77216c9fcb48426cea1e8",
|
||||
"sha256": "imuHEwzDpI8jbdOeOhBBfzl4k74mDq/3SrKD8upzZmo="
|
||||
"rev": "b7dd999590717638ceade2e24d16d63147aa12ad",
|
||||
"sha256": "QgENNjykhO+WSxAb//J+R7QP3/rZnxqv7sarO4eBYuc="
|
||||
},
|
||||
"mame2000": {
|
||||
"owner": "libretro",
|
||||
"repo": "mame2000-libretro",
|
||||
"rev": "f35db3877f8a79a174dd3b2e37f4ebf39d71d5a4",
|
||||
"sha256": "JmtvxKWAYNk1SyV1YpFeLX49zzGqpUv6nqM82xU70OM="
|
||||
"rev": "dd9d6612c29bf5b29bc2f94cab2d43fe3dcd69ee",
|
||||
"sha256": "X0fP0bNBk2hqXVdRspylLIjZO563aMXkyX4qgx/3Vr8="
|
||||
},
|
||||
"mame2003": {
|
||||
"owner": "libretro",
|
||||
@ -267,8 +267,8 @@
|
||||
"mesen-s": {
|
||||
"owner": "libretro",
|
||||
"repo": "mesen-s",
|
||||
"rev": "3694c7f9692a0be32d86979c347884ae9def0a3b",
|
||||
"sha256": "VBNl4682e2X12WNjtXZ3P4/Kw4OeRLSRWyZqYDpfmCo="
|
||||
"rev": "b0b53409eecb696fb13f411ffde72e8f576feb09",
|
||||
"sha256": "lDHyeIsVsI5+ZK8EJI50alrFuu0uJmxscda5bR1UmQQ="
|
||||
},
|
||||
"meteor": {
|
||||
"owner": "libretro",
|
||||
@ -297,8 +297,8 @@
|
||||
"nestopia": {
|
||||
"owner": "libretro",
|
||||
"repo": "nestopia",
|
||||
"rev": "7dbd5c6384c4c6326004c97fd8e6fa07cb4edcef",
|
||||
"sha256": "OBkWP36BzwsEW+ORF2opHlXwXHgGN0l2ZxBuyDO/sKY="
|
||||
"rev": "a9e197f2583ef4f36e9e77d930a677e63a2c2f62",
|
||||
"sha256": "QqmWSk8Ejf7QMJk0cVBgpnyqcK6oLjCnnXMXInuWfYc="
|
||||
},
|
||||
"np2kai": {
|
||||
"owner": "AZO234",
|
||||
@ -310,8 +310,8 @@
|
||||
"o2em": {
|
||||
"owner": "libretro",
|
||||
"repo": "libretro-o2em",
|
||||
"rev": "efd749cec2dd1ce42a8aa3048a89f817d271d804",
|
||||
"sha256": "aw0bJyQzYFOlQQOfNsRgqdeUJP1qF4llJxLq5t9oc5g="
|
||||
"rev": "641f06d67d192a0677ec861fcb731d3ce8da0f87",
|
||||
"sha256": "s3FreOziXeGhUyQdSoOywZldD21m3+OXK0EJ2Z8rXiY="
|
||||
},
|
||||
"opera": {
|
||||
"owner": "libretro",
|
||||
@ -334,28 +334,28 @@
|
||||
"pcsx_rearmed": {
|
||||
"owner": "libretro",
|
||||
"repo": "pcsx_rearmed",
|
||||
"rev": "37d9bf8315be570a350cd44876ae14f9b0eff20b",
|
||||
"sha256": "ieuEWs+NIQFCgMl/yTnaFdClxEv5NurrLuUvkjSUar0="
|
||||
"rev": "e24732050e902bd5402b2b7da7c391d2ca8fa799",
|
||||
"sha256": "tPz5E3QO6FucjYOzdjbY2FHLPz1Fmms10tdt7rZIW8U="
|
||||
},
|
||||
"picodrive": {
|
||||
"owner": "libretro",
|
||||
"repo": "picodrive",
|
||||
"rev": "bb6a52fe60e6f3bdcd17effe75e68fd0f8c44ba7",
|
||||
"sha256": "wztctLbK7VE4OPJS7ixKwnN4VkQv96Te3FmJlZ5m4A0=",
|
||||
"rev": "7ff457f2f833570013f2a7e2608ac40632e0735d",
|
||||
"sha256": "xEG5swvvWFhvosC1XpFaZphESNaf4AtX+6UE02B57j8=",
|
||||
"fetchSubmodules": true
|
||||
},
|
||||
"play": {
|
||||
"owner": "jpd002",
|
||||
"repo": "Play-",
|
||||
"rev": "ec2a9460ea2beeb69d30534ee8affbda4fc4b156",
|
||||
"sha256": "8maLaSJiF9soJdIlYoFHSG+2XXYTdLmWH6cq9vZRd/4=",
|
||||
"rev": "39eb5c2eb6da65dc76b1c4d1319175a68120a77a",
|
||||
"sha256": "EF3p0lvHjKGt4pxtTAkDM+uHsnW72lN+Ki8BaZIk/BQ=",
|
||||
"fetchSubmodules": true
|
||||
},
|
||||
"ppsspp": {
|
||||
"owner": "hrydgard",
|
||||
"repo": "ppsspp",
|
||||
"rev": "0eea0acf13022ff8d910adb55cec14ebad825afc",
|
||||
"sha256": "f1Tscndz0TcW0bUhixEvsrbFKefLfsCFjqWA7ANnfB4=",
|
||||
"rev": "83b8211abf7fb705835eb1ccf8feae04816ae96c",
|
||||
"sha256": "8K4bz/GUnE8GrlAVFULMXLC+i3ZYvR28EpehEg6up4s=",
|
||||
"fetchSubmodules": true
|
||||
},
|
||||
"prboom": {
|
||||
@ -391,20 +391,20 @@
|
||||
"smsplus-gx": {
|
||||
"owner": "libretro",
|
||||
"repo": "smsplus-gx",
|
||||
"rev": "8e8378896bc15c8a9f756339b596171ba266cc14",
|
||||
"sha256": "zvG2SF4zx3Yaaf54NZ2DgsGPN59msW8TvQFCS4OMcHQ="
|
||||
"rev": "9de9847dc8ba458e9522d5ae8b87bf71ad437257",
|
||||
"sha256": "XzqQ/3XH5L79UQep+DZ+mDHnUJKZQXzjNCZNZw2mGvY="
|
||||
},
|
||||
"snes9x": {
|
||||
"owner": "snes9xgit",
|
||||
"repo": "snes9x",
|
||||
"rev": "78d006ffdbb5cb6944177db52c3640152948d928",
|
||||
"sha256": "Qh+nLtwdLfjwYxXCv49pPPf0mqdxKRv/JLRm82knJu0="
|
||||
"rev": "3c729a9763263bc3a69f48370e43ae05e672970a",
|
||||
"sha256": "01M6Wvbu1omMwh3Xg4RGh028jirGs7mLpxwKJgMRQxA="
|
||||
},
|
||||
"snes9x2002": {
|
||||
"owner": "libretro",
|
||||
"repo": "snes9x2002",
|
||||
"rev": "25d9d4fea4c7d7fcc8608c65c2bec9bcbc41f26e",
|
||||
"sha256": "EYcaWckvTfi2ajx6C1olE5pW51diLSjMdqZdyH8U2Ck="
|
||||
"rev": "c4397de75a5f11403d154abd935e39fe969bca94",
|
||||
"sha256": "yL4SIRR1Er+7Iq3YPfoe5ES47nvyA3UmGK+upLzKiFA="
|
||||
},
|
||||
"snes9x2005": {
|
||||
"owner": "libretro",
|
||||
@ -415,26 +415,26 @@
|
||||
"snes9x2010": {
|
||||
"owner": "libretro",
|
||||
"repo": "snes9x2010",
|
||||
"rev": "b12f3ba46f09dd5d0254676ed4b9e289d16b9ea8",
|
||||
"sha256": "i4GEqZkgwlehuUQGcjLdMkO9xNWRs8k+3y2OGivwXCw="
|
||||
"rev": "c98224bc74aa0bbf355d128b22e4a2a4e94215b0",
|
||||
"sha256": "mf5msdwdcRRfFWHwmWLS/qKd7gNlLwexGEB6wB6TfhE="
|
||||
},
|
||||
"stella": {
|
||||
"owner": "stella-emu",
|
||||
"repo": "stella",
|
||||
"rev": "071e8f7eb1096dfe95d9eb2e5b7b27b30f28fbf9",
|
||||
"sha256": "8WzBL8ojsHYxOqItHeeG4djALhqBBOV7nHE078UzqAY="
|
||||
"rev": "efb2a9f299cad241e12d811580f28d75b6c3438d",
|
||||
"sha256": "QYwDTd8EZUMXJiuSJtoW8XQXgl+Wx0lPkNLOwzM5bzA="
|
||||
},
|
||||
"stella2014": {
|
||||
"owner": "libretro",
|
||||
"repo": "stella2014-libretro",
|
||||
"rev": "1a2e96bc6ccf91de6fb4322048da05f67a9d21d4",
|
||||
"sha256": "yINO6EU2kCldfxKcqym5ha3uIEQg7I6t4Wmu+8b6Hmw="
|
||||
"rev": "1351a4fe2ca6b1f3a66c7db0df2ec268ab002d41",
|
||||
"sha256": "/sVDOfP5CE8k808lhmH3tT47oZ1ka3pgDG5LglfPmHc="
|
||||
},
|
||||
"swanstation": {
|
||||
"owner": "libretro",
|
||||
"repo": "swanstation",
|
||||
"rev": "0932243b0e5f1a5a237b0521b30b39473b61fa31",
|
||||
"sha256": "krA7X9CIOg53giWSMXgzgazeyWFXEpMobPSnOB7g994="
|
||||
"rev": "0e53a5ac09a30d73d78b628f7e4954ebe5615801",
|
||||
"sha256": "vOu99fsm2oeSi96tWR+vV5suZSYCyXJVgOdvjnKbNhg="
|
||||
},
|
||||
"tgbdual": {
|
||||
"owner": "libretro",
|
||||
@ -464,8 +464,8 @@
|
||||
"vba-next": {
|
||||
"owner": "libretro",
|
||||
"repo": "vba-next",
|
||||
"rev": "ebd175d57ebb2065726099d32034cb25934787ce",
|
||||
"sha256": "hTUlhLzvsemNz6wSmlnQNoNtzaVhipA+hmVmhzZVN+w="
|
||||
"rev": "4191e09e2b0fcf175a15348c1fa8a12bbc6320dd",
|
||||
"sha256": "IG2oH4F17tlSv1cXYZobggb37tFNE53JOHzan/X0+ws="
|
||||
},
|
||||
"vecx": {
|
||||
"owner": "libretro",
|
||||
|
@ -107,10 +107,16 @@ def get_repo_hash_fetchFromGitHub(
|
||||
extra_args = []
|
||||
if deep_clone:
|
||||
extra_args.append("--deep-clone")
|
||||
else:
|
||||
extra_args.append("--no-deep-clone")
|
||||
if fetch_submodules:
|
||||
extra_args.append("--fetch-submodules")
|
||||
else:
|
||||
extra_args.append("--no-fetch-submodules")
|
||||
if leave_dot_git:
|
||||
extra_args.append("--leave-dot-git")
|
||||
else:
|
||||
extra_args.append("--no-leave-dot-git")
|
||||
if rev:
|
||||
extra_args.append("--rev")
|
||||
extra_args.append(rev)
|
||||
|
@ -45,13 +45,13 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "imagemagick";
|
||||
version = "7.1.0-30";
|
||||
version = "7.1.0-31";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ImageMagick";
|
||||
repo = "ImageMagick";
|
||||
rev = version;
|
||||
hash = "sha256-FfZJfjuQmYvYuOi18cZdr3Nam98/j+ZTGRwsd1sslsY=";
|
||||
hash = "sha256-Pf+x3TnmvKTCDL3dGLyAr6JUl5E3BRi/XW/dkuCr2YA=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
||||
|
@ -14,6 +14,7 @@
|
||||
, desktop-file-utils
|
||||
, exiv2
|
||||
, glib
|
||||
, glib-networking
|
||||
, ilmbase
|
||||
, gtk3
|
||||
, intltool
|
||||
@ -71,6 +72,7 @@ stdenv.mkDerivation rec {
|
||||
curl
|
||||
exiv2
|
||||
glib
|
||||
glib-networking
|
||||
gtk3
|
||||
ilmbase
|
||||
lcms2
|
||||
|
@ -101,7 +101,7 @@ in
|
||||
description = "Batch Image Manipulation Plugin for GIMP";
|
||||
homepage = "https://github.com/alessandrofrancesconi/gimp-plugin-bimp";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ samuelgrf ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ mkDerivation rec {
|
||||
description = "KDE utility to scan images and multi-page documents";
|
||||
homepage = "https://apps.kde.org/skanpage";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ samuelgrf ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "fluidd";
|
||||
version = "1.17.1";
|
||||
version = "1.17.2";
|
||||
|
||||
src = fetchurl {
|
||||
name = "fluidd-v${version}.zip";
|
||||
url = "https://github.com/cadriel/fluidd/releases/download/v${version}/fluidd.zip";
|
||||
sha256 = "sha256-F4hAFLsZmRg/zeTHo9eYoT0BasorynGaSzNSbKr2/JE=";
|
||||
sha256 = "sha256-kb7t3H2gpiN6/N/LxyG/Vu5Cp/zytAePsXmacxVyWCk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, readline }:
|
||||
|
||||
let
|
||||
patchPrefix = "https://github.com/samuelgrf/kjv/commit/";
|
||||
patchPrefix = "https://web.archive.org/web/20220422205751/https://github.com/samuelgrf/kjv/commit/";
|
||||
|
||||
add-apocrypha = fetchpatch {
|
||||
url = patchPrefix + "0856fa0d37b45de0d6b47d163b5ea9a0b7f2c061.patch";
|
||||
@ -35,7 +35,7 @@ stdenv.mkDerivation {
|
||||
description = "The Bible, King James Version";
|
||||
homepage = "https://github.com/bontibon/kjv";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ jtobin samuelgrf ];
|
||||
maintainers = with maintainers; [ jtobin ];
|
||||
mainProgram = "kjv";
|
||||
};
|
||||
}
|
||||
|
@ -31,6 +31,10 @@ python3Packages.buildPythonApplication rec {
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
# Cannot find GSettings schemas when opening settings,
|
||||
# probably https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
wrapGAppsHook
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, alsa-lib }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, darwin, libiconv, alsa-lib, stdenv }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "sampler";
|
||||
@ -17,7 +17,10 @@ buildGoModule rec {
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
buildInputs = [ alsa-lib ];
|
||||
buildInputs = lib.optional stdenv.isLinux alsa-lib
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.OpenAL
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for shell commands execution, visualization and alerting";
|
||||
|
@ -1,7 +1,7 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
activesupport (7.0.1)
|
||||
activesupport (7.0.2.3)
|
||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||
i18n (>= 1.6, < 2)
|
||||
minitest (>= 5.1)
|
||||
@ -9,11 +9,11 @@ GEM
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
colorize (0.8.1)
|
||||
concurrent-ruby (1.1.9)
|
||||
concurrent-ruby (1.1.10)
|
||||
domain_name (0.5.20190701)
|
||||
unf (>= 0.0.5, < 1.0.0)
|
||||
ejson (1.3.1)
|
||||
faraday (1.9.3)
|
||||
faraday (1.10.0)
|
||||
faraday-em_http (~> 1.0)
|
||||
faraday-em_synchrony (~> 1.0)
|
||||
faraday-excon (~> 1.1)
|
||||
@ -58,12 +58,12 @@ GEM
|
||||
http-form_data (2.3.0)
|
||||
http-parser (1.2.3)
|
||||
ffi-compiler (>= 1.0, < 2.0)
|
||||
i18n (1.8.11)
|
||||
i18n (1.10.0)
|
||||
concurrent-ruby (~> 1.0)
|
||||
jsonpath (1.1.0)
|
||||
jsonpath (1.1.1)
|
||||
multi_json
|
||||
jwt (2.3.0)
|
||||
krane (2.4.0)
|
||||
krane (2.4.6)
|
||||
activesupport (>= 5.0)
|
||||
colorize (~> 0.8)
|
||||
concurrent-ruby (~> 1.1)
|
||||
@ -74,7 +74,7 @@ GEM
|
||||
oj (~> 3.0)
|
||||
statsd-instrument (>= 2.8, < 4)
|
||||
thor (>= 1.0, < 2.0)
|
||||
kubeclient (4.9.2)
|
||||
kubeclient (4.9.3)
|
||||
http (>= 3.0, < 5.0)
|
||||
jsonpath (~> 1.0)
|
||||
recursive-open-struct (~> 1.1, >= 1.1.1)
|
||||
@ -89,7 +89,7 @@ GEM
|
||||
netrc (0.11.0)
|
||||
oj (3.13.11)
|
||||
os (1.1.4)
|
||||
public_suffix (4.0.6)
|
||||
public_suffix (4.0.7)
|
||||
rake (13.0.6)
|
||||
recursive-open-struct (1.1.3)
|
||||
rest-client (2.1.0)
|
||||
@ -98,9 +98,9 @@ GEM
|
||||
mime-types (>= 1.16, < 4.0)
|
||||
netrc (~> 0.8)
|
||||
ruby2_keywords (0.0.5)
|
||||
signet (0.16.0)
|
||||
signet (0.16.1)
|
||||
addressable (~> 2.8)
|
||||
faraday (>= 0.17.3, < 2.0)
|
||||
faraday (>= 0.17.5, < 3.0)
|
||||
jwt (>= 1.5, < 3.0)
|
||||
multi_json (~> 1.10)
|
||||
statsd-instrument (3.1.2)
|
||||
@ -109,7 +109,7 @@ GEM
|
||||
concurrent-ruby (~> 1.0)
|
||||
unf (0.1.4)
|
||||
unf_ext
|
||||
unf_ext (0.0.8)
|
||||
unf_ext (0.0.8.1)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
@ -118,4 +118,4 @@ DEPENDENCIES
|
||||
krane
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.24
|
||||
2.3.9
|
||||
|
@ -5,10 +5,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "02lys9pnb99hsczs551iqzjn008i8k7c728xxba7acfi9rdw9pa6";
|
||||
sha256 = "1jpydd414j0fig3r0f6ci67mchclg6cq2qgqbq9zplrbg40pzfi8";
|
||||
type = "gem";
|
||||
};
|
||||
version = "7.0.1";
|
||||
version = "7.0.2.3";
|
||||
};
|
||||
addressable = {
|
||||
dependencies = ["public_suffix"];
|
||||
@ -36,10 +36,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0nwad3211p7yv9sda31jmbyw6sdafzmdi2i2niaz6f0wk5nq9h0f";
|
||||
sha256 = "0s4fpn3mqiizpmpy2a24k4v365pv75y50292r8ajrv4i1p5b2k14";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.9";
|
||||
version = "1.1.10";
|
||||
};
|
||||
domain_name = {
|
||||
dependencies = ["unf"];
|
||||
@ -68,10 +68,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0y32gj994ll3zlcqjmwp78r7s03iiwayij6fz2pjpkfywgvp71s6";
|
||||
sha256 = "00palwawk897p5gypw5wjrh93d4p0xz2yl9w93yicb4kq7amh8d4";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.9.3";
|
||||
version = "1.10.0";
|
||||
};
|
||||
faraday-em_http = {
|
||||
groups = ["default"];
|
||||
@ -265,10 +265,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf";
|
||||
sha256 = "0b2qyvnk4yynlg17ymkq4g5xgr275637fhl1mjh0valw3cb1fhhg";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.8.11";
|
||||
version = "1.10.0";
|
||||
};
|
||||
jsonpath = {
|
||||
dependencies = ["multi_json"];
|
||||
@ -276,10 +276,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "12hjsr0plnx6v0bh1rhhimfi7z3rqm19xb47ybdkc1h9yhynnmdq";
|
||||
sha256 = "0slr38w21gwizkq4nk6c7l7lcqc2c733zfn5fq1pmbwy5bwiggad";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.1.0";
|
||||
version = "1.1.1";
|
||||
};
|
||||
jwt = {
|
||||
groups = ["default"];
|
||||
@ -297,10 +297,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xnf0cw5i1i8l5nm1c9z02h184ad6hvy7fydr4bdzckjkyinamv9";
|
||||
sha256 = "16rf7qzwshlbhrc9fdgq44fcf2qbgjwik1kwkv1gncy12lvwfdmz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.4.0";
|
||||
version = "2.4.6";
|
||||
};
|
||||
kubeclient = {
|
||||
dependencies = ["http" "jsonpath" "recursive-open-struct" "rest-client"];
|
||||
@ -308,10 +308,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0kld1w4706dfd6jx3snsi4h2pvqfazz1fni5al2ln60s3b8sybq4";
|
||||
sha256 = "0ih04d0vgj91rl66iaqh8jmpskwz3g6mgajid0wlzi5skxqqxlym";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.9.2";
|
||||
version = "4.9.3";
|
||||
};
|
||||
memoist = {
|
||||
groups = ["default"];
|
||||
@ -409,10 +409,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1xqcgkl7bwws1qrlnmxgh8g4g9m10vg60bhlw40fplninb3ng6d9";
|
||||
sha256 = "1f3knlwfwm05sfbaihrxm4g772b79032q14c16q4b38z8bi63qcb";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.0.6";
|
||||
version = "4.0.7";
|
||||
};
|
||||
rake = {
|
||||
groups = ["default"];
|
||||
@ -461,10 +461,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0cgmadrpgkpcklvvm2cga9mnrfqwqlydwpask1wx617h5ha6954k";
|
||||
sha256 = "1jwyggz80xb3yi2hycmmw214c4072g8i56y0b0gsmpkiyk5d0vh1";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.16.0";
|
||||
version = "0.16.1";
|
||||
};
|
||||
statsd-instrument = {
|
||||
groups = ["default"];
|
||||
@ -513,9 +513,9 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0jmbimpnpjdzz8hlrppgl9spm99qh3qzbx0b81k3gkgwba8nk3yd";
|
||||
sha256 = "0bf120xbq23zjyf8zi8h1576d71g58srr8rndig0whn10w72vrxz";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.0.8";
|
||||
version = "0.0.8.1";
|
||||
};
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ python3Packages.buildPythonApplication rec {
|
||||
ln -sf requirements.in requirements.txt
|
||||
|
||||
# remove dependency constraints
|
||||
sed 's/[>=]=.*//' -i requirements.txt
|
||||
sed 's/[~<>=].*//' -i requirements.txt
|
||||
|
||||
# "zxcvbn-python" was renamed to "zxcvbn", and we don't have the former in
|
||||
# nixpkgs. See: https://github.com/NixOS/nixpkgs/issues/62110
|
||||
@ -35,6 +35,8 @@ python3Packages.buildPythonApplication rec {
|
||||
# See https://github.com/Flexget/Flexget/blob/master/requirements.in
|
||||
APScheduler
|
||||
beautifulsoup4
|
||||
click
|
||||
colorama
|
||||
feedparser
|
||||
guessit
|
||||
html5lib
|
||||
@ -62,6 +64,7 @@ python3Packages.buildPythonApplication rec {
|
||||
flask-restx
|
||||
flask
|
||||
pyparsing
|
||||
werkzeug
|
||||
zxcvbn
|
||||
|
||||
# Plugins requirements
|
||||
|
@ -1,7 +1,9 @@
|
||||
{ callPackage, libsForQt5 }:
|
||||
{ callPackage
|
||||
, libsForQt5
|
||||
}:
|
||||
|
||||
let
|
||||
stableVersion = "2.2.29";
|
||||
stableVersion = "2.2.31";
|
||||
previewVersion = stableVersion;
|
||||
addVersion = args:
|
||||
let version = if args.stable then stableVersion else previewVersion;
|
||||
@ -18,16 +20,13 @@ let
|
||||
});
|
||||
};
|
||||
commonOverrides = [
|
||||
(mkOverride "psutil" "5.8.0"
|
||||
"sha256-DJzLmat2Al8vC77PNB1GVunBNR24zIoDzNYuMYq0tcY=")
|
||||
(mkOverride "jsonschema" "3.2.0"
|
||||
"0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
|
||||
(mkOverride "jsonschema" "3.2.0" "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")
|
||||
];
|
||||
};
|
||||
mkGui = args: libsForQt5.callPackage (import ./gui.nix (addVersion args // extraArgs)) { };
|
||||
mkServer = args: callPackage (import ./server.nix (addVersion args // extraArgs)) { };
|
||||
guiSrcHash = "04yqh0kq5pkmadcxf090ilh9sqqxajcg65nf7ai1iikxi3x7z3r8";
|
||||
serverSrcHash = "0p6q421rldmyqi0padssgrssf4d9mb5ifiqjm5y8vfhwfl5a2cqk";
|
||||
guiSrcHash = "sha256-o9j/avuapiUKIDO6aO/uWFF/5gu+xdfhL7ZSDSaQ858=";
|
||||
serverSrcHash = "sha256-8r8nWNqbHUDtJ6x+/SxHxaw1isSuWF/5as3YXLB6LFw=";
|
||||
in {
|
||||
guiStable = mkGui {
|
||||
stable = true;
|
||||
|
@ -1,6 +1,16 @@
|
||||
{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
|
||||
{ stable
|
||||
, branch
|
||||
, version
|
||||
, sha256Hash
|
||||
, mkOverride
|
||||
, commonOverrides
|
||||
}:
|
||||
|
||||
{ lib, python3, fetchFromGitHub, wrapQtAppsHook }:
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
let
|
||||
defaultOverrides = commonOverrides ++ [
|
||||
@ -34,21 +44,33 @@ in python.pkgs.buildPythonPackage rec {
|
||||
sha256 = sha256Hash;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
nativeBuildInputs = [
|
||||
wrapQtAppsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
sentry-sdk psutil jsonschema # tox for check
|
||||
# Runtime dependencies
|
||||
sip_4 (pyqt5.override { withWebSockets = true; }) distro setuptools
|
||||
distro
|
||||
jsonschema
|
||||
psutil
|
||||
sentry-sdk
|
||||
setuptools
|
||||
sip_4 (pyqt5.override { withWebSockets = true; })
|
||||
];
|
||||
|
||||
doCheck = false; # Failing
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postFixup = ''
|
||||
wrapQtApp "$out/bin/gns3"
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "sentry-sdk==1.3.1" "sentry-sdk>=1.3.1" \
|
||||
--replace "sentry-sdk==" "sentry-sdk>=" \
|
||||
--replace "psutil==" "psutil>=" \
|
||||
--replace "distro==" "distro>=" \
|
||||
--replace "setuptools==" "setuptools>="
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,23 +1,20 @@
|
||||
{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
|
||||
{ stable
|
||||
, branch
|
||||
, version
|
||||
, sha256Hash
|
||||
, mkOverride
|
||||
, commonOverrides
|
||||
}:
|
||||
|
||||
{ lib, python3, fetchFromGitHub, packageOverrides ? self: super: {}
|
||||
}:
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, packageOverrides ? self: super: {}
|
||||
}:
|
||||
|
||||
let
|
||||
defaultOverrides = commonOverrides ++ [
|
||||
(self: super: {
|
||||
aiofiles = super.aiofiles.overridePythonAttrs (oldAttrs: rec {
|
||||
pname = "aiofiles";
|
||||
version = "0.7.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tinche";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-njQ7eRYJO+dUrwO5pZwKHXn9nVSGYcEhwhs3x5BMc28=";
|
||||
};
|
||||
doCheck = false;
|
||||
});
|
||||
|
||||
jsonschema = super.jsonschema.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "3.2.0";
|
||||
|
||||
@ -51,16 +48,33 @@ in python.pkgs.buildPythonApplication {
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "aiohttp==3.7.4" "aiohttp>=3.7.4" \
|
||||
--replace "Jinja2==3.0.1" "Jinja2>=3.0.1" \
|
||||
--replace "sentry-sdk==1.3.1" "sentry-sdk>=1.3.1" \
|
||||
--replace "async-timeout==3.0.1" "async-timeout>=3.0.1" \
|
||||
--replace "aiohttp==" "aiohttp>=" \
|
||||
--replace "aiofiles==" "aiofiles>=" \
|
||||
--replace "Jinja2==" "Jinja2>=" \
|
||||
--replace "sentry-sdk==" "sentry-sdk>=" \
|
||||
--replace "async-timeout==" "async-timeout>=" \
|
||||
--replace "psutil==" "psutil>=" \
|
||||
--replace "distro==" "distro>=" \
|
||||
--replace "py-cpuinfo==" "py-cpuinfo>=" \
|
||||
--replace "setuptools==" "setuptools>="
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [
|
||||
aiohttp-cors yarl aiohttp multidict setuptools
|
||||
jinja2 psutil zipstream sentry-sdk jsonschema distro async_generator aiofiles
|
||||
prompt-toolkit py-cpuinfo
|
||||
aiofiles
|
||||
aiohttp
|
||||
aiohttp-cors
|
||||
async_generator
|
||||
distro
|
||||
jinja2
|
||||
jsonschema
|
||||
multidict
|
||||
prompt-toolkit
|
||||
psutil
|
||||
py-cpuinfo
|
||||
sentry-sdk
|
||||
setuptools
|
||||
yarl
|
||||
zipstream
|
||||
];
|
||||
|
||||
# Requires network access
|
||||
|
@ -44,11 +44,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bluejeans";
|
||||
version = "2.26.0.136";
|
||||
version = "2.27.0.130";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://swdl.bluejeans.com/desktop-app/linux/${getFirst 3 version}/BlueJeans_${version}.rpm";
|
||||
sha256 = "sha256-9QiE7CjCepDXQCzduqGzNUGqUgYS+PWBS71ouzHa83o=";
|
||||
sha256 = "sha256-J0BGL03k1NAJLLEUOfvKjZEsBlupeHJR2Bp3c0ANBwg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ rpmextract makeWrapper ];
|
||||
|
@ -63,7 +63,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools
|
||||
nbxmpp pygobject3 dbus-python pillow css-parser precis-i18n keyring setuptools packaging
|
||||
] ++ lib.optionals enableE2E [ pycrypto python-gnupg ]
|
||||
++ lib.optional enableRST docutils
|
||||
++ lib.optionals enableOmemoPluginDependencies [ python-axolotl qrcode ]
|
||||
|
58
pkgs/applications/office/buho/default.nix
Normal file
58
pkgs/applications/office/buho/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, mkDerivation
|
||||
, fetchFromGitLab
|
||||
, cmake
|
||||
, extra-cmake-modules
|
||||
, applet-window-buttons
|
||||
, karchive
|
||||
, kcoreaddons
|
||||
, ki18n
|
||||
, kio
|
||||
, kirigami2
|
||||
, mauikit
|
||||
, mauikit-filebrowsing
|
||||
, mauikit-accounts
|
||||
, mauikit-texteditor
|
||||
, qtmultimedia
|
||||
, qtquickcontrols2
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "buho";
|
||||
version = "2.1.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "invent.kde.org";
|
||||
owner = "maui";
|
||||
repo = "buho";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rHjjvjRY2WsyZfj3fzp46copZ1g2ae6PVv9lBNZDzcI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
applet-window-buttons
|
||||
karchive
|
||||
kcoreaddons
|
||||
ki18n
|
||||
kio
|
||||
kirigami2
|
||||
mauikit
|
||||
mauikit-filebrowsing
|
||||
mauikit-accounts
|
||||
mauikit-texteditor
|
||||
qtmultimedia
|
||||
qtquickcontrols2
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Task and Note Keeper";
|
||||
homepage = "https://invent.kde.org/maui/buho";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
};
|
||||
}
|
@ -5,13 +5,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "qownnotes";
|
||||
version = "22.3.4";
|
||||
version = "22.4.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
|
||||
# Fetch the checksum of current version with curl:
|
||||
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
|
||||
sha256 = "bec1ee9735821a7c4556c00790e3acfef06f21490ec8b7d99d9e002c9c0a1207";
|
||||
sha256 = "b9ce77ecd5bb48bd6534068b0582dfaa3b828f800b19ddec80387a84e00766da";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
@ -3,21 +3,23 @@
|
||||
, fetchurl
|
||||
, fltk13
|
||||
, libjpeg
|
||||
, eudev
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3.54";
|
||||
version = "1.4.5";
|
||||
pname = "flrig";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-zw0xi4AVnm8Vi/oWkh13C9BjabOKUtZaVmLN++zKGug=";
|
||||
sha256 = "sha256-Zj/LkP1nSm1zLKLxuGfaKuVuP8jaVlvK/TzX504VKHk=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
fltk13
|
||||
libjpeg
|
||||
eudev
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -3,16 +3,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "elan";
|
||||
version = "1.4.0";
|
||||
version = "1.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leanprover";
|
||||
repo = "elan";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-86O2P48wcib22IRB8niqVLIukGECbBV9ZufEUZEkvnQ=";
|
||||
sha256 = "sha256-jHECNSXSATLuNHNSVwi7mBTI8l6+cLPDISc5T/4yHDg=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-2kTAFyFDeFQn7x2oVHZvFzJVs4jLBgl0pSOCcj6Vzdk=";
|
||||
cargoSha256 = "sha256-/XwlTmUboDbB6RTanhKyO6o2GBUhxpH/NQjeNsKpse0=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
||||
|
||||
|
@ -17,15 +17,15 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "bada-bib";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
format = "other";
|
||||
strictDeps = false; # https://github.com/NixOS/nixpkgs/issues/56943
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RogerCrocker";
|
||||
repo = "BadaBib";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-fuGGKBScdo9rI3tLSBWIcWEME8nSuct0IUyfmI7PzCc=";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-3dXtBwqEqiXLjntmqLYeuwLv0RDb774+yOXc7vdf8+Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,23 +1,32 @@
|
||||
{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, lib, stdenv
|
||||
, libxslt, docbook_xsl
|
||||
{ fetchFromGitHub
|
||||
, git
|
||||
, gnupg
|
||||
, makeWrapper
|
||||
, openssl
|
||||
, lib
|
||||
, stdenv
|
||||
, libxslt
|
||||
, docbook_xsl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "git-crypt";
|
||||
version = "0.6.0";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AGWA";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "13m9y0m6gc3mlw3pqv9x4i0him2ycbysizigdvdanhh514kga602";
|
||||
sha256 = "sha256-GcGCX6hoKL+sNLAeGEzZpaM+cdFjcNlwYExfOFEPi0I=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ libxslt makeWrapper ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
patchPhase = ''
|
||||
postPatch = ''
|
||||
substituteInPlace commands.cpp \
|
||||
--replace '(escape_shell_arg(our_exe_path()))' '= "git-crypt"'
|
||||
'';
|
||||
@ -29,7 +38,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/git-crypt --prefix PATH : $out/bin:${git}/bin:${gnupg}/bin
|
||||
wrapProgram $out/bin/git-crypt \
|
||||
--suffix PATH : ${lib.makeBinPath [ git gnupg ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
@ -48,7 +58,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
downloadPage = "https://github.com/AGWA/git-crypt/releases";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.dochang ];
|
||||
maintainers = with maintainers; [ dochang SuperSandro2000 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "git-review";
|
||||
version = "2.3.0";
|
||||
version = "2.3.1";
|
||||
|
||||
# Manually set version because prb wants to get it from the git
|
||||
# upstream repository (and we are installing from tarball instead)
|
||||
@ -20,7 +20,7 @@ buildPythonApplication rec {
|
||||
owner = "opendev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ENrv2jx59iNA/hALFg6+gOz8zxJaoiCwYcAh1xeEOR0=";
|
||||
sha256 = "sha256-C8M4b/paHJB9geizc1eIhXsTuLeeS4dDisCfCQF1RuU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
@ -1,14 +1,14 @@
|
||||
{
|
||||
"version": "14.9.2",
|
||||
"repo_hash": "sha256-+tZN6isOb7LtUVwGshx9TP+P42sftJmQGVk1L9UJqcY=",
|
||||
"version": "14.9.3",
|
||||
"repo_hash": "04a5z9dr8qs1vrgrdlw5sx5wjwjgqzgj7rqxy4lswycxglc8i1ad",
|
||||
"yarn_hash": "1mya6y0cb9x8491gpf7f1i7qi2rb0l7d9g5yzj44vvy3mb4rcqaj",
|
||||
"owner": "gitlab-org",
|
||||
"repo": "gitlab",
|
||||
"rev": "v14.9.2-ee",
|
||||
"rev": "v14.9.3-ee",
|
||||
"passthru": {
|
||||
"GITALY_SERVER_VERSION": "14.9.2",
|
||||
"GITALY_SERVER_VERSION": "14.9.3",
|
||||
"GITLAB_PAGES_VERSION": "1.56.1",
|
||||
"GITLAB_SHELL_VERSION": "13.24.0",
|
||||
"GITLAB_WORKHORSE_VERSION": "14.9.2"
|
||||
"GITLAB_WORKHORSE_VERSION": "14.9.3"
|
||||
}
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ let
|
||||
gemdir = ./.;
|
||||
};
|
||||
|
||||
version = "14.9.2";
|
||||
version = "14.9.3";
|
||||
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
|
||||
in
|
||||
|
||||
@ -23,7 +23,7 @@ buildGoModule {
|
||||
owner = "gitlab-org";
|
||||
repo = "gitaly";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-eEo+WZ2N/5bLfvwJCNf9qt+h/V5dIVqCjVJeomzw/Ps=";
|
||||
sha256 = "sha256-D4Dgw2vqX5464ciYvTqagQG/uXt0Wm15ztdwbyJp1HM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-kEjgWA/Task23PScPYrqdDu3vdVR/FJl7OilUug/Bds=";
|
||||
|
@ -5,7 +5,7 @@ in
|
||||
buildGoModule rec {
|
||||
pname = "gitlab-workhorse";
|
||||
|
||||
version = "14.9.2";
|
||||
version = "14.9.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = data.owner;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, buildPackages, diffutils, ed, lzip }:
|
||||
{ lib, stdenv, fetchurl, buildPackages, diffutils, ed, lzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rcs";
|
||||
@ -9,14 +9,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-Q93+EHJKi4XiRo9kA7YABzcYbwHmDgvWL95p2EIjTMU=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# glibc 2.34 compat
|
||||
(fetchpatch {
|
||||
url = "https://src.fedoraproject.org/rpms/rcs/raw/f8e07cd37f4abfb36e37d41852bb8f9e234d3fb1/f/rcs-5.10.0-SIGSTKSZ.patch";
|
||||
sha256 = "sha256-mc6Uye9mdEsLBcOnf1m1TUb1BV0ncNU//iKBpLGBjho=";
|
||||
})
|
||||
];
|
||||
|
||||
ac_cv_path_ED = "${ed}/bin/ed";
|
||||
DIFF = "${diffutils}/bin/diff";
|
||||
DIFF3 = "${diffutils}/bin/diff3";
|
||||
|
@ -47,7 +47,7 @@ in
|
||||
meta = with lib; {
|
||||
homepage = "https://www.redmine.org/";
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.aanderse ];
|
||||
maintainers = with maintainers; [ aanderse felixsinger ];
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
@ -0,0 +1,88 @@
|
||||
From 620c3eb38f0dbea6e877e37e97508513e87a0732 Mon Sep 17 00:00:00 2001
|
||||
From: Jeremy Fleischman <jeremyfleischman@gmail.com>
|
||||
Date: Sun, 27 Mar 2022 00:44:52 -0700
|
||||
Subject: [PATCH] Add new KODI_WEBSERVER_EXTRA_WHITELIST cmake var to allow
|
||||
access to more directories
|
||||
|
||||
(This is a backport of
|
||||
https://github.com/xbmc/xbmc/commit/a6dedce7ba1f03bdd83b019941d1e369a06f7888
|
||||
to Kodi 19.4 Matrix)
|
||||
|
||||
This is useful for NixOS, which often ends up creating a `KODI_HOME`
|
||||
with symlinks to other files (including the chorus2 interface). Kodi's
|
||||
webserver cautiously refuses to follow these symlinks, and you end up
|
||||
getting 404s rather than the web page.
|
||||
|
||||
See https://forum.kodi.tv/showthread.php?tid=366338&pid=3079493 for a
|
||||
discussion of this on the Kodi forum.
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
xbmc/CompileInfo.cpp.in | 5 +++++
|
||||
xbmc/CompileInfo.h | 1 +
|
||||
xbmc/utils/FileUtils.cpp | 6 +++++-
|
||||
4 files changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 2d5369798df23..d5ef6d9390ef0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -243,6 +243,7 @@ add_custom_command(OUTPUT ${CORE_BUILD_DIR}/xbmc/CompileInfo.cpp
|
||||
-DAPP_BUILD_DATE=${APP_BUILD_DATE}
|
||||
-DAPP_SHARED_LIBRARY_SUFFIX="${APP_SHARED_LIBRARY_SUFFIX}"
|
||||
-Dprefix=${CMAKE_BINARY_DIR}/${CORE_BUILD_DIR}
|
||||
+ -DKODI_WEBSERVER_EXTRA_WHITELIST="${KODI_WEBSERVER_EXTRA_WHITELIST}"
|
||||
-P ${CMAKE_SOURCE_DIR}/cmake/scripts/common/GenerateVersionedFiles.cmake
|
||||
DEPENDS ${CMAKE_SOURCE_DIR}/version.txt
|
||||
export-files
|
||||
diff --git a/xbmc/CompileInfo.cpp.in b/xbmc/CompileInfo.cpp.in
|
||||
index f81fe77902236..4f19203a89cde 100644
|
||||
--- a/xbmc/CompileInfo.cpp.in
|
||||
+++ b/xbmc/CompileInfo.cpp.in
|
||||
@@ -105,3 +105,8 @@ std::vector<std::string> CCompileInfo::GetAvailableWindowSystems()
|
||||
{
|
||||
return StringUtils::Split("@CORE_PLATFORM_NAME_LC@", ' ');
|
||||
}
|
||||
+
|
||||
+const std::vector<std::string> CCompileInfo::GetWebserverExtraWhitelist()
|
||||
+{
|
||||
+ return StringUtils::Split("@KODI_WEBSERVER_EXTRA_WHITELIST@", ',');
|
||||
+}
|
||||
diff --git a/xbmc/CompileInfo.h b/xbmc/CompileInfo.h
|
||||
index 553a0194ee77f..e2521324e6576 100644
|
||||
--- a/xbmc/CompileInfo.h
|
||||
+++ b/xbmc/CompileInfo.h
|
||||
@@ -32,4 +32,5 @@ class CCompileInfo
|
||||
static const char* GetVersionCode();
|
||||
static std::vector<std::string> GetAvailableWindowSystems();
|
||||
static std::vector<ADDON::RepoInfo> LoadOfficialRepoInfos();
|
||||
+ static const std::vector<std::string> GetWebserverExtraWhitelist();
|
||||
};
|
||||
diff --git a/xbmc/utils/FileUtils.cpp b/xbmc/utils/FileUtils.cpp
|
||||
index e51f3d631c256..fc717c9608098 100644
|
||||
--- a/xbmc/utils/FileUtils.cpp
|
||||
+++ b/xbmc/utils/FileUtils.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
* See LICENSES/README.md for more information.
|
||||
*/
|
||||
|
||||
+#include "CompileInfo.h"
|
||||
#include "FileUtils.h"
|
||||
#include "ServiceBroker.h"
|
||||
#include "guilib/GUIKeyboardFactory.h"
|
||||
@@ -261,12 +262,15 @@ bool CFileUtils::CheckFileAccessAllowed(const std::string &filePath)
|
||||
"/.ssh/",
|
||||
};
|
||||
// ALLOW kodi paths
|
||||
- const std::vector<std::string> whitelist = {
|
||||
+ std::vector<std::string> whitelist = {
|
||||
CSpecialProtocol::TranslatePath("special://home"),
|
||||
CSpecialProtocol::TranslatePath("special://xbmc"),
|
||||
CSpecialProtocol::TranslatePath("special://musicartistsinfo")
|
||||
};
|
||||
|
||||
+ auto kodiExtraWhitelist = CCompileInfo::GetWebserverExtraWhitelist();
|
||||
+ whitelist.insert(whitelist.end(), kodiExtraWhitelist.begin(), kodiExtraWhitelist.end());
|
||||
+
|
||||
// image urls come in the form of image://... sometimes with a / appended at the end
|
||||
// and can be embedded in a music or video file image://music@...
|
||||
// strip this off to get the real file path
|
@ -107,6 +107,15 @@ in stdenv.mkDerivation {
|
||||
|
||||
src = kodi_src;
|
||||
|
||||
# This is a backport of
|
||||
# https://github.com/xbmc/xbmc/commit/a6dedce7ba1f03bdd83b019941d1e369a06f7888
|
||||
# to Kodi 19.4 Matrix.
|
||||
# This can be removed once a new release of Kodi comes out and we upgrade
|
||||
# to it.
|
||||
patches = [
|
||||
./add-KODI_WEBSERVER_EXTRA_WHITELIST.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gnutls libidn libtasn1 nasm p11-kit
|
||||
libxml2 python3Packages.python
|
||||
@ -185,6 +194,12 @@ in stdenv.mkDerivation {
|
||||
"-DSWIG_EXECUTABLE=${buildPackages.swig}/bin/swig"
|
||||
"-DFLATBUFFERS_FLATC_EXECUTABLE=${buildPackages.flatbuffers}/bin/flatc"
|
||||
"-DPYTHON_EXECUTABLE=${buildPackages.python3Packages.python}/bin/python"
|
||||
# When wrapped KODI_HOME will likely contain symlinks to static assets
|
||||
# that Kodi's built in webserver will cautiously refuse to serve up
|
||||
# (because their realpaths are outside of KODI_HOME and the other
|
||||
# whitelisted directories). This adds the entire nix store to the Kodi
|
||||
# webserver whitelist to avoid this problem.
|
||||
"-DKODI_WEBSERVER_EXTRA_WHITELIST=${builtins.storeDir}"
|
||||
] ++ lib.optional waylandSupport [
|
||||
"-DWAYLANDPP_SCANNER=${buildPackages.waylandpp}/bin/wayland-scanner++"
|
||||
];
|
||||
|
@ -35,11 +35,5 @@ buildEnv {
|
||||
(lib.concatMap
|
||||
(plugin: plugin.extraRuntimeDependencies or []) addons)}"
|
||||
done
|
||||
|
||||
# makeWrapper just created webinterface.default as a symlink. However,
|
||||
# kodi's webserver carefully refuses to follow symlinks, so we need to copy
|
||||
# these assets instead.
|
||||
rm $out/share/kodi/addons/webinterface.default
|
||||
cp -r ${kodi}/share/kodi/addons/webinterface.default/ $out/share/kodi/addons/webinterface.default
|
||||
'';
|
||||
}
|
||||
|
@ -15,16 +15,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "i3status-rust";
|
||||
version = "0.21.9";
|
||||
version = "0.21.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greshake";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UbQEPY/Qzu3akWqCTdbhO8V46KyNh/4XCA+PySQyNaw=";
|
||||
sha256 = "sha256-HtPgl52ysE/CVX706YeKBFc6CgGpHzvHwZoS+DzHADY=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Bb4kkS0eSg0ue24UIy8f0kwD9w4kSCVTd1OqwEggyVs=";
|
||||
cargoSha256 = "sha256-ini0AIYwvTskNFMSC+Gy23ohL75PTET95e1mjpjCsWE=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper ];
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "scheme-manpages-unstable";
|
||||
version = "2021-03-11";
|
||||
version = "2022-04-21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schemedoc";
|
||||
repo = "manpages";
|
||||
rev = "d0163a4e29d29b2f0beb762be4095775134f5ef9";
|
||||
sha256 = "0a8f7rq458c7985chwn1qb9yxcwyr0hl39r9vlvm5j687hy3igs2";
|
||||
rev = "e3faaa1b80b3493ee644958a105f84f2995a0436";
|
||||
sha256 = "sha256-28e6tFRTqX/PWMhdoUZ4nQU1e/JL2uR+NjVXGBwogMM=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
@ -19,7 +19,7 @@ fetchzip {
|
||||
description = "A font that looks just like Times New Roman, except each character is 5-10% wider";
|
||||
homepage = "https://timesnewerroman.com/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ samuelgrf ];
|
||||
maintainers = with maintainers; [ ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -20,11 +20,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tali";
|
||||
version = "40.6";
|
||||
version = "40.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/tali/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "g/ugR+3s0ZbTBxmnDi9NCYa7Jswr1flVoKkgDqY/BhI=";
|
||||
sha256 = "cXqJfV0H4X4K89ZpI/USNhPEEPZSOdqX0JKeScf7C2c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -32,7 +32,7 @@ mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "KWin script that automatically adds/removes virtual desktops";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ samuelgrf ];
|
||||
maintainers = with maintainers; [ ];
|
||||
inherit (src.meta) homepage;
|
||||
inherit (kwindowsystem.meta) platforms;
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
mkXfceDerivation {
|
||||
category = "apps";
|
||||
pname = "xfce4-terminal";
|
||||
version = "0.8.10";
|
||||
version = "1.0.1";
|
||||
|
||||
sha256 = "sha256-FINoED7C2PXeDJf9sKD7bk+b5FGZMMqXFe3i2zLDqGw=";
|
||||
sha256 = "sha256-+tuJGA/g0ddDop5mTbRZGVGUKKZ87fmdVMOaaBhMpFQ=";
|
||||
|
||||
nativeBuildInputs = [ libxslt docbook_xml_dtd_45 docbook_xsl ];
|
||||
|
||||
|
@ -17,9 +17,9 @@
|
||||
mkXfceDerivation {
|
||||
category = "xfce";
|
||||
pname = "xfce4-panel";
|
||||
version = "4.16.3";
|
||||
version = "4.16.4";
|
||||
|
||||
sha256 = "sha256-PdE64WKdluKfof/l1wTPi7JdpJMYWIvi0yIdpyntsCA=";
|
||||
sha256 = "sha256-DlGcec5oUPDMzVztADw9fROmBIIO7isZ8gZEMGeDVcA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
|
@ -15,11 +15,11 @@ let
|
||||
category = "panel-plugins";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "xfce4-eyes-plugin";
|
||||
version = "4.5.1";
|
||||
version = "4.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xfce/src/${category}/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-TbeAF45Sk5HVPaGA5JOGkE5ppaM7O9UYWDXQp+b/WsU=";
|
||||
sha256 = "sha256-rQ/wXYi6OTt8iSL4Iz7dM/wKTosAC2HeH486EMWuUyQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -216,7 +216,7 @@ let
|
||||
description = "A compiled language with Ruby like syntax and type inference";
|
||||
homepage = "https://crystal-lang.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ david50407 fabianhjr manveru peterhoeg ];
|
||||
maintainers = with maintainers; [ david50407 manveru peterhoeg ];
|
||||
platforms = let archNames = builtins.attrNames archs; in
|
||||
if (lib.versionOlder version "1.2.0") then remove "aarch64-darwin" archNames else archNames;
|
||||
broken = lib.versionOlder version "0.36.1" && stdenv.isDarwin;
|
||||
|
@ -288,6 +288,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = lib.teams.gcc.members;
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "aarch64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -312,7 +312,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -328,7 +328,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = with lib.maintainers; [ veprbl ];
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "x86_64-darwin" ];
|
||||
badPlatforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -341,6 +341,7 @@ stdenv.mkDerivation ({
|
||||
'';
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "aarch64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -297,6 +297,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = lib.teams.gcc.members;
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "aarch64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -276,6 +276,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = lib.teams.gcc.members;
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "aarch64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -307,6 +307,7 @@ stdenv.mkDerivation ({
|
||||
maintainers = lib.teams.gcc.members;
|
||||
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [ "aarch64-darwin" ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -1,101 +1,44 @@
|
||||
diff --git a/Cargo.lock b/Cargo.lock
|
||||
index ef25833..d9de212 100644
|
||||
index 4d699f11..1eb894fc 100644
|
||||
--- a/Cargo.lock
|
||||
+++ b/Cargo.lock
|
||||
@@ -41,9 +41,9 @@ checksum = "f8aac770f1885fd7e387acedd76065302551364496e46b3dd00860b2f8359b9d"
|
||||
|
||||
[[package]]
|
||||
name = "az"
|
||||
-version = "0.3.1"
|
||||
+version = "1.0.0"
|
||||
@@ -875,15 +875,6 @@ version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "41a6b78289a33e09b00818ca8c90ab17c5dabb6e74f4b29a6de679c0e0886ade"
|
||||
+checksum = "e9bcd47d94aa4eb8c076b50fc61a75020789394ffb9bd74a180b3379130f6569"
|
||||
|
||||
[[package]]
|
||||
name = "base64"
|
||||
@@ -384,9 +384,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "gmp-mpfr-sys"
|
||||
-version = "1.2.2"
|
||||
+version = "1.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "63d7f805cf9df081683d463f62864bda8b8e3ce7162a8e11cd0c49f27b8ce89b"
|
||||
+checksum = "ad4e8e85ec9fb902b4564deeb17b1a263d3ba1334bef56154418aa045b159508"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"winapi 0.3.8",
|
||||
@@ -485,9 +487,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lexical-core"
|
||||
-version = "0.4.6"
|
||||
+version = "0.4.8"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "2304bccb228c4b020f3a4835d247df0a02a7c4686098d4167762cfbbe4c5cb14"
|
||||
+checksum = "34449d00c5d4066537f4dc72320b18e3aa421e8e92669250eecd664c618fefce"
|
||||
dependencies = [
|
||||
"arrayvec 0.4.12",
|
||||
"cfg-if",
|
||||
@@ -766,15 +766,6 @@ version = "0.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
||||
checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
|
||||
|
||||
-[[package]]
|
||||
-name = "openssl-src"
|
||||
-version = "111.9.0+1.1.1g"
|
||||
-version = "300.0.2+3.0.0"
|
||||
-source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "a2dbe10ddd1eb335aba3780eb2eaa13e1b7b441d2562fd962398740927f39ec4"
|
||||
-checksum = "14a760a11390b1a5daf72074d4f6ff1a6e772534ae191f999f57e9ee8146d1fb"
|
||||
-dependencies = [
|
||||
- "cc",
|
||||
-]
|
||||
-
|
||||
[[package]]
|
||||
name = "openssl-sys"
|
||||
version = "0.9.58"
|
||||
@@ -784,7 +775,6 @@ dependencies = [
|
||||
"autocfg 1.0.0",
|
||||
version = "0.9.70"
|
||||
@@ -893,7 +884,6 @@ dependencies = [
|
||||
"autocfg 1.0.1",
|
||||
"cc",
|
||||
"libc",
|
||||
- "openssl-src",
|
||||
"pkg-config",
|
||||
"vcpkg",
|
||||
]
|
||||
@@ -1159,9 +1149,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rug"
|
||||
-version = "1.8.0"
|
||||
+version = "1.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "72315b6d9cb7d886fb99724330c47ceb29e923df657c31da3849fe88c0ded710"
|
||||
+checksum = "e538d00da450a8e48aac7e6322e67b2dc86ec71a1feeac0e3954c4f07f01bc45"
|
||||
dependencies = [
|
||||
"az",
|
||||
"gmp-mpfr-sys",
|
||||
@@ -1232,7 +1222,7 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||
|
||||
[[package]]
|
||||
name = "scryer-prolog"
|
||||
-version = "0.8.126"
|
||||
+version = "0.8.127"
|
||||
dependencies = [
|
||||
"base64 0.12.3",
|
||||
"blake2",
|
||||
@@ -1243,6 +1233,7 @@ dependencies = [
|
||||
@@ -1432,6 +1422,7 @@ dependencies = [
|
||||
"divrem",
|
||||
"downcast",
|
||||
"fxhash",
|
||||
"git-version",
|
||||
+ "gmp-mpfr-sys",
|
||||
"hostname",
|
||||
"indexmap",
|
||||
"lazy_static",
|
||||
"instructions-template",
|
||||
diff --git a/Cargo.toml b/Cargo.toml
|
||||
index c359e1b..75c4325 100644
|
||||
index 8e81a947..d21a8d49 100644
|
||||
--- a/Cargo.toml
|
||||
+++ b/Cargo.toml
|
||||
@@ -41,10 +41,14 @@ ring = "0.16.13"
|
||||
@@ -55,7 +55,7 @@ ring = "0.16.13"
|
||||
ripemd160 = "0.8.0"
|
||||
sha3 = "0.8.2"
|
||||
blake2 = "0.8.1"
|
||||
@ -104,10 +47,20 @@ index c359e1b..75c4325 100644
|
||||
native-tls = "0.2.4"
|
||||
chrono = "0.4.11"
|
||||
select = "0.4.3"
|
||||
roxmltree = "0.11.0"
|
||||
base64 = "0.12.3"
|
||||
sodiumoxide = "0.2.6"
|
||||
+
|
||||
@@ -66,10 +66,14 @@ sodiumoxide = "0.2.6"
|
||||
static_assertions = "1.1.0"
|
||||
slice-deque = "0.3.0"
|
||||
|
||||
+[dependencies.gmp-mpfr-sys]
|
||||
+version = "1.4"
|
||||
+features = ["use-system-libs"]
|
||||
+
|
||||
[dev-dependencies]
|
||||
assert_cmd = "1.0.3"
|
||||
predicates-core = "1.0.2"
|
||||
serial_test = "0.5.1"
|
||||
|
||||
[profile.release]
|
||||
-debug = true
|
||||
\ No newline at end of file
|
||||
+debug = true
|
||||
|
@ -1,6 +1,8 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, rustPlatform
|
||||
, rustfmt
|
||||
, gmp
|
||||
, libmpc
|
||||
, mpfr
|
||||
@ -10,21 +12,32 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "scryer-prolog";
|
||||
version = "0.8.127";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mthom";
|
||||
repo = "scryer-prolog";
|
||||
rev = "v${version}";
|
||||
sha256 = "0307yclslkdx6f0h0101a3da47rhz6qizf4i8q8rjh4id8wpdsn8";
|
||||
sha256 = "3NHpEg6QaUaqbBCq8uM5hFcqS24q4XrOnKjMmn8Z1Dg=";
|
||||
};
|
||||
|
||||
# Use system openssl, gmp, mpc and mpfr.
|
||||
cargoPatches = [ ./cargo.patch ];
|
||||
cargoPatches = [
|
||||
# Use system openssl, gmp, mpc and mpfr.
|
||||
./cargo.patch
|
||||
|
||||
cargoSha256 = "1vf7pfhvpk7ikzibdccw7xgbywv5n4vvshjwsdsf94bhl2knrlg3";
|
||||
./fix-tests.patch
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
# Avoid testing failing with "couldn't save history"
|
||||
(fetchpatch {
|
||||
name = "fix-tests-1";
|
||||
url = "https://patch-diff.githubusercontent.com/raw/mthom/scryer-prolog/pull/1342.patch";
|
||||
sha256 = "2N0AOkFuf+H/aUn2QTXgmqjmvShTxHxB6kNuNdNoVRI=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoSha256 = "nqAHVXAmTW9mdE2L2yhpOTz16JbYgQUmCgiFq9pBzUU=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config rustfmt];
|
||||
buildInputs = [ openssl gmp libmpc mpfr ];
|
||||
|
||||
meta = with lib; {
|
||||
|
29
pkgs/development/compilers/scryer-prolog/fix-tests.patch
Normal file
29
pkgs/development/compilers/scryer-prolog/fix-tests.patch
Normal file
@ -0,0 +1,29 @@
|
||||
diff --git a/tests/scryer/src_tests.rs b/tests/scryer/src_tests.rs
|
||||
index b0b9efb5..8fddd842 100644
|
||||
--- a/tests/scryer/src_tests.rs
|
||||
+++ b/tests/scryer/src_tests.rs
|
||||
@@ -46,24 +46,6 @@ fn rules() {
|
||||
load_module_test("src/tests/rules.pl", "");
|
||||
}
|
||||
|
||||
-#[serial]
|
||||
-#[test]
|
||||
-fn setup_call_cleanup_load() {
|
||||
- load_module_test(
|
||||
- "src/tests/setup_call_cleanup.pl",
|
||||
- "1+21+31+2>_17737+_177381+_158071+2>41+2>_177381+2>31+2>31+2>4ba"
|
||||
- );
|
||||
-}
|
||||
-
|
||||
-#[test]
|
||||
-fn setup_call_cleanup_process() {
|
||||
- run_top_level_test_with_args(
|
||||
- &["src/tests/setup_call_cleanup.pl", "-f", "-g", "halt"],
|
||||
- "",
|
||||
- "1+21+31+2>_19590+_195911+_176601+2>41+2>_195911+2>31+2>31+2>4ba"
|
||||
- );
|
||||
-}
|
||||
-
|
||||
#[serial]
|
||||
#[test]
|
||||
fn clpz_load() {
|
@ -176,6 +176,10 @@ let
|
||||
if test -e $out/bin/phpdbg; then
|
||||
wrapProgram $out/bin/phpdbg --set PHP_INI_SCAN_DIR $out/lib
|
||||
fi
|
||||
|
||||
if test -e $out/bin/php-cgi; then
|
||||
wrapProgram $out/bin/php-cgi --set PHP_INI_SCAN_DIR $out/lib
|
||||
fi
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
23
pkgs/development/interpreters/zuo/default.nix
Normal file
23
pkgs/development/interpreters/zuo/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zuo";
|
||||
version = "unstable-2022-04-23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "racket";
|
||||
repo = "zuo";
|
||||
rev = "2f3e23bd374f9a6504de6000989ebf2adf67c80c";
|
||||
sha256 = "sha256-TxX3iinfL1hXFlQlGQ7x52O6zvYoJYXrMfEfSL4Axig=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Tiny Racket for Scripting";
|
||||
homepage = "https://github.com/racket/zuo";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "armadillo";
|
||||
version = "11.0.0";
|
||||
version = "11.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
|
||||
sha256 = "sha256-f91PBBpiTNm/I8nYSYLZGI7HA1L6jqA0YanU2hFl8NM=";
|
||||
sha256 = "sha256-5D1ESTdsH8i1YglUMbuCz5xP+Yp5GiKiXQ+W5eeTfCI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "goffice";
|
||||
version = "0.10.51";
|
||||
version = "0.10.52";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "LoQQiE1qUa4AyUIJKKv6c/elUsGqIiNx308txazDzSM=";
|
||||
sha256 = "YLnv2UNw8JabOU8KrIxuuR4V68DOEja0Sqc16xyYhAw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config intltool ];
|
||||
|
@ -1,14 +1,21 @@
|
||||
{ lib, stdenv, fetchFromGitHub, python3, runCommand, makeWrapper, stress-ng }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, runCommand
|
||||
, makeWrapper
|
||||
, stress-ng
|
||||
}:
|
||||
|
||||
lib.fix (self: stdenv.mkDerivation rec {
|
||||
pname = "graphene-hardened-malloc";
|
||||
version = "8";
|
||||
version = "11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GrapheneOS";
|
||||
repo = "hardened_malloc";
|
||||
rev = version;
|
||||
sha256 = "sha256-+5kJb3hhuFTto7zsIymIXl3tpKUOm3v1DCY4EkAOCgo=";
|
||||
sha256 = "sha256-BbjL0W12QXFmGCzFrFYY6CZZeFbUt0elCGhM+mbL/IU=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
@ -20,7 +27,7 @@ lib.fix (self: stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
install -Dm444 -t $out/include include/*
|
||||
install -Dm444 -t $out/lib libhardened_malloc.so
|
||||
install -Dm444 -t $out/lib out/libhardened_malloc.so
|
||||
|
||||
mkdir -p $out/bin
|
||||
substitute preload.sh $out/bin/preload-hardened-malloc --replace "\$dir" $out/lib
|
||||
@ -41,21 +48,21 @@ lib.fix (self: stdenv.mkDerivation rec {
|
||||
# standalone executables. this includes disabling tests for
|
||||
# malloc_object_size, which doesn't make sense to use via LD_PRELOAD.
|
||||
buildPhase = ''
|
||||
pushd test/simple-memory-corruption
|
||||
pushd test
|
||||
make LDLIBS= LDFLAGS=-Wl,--unresolved-symbols=ignore-all CXXFLAGS=-lstdc++
|
||||
substituteInPlace test_smc.py \
|
||||
--replace 'test_malloc_object_size' 'dont_test_malloc_object_size' \
|
||||
--replace 'test_invalid_malloc_object_size' 'dont_test_invalid_malloc_object_size'
|
||||
popd # test/simple-memory-corruption
|
||||
popd # test
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/test
|
||||
cp -r test/simple-memory-corruption $out/test/simple-memory-corruption
|
||||
cp -r test $out/test
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${python3.interpreter} $out/bin/run-tests \
|
||||
--add-flags "-I -m unittest discover --start-directory $out/test/simple-memory-corruption"
|
||||
--add-flags "-I -m unittest discover --start-directory $out/test"
|
||||
'';
|
||||
};
|
||||
tests = {
|
||||
|
@ -1,22 +1,49 @@
|
||||
{ lib, stdenv, autoconf, automake, autoreconfHook, fetchurl, glib, gobject-introspection, gtk-doc, libtool, libxml2, libxslt, openssl, pkg-config, python27Packages, xmlsec, zlib }:
|
||||
{ lib, stdenv
|
||||
, autoreconfHook
|
||||
, fetchurl
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, gtk-doc
|
||||
, libtool
|
||||
, libxml2
|
||||
, libxslt
|
||||
, openssl
|
||||
, pkg-config
|
||||
, python3
|
||||
, xmlsec
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "lasso";
|
||||
version = "2.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dev.entrouvert.org/lasso/lasso-${version}.tar.gz";
|
||||
sha256 = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
|
||||
|
||||
hash = "sha256-/8vVhR2YWGx+HK9DutZhZCEaO2HRK/hgoFmESP+fKzg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config autoconf automake ];
|
||||
buildInputs = [ glib gobject-introspection gtk-doc libtool libxml2 libxslt openssl python27Packages.six xmlsec zlib ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
python3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gobject-introspection
|
||||
gtk-doc
|
||||
libtool
|
||||
libxml2
|
||||
libxslt
|
||||
openssl
|
||||
python3.pkgs.six
|
||||
xmlsec
|
||||
zlib
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
./configure --with-pkg-config=$PKG_CONFIG_PATH \
|
||||
--disable-python \
|
||||
--disable-perl \
|
||||
--prefix=$out
|
||||
'';
|
||||
@ -28,5 +55,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ womfoo ];
|
||||
};
|
||||
|
||||
}
|
||||
|
23
pkgs/development/libraries/libkqueue/default.nix
Normal file
23
pkgs/development/libraries/libkqueue/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libkqueue";
|
||||
version = "2.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mheily";
|
||||
repo = "libkqueue";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qh1r95A/ngg4KWSVYlC8ldv2ClV+rRPNcJDH+aAGxHs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "kqueue(2) compatibility library";
|
||||
homepage = "https://github.com/mheily/libkqueue";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -16,13 +16,13 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libpinyin";
|
||||
version = "2.6.1";
|
||||
version = "2.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libpinyin";
|
||||
repo = "libpinyin";
|
||||
rev = version;
|
||||
sha256 = "0izisma5g9a7mxfxs177pi1d7v9dklm0ar4z404nf2s8x4wcg3ib";
|
||||
sha256 = "sha256-hafetjKWqImg3Jr1tSXjY0RwbBQ7LccXqx0OdtKCy/c=";
|
||||
};
|
||||
|
||||
postUnpack = ''
|
||||
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for intelligent sentence-based Chinese pinyin input method";
|
||||
homepage = "https://sourceforge.net/projects/libpinyin";
|
||||
homepage = "https://github.com/libpinyin/libpinyin";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ linsui ericsagnes ];
|
||||
platforms = platforms.linux;
|
||||
|
@ -1,12 +0,0 @@
|
||||
{ libraw, fetchFromGitHub }:
|
||||
|
||||
libraw.overrideAttrs (_: rec {
|
||||
version = "0.20.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = version;
|
||||
sha256 = "16nm4r2l5501c9zvz25pzajq5id592jhn068scjxhr8np2cblybc";
|
||||
};
|
||||
})
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libraw";
|
||||
version = "unstable-2021-12-03";
|
||||
version = "0.20.2.p2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
|
||||
sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
|
||||
rev = "fedad11e87daad7b7d389a3ef84ccf10b5e84710"; # current 0.20-stable branch
|
||||
sha256 = "1mklf8lzybzyg75ja34822xlv6h9nw93griyrjjna7darl1dyvja";
|
||||
};
|
||||
|
||||
outputs = [ "out" "lib" "dev" "doc" ];
|
||||
|
12
pkgs/development/libraries/libraw/unstable.nix
Normal file
12
pkgs/development/libraries/libraw/unstable.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ libraw, fetchFromGitHub }:
|
||||
|
||||
libraw.overrideAttrs (_: rec {
|
||||
version = "unstable-2021-12-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LibRaw";
|
||||
repo = "LibRaw";
|
||||
rev = "52b2fc52e93a566e7e05eaa44cada58e3360b6ad";
|
||||
sha256 = "kW0R4iPuqnFuWYDrl46ok3kaPcGgY2MqZT7mqVX+BDQ=";
|
||||
};
|
||||
})
|
@ -1,19 +1,22 @@
|
||||
{lib, stdenv, fetchgit, gettext, python2, elfutils}:
|
||||
{ lib, stdenv, fetchgit
|
||||
, gettext
|
||||
, python3
|
||||
, elfutils
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "libsystemtap";
|
||||
version = "3.2";
|
||||
version = "4.6";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://sourceware.org/git/systemtap.git";
|
||||
rev = "4051c70c9318c837981384cbb23f3e9eb1bd0892";
|
||||
sha256 = "0sd8n3j3rishks3gyqj2jyqhps7hmlfjyz8i0w8v98cczhhh04rq";
|
||||
fetchSubmodules = false;
|
||||
rev = "release-4.6";
|
||||
hash = "sha256-z7OUy0VGxK39aYCWFfvJnWk34Je0R+51kK5pGh7TzXM=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = [ gettext python2 elfutils ];
|
||||
nativeBuildInputs = [ gettext python3 elfutils ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/include
|
||||
|
@ -5,12 +5,13 @@
|
||||
, openssl
|
||||
, zlib
|
||||
, libuv
|
||||
, fetchpatch
|
||||
# External poll is required for e.g. mosquitto, but discouraged by the maintainer.
|
||||
, withExternalPoll ? false
|
||||
}:
|
||||
|
||||
let
|
||||
generic = { version, sha256 }: stdenv.mkDerivation rec {
|
||||
generic = { version, sha256, patches ? [] }: stdenv.mkDerivation rec {
|
||||
pname = "libwebsockets";
|
||||
inherit version;
|
||||
|
||||
@ -21,6 +22,8 @@ let
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
|
||||
buildInputs = [ openssl zlib libuv ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
@ -76,7 +79,15 @@ in {
|
||||
};
|
||||
|
||||
libwebsockets_4_3 = generic {
|
||||
version = "4.3.0";
|
||||
sha256 = "13lxb487mqlzbsbv6fbj50r1717mfwdy87ps592lgfy3307yqpr4";
|
||||
version = "4.3.1";
|
||||
sha256 = "sha256-lB3JHh058cQc5rycLnHk3JAOgtku0nRCixN5U6lPKq8=";
|
||||
patches = [
|
||||
# fixes the propagated cmake files, fixing the build of ttyd
|
||||
# see also https://github.com/tsl0922/ttyd/issues/918
|
||||
(fetchpatch {
|
||||
url = "https://github.com/warmcat/libwebsockets/commit/99a8b9c4422bed45c8b7412a1e121056f2a6132a.patch";
|
||||
hash = "sha256-zHBo2ZEayvibM+jzeVaZqySxghaOLUglpSFwuGhl6HM=";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -20,13 +20,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pdal";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PDAL";
|
||||
repo = "PDAL";
|
||||
rev = version;
|
||||
sha256 = "sha256-DKIraCyp8fcgnVp5dFrtQ4Wq96cQGC9SiAPLS6htUZc=";
|
||||
sha256 = "sha256-w9Fu4Op6OdaxdvOUM+glpJUEZq//EwRD2lqzYrMXk8w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,48 +0,0 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, sphinxbase
|
||||
, pkg-config
|
||||
, python27 # >= 2.6
|
||||
, swig2 # 2.0
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pocketsphinx";
|
||||
version = "5prealpha";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cmusphinx/pocketsphinx-${version}.tar.gz";
|
||||
sha256 = "1n9yazzdgvpqgnfzsbl96ch9cirayh74jmpjf7svs4i7grabanzg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sphinxbase ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ python27 swig2 ];
|
||||
|
||||
meta = {
|
||||
description = "Voice recognition library written in C";
|
||||
homepage = "http://cmusphinx.sourceforge.net";
|
||||
license = lib.licenses.free;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
/* Example usage:
|
||||
|
||||
|
||||
1.
|
||||
|
||||
$ cat << EOF > vocabulary.txt
|
||||
oh mighty computer /1e-40/
|
||||
hello world /1e-30/
|
||||
EOF
|
||||
|
||||
2.
|
||||
|
||||
$ pocketsphinx_continuous -inmic yes -kws vocabulary.txt 2> /dev/null
|
||||
# after you say "hello world":
|
||||
hello world
|
||||
...
|
||||
|
||||
*/
|
@ -1,40 +0,0 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, bison
|
||||
, pkg-config
|
||||
, python27 # >= 2.6
|
||||
, swig2 # 2.0
|
||||
, multipleOutputs ? false #Uses incomplete features of nix!
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (rec {
|
||||
pname = "sphinxbase";
|
||||
version = "5prealpha";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/cmusphinx/sphinxbase-${version}.tar.gz";
|
||||
sha256 = "0vr4k8pv5a8nvq9yja7kl13b5lh0f9vha8fc8znqnm8bwmcxnazp";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ swig2 python27 bison ];
|
||||
|
||||
meta = {
|
||||
description = "Support Library for Pocketsphinx";
|
||||
homepage = "http://cmusphinx.sourceforge.net";
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
|
||||
} // (lib.optionalAttrs multipleOutputs {
|
||||
outputs = [ "out" "lib" "headers" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $lib
|
||||
cp -av $out/lib* $lib
|
||||
|
||||
mkdir -p $headers
|
||||
cp -av $out/include $headers
|
||||
'';
|
||||
}))
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, boost
|
||||
, cmake
|
||||
, fftw
|
||||
@ -20,25 +19,17 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vigra";
|
||||
version = "1.11.1";
|
||||
version = "unstable-2022-01-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ukoethe";
|
||||
repo = "vigra";
|
||||
rev = "Version-${lib.replaceChars ["."] ["-"] version}";
|
||||
sha256 = "sha256-tD6tdoT4mWBtzkn4Xv3nNIkBQmeqNqzI1AVxUbP76Mk=";
|
||||
rev = "093d57d15c8c237adf1704d96daa6393158ce299";
|
||||
sha256 = "sha256-pFANoT00Wkh1/Dyd2x75IVTfyaoVA7S86tafUSr29Og=";
|
||||
};
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
|
||||
|
||||
# Fixes compilation with clang (on darwin) see https://github.com/ukoethe/vigra/issues/414
|
||||
patches =
|
||||
let clangPatch = fetchurl {
|
||||
url = "https://github.com/ukoethe/vigra/commit/81958d302494e137f98a8b1d7869841532f90388.patch";
|
||||
sha256 = "1i1w6smijgb5z8bg9jaq84ccy00k2sxm87s37lgjpyix901gjlgi";
|
||||
};
|
||||
in [ clangPatch ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
boost
|
||||
@ -59,9 +50,6 @@ stdenv.mkDerivation rec {
|
||||
++ lib.optionals (stdenv.hostPlatform.system == "x86_64-linux")
|
||||
[ "-DCMAKE_CXX_FLAGS=-fPIC" "-DCMAKE_C_FLAGS=-fPIC" ];
|
||||
|
||||
# fails with "./test_watersheds3d: error while loading shared libraries: libvigraimpex.so.11: cannot open shared object file: No such file or directory"
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Novel computer vision C++ library with customizable algorithms and data structures";
|
||||
homepage = "https://hci.iwr.uni-heidelberg.de/vigra";
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiodiscover";
|
||||
version = "1.4.9";
|
||||
version = "1.4.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "bdraco";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-KfNf09L8WF8Op+uVLRttROIgXpY79v0HfMv8b2qMSxE=";
|
||||
sha256 = "sha256-s5g8otQSWTAOkN4q1LrM/FxVlOnGSv8XKtIDkdwcHMg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
43
pkgs/development/python-modules/arris-tg2492lg/default.nix
Normal file
43
pkgs/development/python-modules/arris-tg2492lg/default.nix
Normal file
@ -0,0 +1,43 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-aiohttp
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "arris-tg2492lg";
|
||||
version = "2.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vanbalken";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-C1o9HWWJ/G/7Pp6I0FbRmX2PQvUJx71L9wHRkUMtnL4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-aiohttp
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"arris_tg2492lg"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to connect to an Arris TG2492LG";
|
||||
homepage = "https://github.com/vanbalken/arris-tg2492lg";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "async-upnp-client";
|
||||
version = "0.27.0";
|
||||
version = "0.28.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "StevenLooman";
|
||||
repo = "async_upnp_client";
|
||||
rev = version;
|
||||
sha256 = "sha256-QElc4J2BxOFI+L9D/SVMiYeRVOmwrNTW65LgdBG0TbU=";
|
||||
sha256 = "sha256-ZyYIZLIlLQV3Yj4a+M5vZVaTe9lEsrWhBe/g9wzM1TY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,32 +1,47 @@
|
||||
{ lib, buildPythonPackage, fetchPypi
|
||||
, nose
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, python
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Bottleneck";
|
||||
pname = "bottleneck";
|
||||
version = "1.3.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-F2Sn9K1YxVhyPFQoR+s2erC7ttiApOXV7vMKDs5c7Oo=";
|
||||
pname = "Bottleneck";
|
||||
inherit version;
|
||||
hash = "sha256-F2Sn9K1YxVhyPFQoR+s2erC7ttiApOXV7vMKDs5c7Oo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "__builtins__.__NUMPY_SETUP__ = False" ""
|
||||
'';
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkInputs = [ pytest nose ];
|
||||
checkPhase = ''
|
||||
py.test -p no:warnings $out/${python.sitePackages}
|
||||
'';
|
||||
pytestFlagsArray = [
|
||||
"$out/${python.sitePackages}"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_make_c_files"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bottleneck"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast NumPy array functions written in C";
|
||||
description = "Fast NumPy array functions";
|
||||
homepage = "https://github.com/pydata/bottleneck";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ ];
|
||||
|
39
pkgs/development/python-modules/db-dtypes/default.nix
Normal file
39
pkgs/development/python-modules/db-dtypes/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, packaging
|
||||
, pandas
|
||||
, pyarrow
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "db-dtypes";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3070d1a8d86ff0b5d9b16f15c5fab9c18893c6b3d5723cd95ee397b169049454";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
packaging
|
||||
pandas
|
||||
pyarrow
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "db_dtypes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pandas Data Types for SQL systems (BigQuery, Spanner)";
|
||||
homepage = "https://github.com/googleapis/python-db-dtypes-pandas";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, bazel_0_26
|
||||
, buildBazelPackage
|
||||
, buildPythonPackage
|
||||
, git
|
||||
, python
|
||||
, six
|
||||
, absl-py
|
||||
, semantic-version
|
||||
, contextlib2
|
||||
, wrapt
|
||||
, tensorflow
|
||||
, tensorflow-probability
|
||||
, tensorflow-estimator
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.33";
|
||||
|
||||
# first build all binaries and generate setup.py using bazel
|
||||
bazel-build = buildBazelPackage {
|
||||
bazel = bazel_0_26;
|
||||
|
||||
name = "dm-sonnet-bazel-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepmind";
|
||||
repo = "sonnet";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nqsja1s8jrkq6v1whgh7smk17313mjr9vs3k5c1m8px4yblzhqc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
git # needed to fetch the bazel deps (protobuf in particular)
|
||||
];
|
||||
|
||||
# see https://github.com/deepmind/sonnet/blob/master/docs/INSTALL.md
|
||||
bazelTarget = ":install";
|
||||
|
||||
fetchAttrs = {
|
||||
sha256 = "09dzxs2v5wpiaxrz7qj257q1fbx0gxwbk0jyx58n81m5kys7yj9k";
|
||||
};
|
||||
|
||||
buildAttrs = {
|
||||
preBuild = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
# do not generate a wheel, instead just copy the generated files to $out to be installed by buildPythonPackage
|
||||
sed -i 's,.*bdist_wheel.*,cp -rL . "$out"; exit 0,' bazel-bin/install
|
||||
|
||||
# the target directory "dist" does not actually matter since we're not generating a wheel
|
||||
bazel-bin/install dist
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# now use pip to install the package prepared by bazel
|
||||
in buildPythonPackage {
|
||||
pname = "dm-sonnet";
|
||||
inherit version;
|
||||
|
||||
src = bazel-build;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
absl-py
|
||||
semantic-version
|
||||
contextlib2
|
||||
wrapt
|
||||
tensorflow
|
||||
tensorflow-probability
|
||||
tensorflow-estimator
|
||||
];
|
||||
|
||||
# not sure how to properly run the real test suite -- through bazel?
|
||||
checkPhase = ''
|
||||
${python.interpreter} -c "import sonnet"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "TensorFlow-based neural network library";
|
||||
homepage = "https://sonnet.dev";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ timokau ];
|
||||
platforms = platforms.linux;
|
||||
broken = true; # depends on older TensorFlow version than is currently packaged
|
||||
};
|
||||
}
|
@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "elkm1-lib";
|
||||
version = "1.3.1";
|
||||
version = "1.3.4";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "gwww";
|
||||
repo = "elkm1";
|
||||
rev = version;
|
||||
hash = "sha256-z6iiXMvBZs4JshQofQpPA7u89wu8owW1wi+JAYk/R9k=";
|
||||
hash = "sha256-g8tMVH1MZihEEHGQjxX/Mcn5Mu3N9VA3AGdk2avlOoE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "faraday-plugins";
|
||||
version = "1.6.3";
|
||||
version = "1.6.4";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "infobyte";
|
||||
repo = "faraday_plugins";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-oynDX1miBvBmiN22ILQH1Q2y+PmWOfBunjZmVSnlvKk=";
|
||||
sha256 = "sha256-0IAr91ql4ShjGQol3uc/erIHW6E1Vzj724JJ3NaLZUo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -35,7 +35,8 @@ buildPythonPackage rec {
|
||||
--replace "'webdataset'," ""
|
||||
'';
|
||||
|
||||
buildInputs = [ libjpeg pkgconfig ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libjpeg ];
|
||||
propagatedBuildInputs = [ opencv4 numba pandas pytorch-pfn-extras terminaltables tqdm ];
|
||||
|
||||
# `ffcv._libffcv*.so` cannot be loaded in the nix build environment for some
|
||||
|
42
pkgs/development/python-modules/fivem-api/default.nix
Normal file
42
pkgs/development/python-modules/fivem-api/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fivem-api";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6llrMGWbDRmysEw+B6B115hLS5xlktQEXiSHzPLbV5s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fivem"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module for interacting with FiveM servers";
|
||||
homepage = "https://github.com/Sander0542/fivem-api";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-auth
|
||||
, google-cloud-bigquery
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigquery-storage";
|
||||
version = "2.13.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7a25148f635a04ca9ff568d47e64be275d3a4a3c90772524879e8f88f270d92d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
google-auth
|
||||
google-cloud-bigquery
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# dependency loop with google-cloud-bigquery
|
||||
doCheck = false;
|
||||
|
||||
preCheck = ''
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.bigquery_storage"
|
||||
"google.cloud.bigquery_storage_v1"
|
||||
"google.cloud.bigquery_storage_v1beta2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "BigQuery Storage API API client library";
|
||||
homepage = "https://github.com/googleapis/python-bigquery-storage";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user