Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-05-17 06:22:27 +00:00
committed by GitHub
232 changed files with 1970 additions and 1444 deletions
@@ -169,6 +169,18 @@
})
```
- Unnecessary string conversions should be avoided. Do
```nix
rev = version;
```
instead of
```nix
rev = "${version}";
```
- Arguments should be listed in the order they are used, with the exception of `lib`, which always goes first.
- The top-level `lib` must be used in the master and 21.05 branch over its alias `stdenv.lib` as it now causes evaluation errors when aliases are disabled which is the case for ofborg.
+2
View File
@@ -34,6 +34,8 @@ Erlang.mk works exactly as expected. There is a bootstrap process that needs to
For Elixir applications use `mixRelease` to make a release. See examples for more details.
There is also a `buildMix` helper, whose behavior is closer to that of `buildErlangMk` and `buildRebar3`. The primary difference is that mixRelease makes a release, while buildMix only builds the package, making it useful for libraries and other dependencies.
## How to Install BEAM Packages {#how-to-install-beam-packages}
BEAM builders are not registered at the top level, simply because they are not relevant to the vast majority of Nix users. To install any of those builders into your profile, refer to them by their attribute path `beamPackages.rebar3`:
-18
View File
@@ -3709,12 +3709,6 @@
githubId = 1447245;
name = "Robin Gloster";
};
gnidorah = {
email = "gnidorah@users.noreply.github.com";
github = "gnidorah";
githubId = 12064730;
name = "gnidorah";
};
gnxlxnxx = {
email = "gnxlxnxx@web.de";
github = "gnxlxnxx";
@@ -7019,12 +7013,6 @@
githubId = 1222539;
name = "Roman Naumann";
};
nand0p = {
email = "nando@hex7.com";
github = "nand0p";
githubId = 1916245;
name = "Fernando Jose Pando";
};
nasirhm = {
email = "nasirhussainm14@gmail.com";
github = "nasirhm";
@@ -7707,12 +7695,6 @@
githubId = 152312;
name = "Periklis Tsirakidis";
};
pesterhazy = {
email = "pesterhazy@gmail.com";
github = "pesterhazy";
githubId = 106328;
name = "Paulus Esterhazy";
};
petabyteboy = {
email = "milan@petabyte.dev";
github = "petabyteboy";
+18
View File
@@ -13,6 +13,7 @@ import http
import json
import os
import subprocess
import logging
import sys
import time
import traceback
@@ -34,6 +35,14 @@ ATOM_ENTRY = "{http://www.w3.org/2005/Atom}entry" # " vim gets confused here
ATOM_LINK = "{http://www.w3.org/2005/Atom}link" # "
ATOM_UPDATED = "{http://www.w3.org/2005/Atom}updated" # "
LOG_LEVELS = {
logging.getLevelName(level): level for level in [
logging.DEBUG, logging.INFO, logging.WARN, logging.ERROR ]
}
log = logging.getLogger()
log.addHandler(logging.StreamHandler())
def retry(ExceptionToCheck: Any, tries: int = 4, delay: float = 3, backoff: float = 2):
"""Retry calling the decorated function using an exponential backoff.
@@ -235,6 +244,7 @@ def prefetch_plugin(
alias: Optional[str],
cache: "Optional[Cache]" = None,
) -> Tuple[Plugin, Dict[str, str]]:
log.info("Prefetching plugin %s", repo_name)
repo = Repo(user, repo_name, branch, alias)
commit, date = repo.latest_commit()
has_submodules = repo.has_submodules()
@@ -464,6 +474,11 @@ def parse_args(editor: Editor):
"--no-commit", "-n", action="store_true", default=False,
help="Whether to autocommit changes"
)
parser.add_argument(
"--debug", "-d", choices=LOG_LEVELS.keys(),
default=logging.getLevelName(logging.WARN),
help="Adjust log level"
)
return parser.parse_args()
@@ -503,6 +518,9 @@ def update_plugins(editor: Editor):
"""The main entry function of this module. All input arguments are grouped in the `Editor`."""
args = parse_args(editor)
log.setLevel(LOG_LEVELS[args.debug])
log.info("Start updating plugins")
nixpkgs_repo = git.Repo(editor.root, search_parent_directories=True)
update = get_update(args.input_file, args.outfile, args.proc, editor)
+9
View File
@@ -178,4 +178,13 @@ with lib.maintainers; {
];
scope = "Maintain SageMath and the dependencies that are likely to break it.";
};
serokell = {
# Verify additions by approval of an already existing member of the team.
members = [
balsoft
mkaito
];
scope = "Group registration for Serokell employees who collectively maintain packages.";
};
}
@@ -1089,6 +1089,12 @@ environment.systemPackages = [
</programlisting>
</para>
</listitem>
<listitem>
<para>
The newly enabled <literal>systemd-pstore.service</literal> now automatically evacuates crashdumps and panic logs from the persistent storage to <literal>/var/lib/systemd/pstore</literal>.
This prevents NVRAM from filling up, which ensures the latest diagnostic data is always stored and alleviates problems with writing new boot configurations.
</para>
</listitem>
</itemizedlist>
</section>
</section>
@@ -99,5 +99,13 @@ with lib;
# because we have the firewall enabled. This makes installs from the
# console less cumbersome if the machine has a public IP.
networking.firewall.logRefusedConnections = mkDefault false;
# Prevent installation media from evacuating persistent storage, as their
# var directory is not persistent and it would thus result in deletion of
# those entries.
environment.etc."systemd/pstore.conf".text = ''
[PStore]
Unlink=no
'';
};
}
+1 -1
View File
@@ -144,5 +144,5 @@ in {
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
};
meta.maintainers = with lib.maintainers; [ gnidorah primeos colemickens ];
meta.maintainers = with lib.maintainers; [ primeos colemickens ];
}
+1 -1
View File
@@ -290,5 +290,5 @@ in {
];
meta.maintainers = [ maintainers.gnidorah ];
meta.maintainers = [ ];
}
@@ -7,12 +7,12 @@ let
defaultContainerdConfigFile = pkgs.writeText "containerd.toml" ''
version = 2
root = "/var/lib/containerd/daemon"
state = "/var/run/containerd/daemon"
root = "/var/lib/containerd"
state = "/run/containerd"
oom_score = 0
[grpc]
address = "/var/run/containerd/containerd.sock"
address = "/run/containerd/containerd.sock"
[plugins."io.containerd.grpc.v1.cri"]
sandbox_image = "pause:latest"
@@ -134,7 +134,7 @@ in
containerRuntimeEndpoint = mkOption {
description = "Endpoint at which to find the container runtime api interface/socket";
type = str;
default = "unix:///var/run/containerd/containerd.sock";
default = "unix:///run/containerd/containerd.sock";
};
enable = mkEnableOption "Kubernetes kubelet.";
@@ -283,5 +283,5 @@ in {
'')
];
meta.maintainers = with lib.maintainers; [ nand0p mic92 lopsided98 ];
meta.maintainers = with lib.maintainers; [ mic92 lopsided98 ];
}
@@ -191,6 +191,6 @@ in {
};
};
meta.maintainers = with lib.maintainers; [ nand0p ];
meta.maintainers = with lib.maintainers; [ ];
}
+1 -1
View File
@@ -48,5 +48,5 @@ in {
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
+1 -1
View File
@@ -42,5 +42,5 @@ in {
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
+1 -1
View File
@@ -54,6 +54,6 @@ in
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
+1 -1
View File
@@ -63,5 +63,5 @@ in
};
};
meta.maintainers = with lib.maintainers; [ gnidorah ];
meta.maintainers = with lib.maintainers; [ ];
}
+1 -1
View File
@@ -141,5 +141,5 @@ in
};
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
@@ -54,5 +54,5 @@ in {
};
meta.maintainers = with lib.maintainers; [ nand0p ];
meta.maintainers = with lib.maintainers; [ ];
}
+25 -8
View File
@@ -63,6 +63,18 @@ in {
'';
};
user = mkOption {
default = "caddy";
type = types.str;
description = "User account under which caddy runs.";
};
group = mkOption {
default = "caddy";
type = types.str;
description = "Group account under which caddy runs.";
};
adapter = mkOption {
default = "caddyfile";
example = "nginx";
@@ -123,8 +135,8 @@ in {
ExecStart = "${cfg.package}/bin/caddy run --config ${configJSON}";
ExecReload = "${cfg.package}/bin/caddy reload --config ${configJSON}";
Type = "simple";
User = "caddy";
Group = "caddy";
User = cfg.user;
Group = cfg.group;
Restart = "on-abnormal";
AmbientCapabilities = "cap_net_bind_service";
CapabilityBoundingSet = "cap_net_bind_service";
@@ -142,13 +154,18 @@ in {
};
};
users.users.caddy = {
group = "caddy";
uid = config.ids.uids.caddy;
home = cfg.dataDir;
createHome = true;
users.users = optionalAttrs (cfg.user == "caddy") {
caddy = {
group = cfg.group;
uid = config.ids.uids.caddy;
home = cfg.dataDir;
createHome = true;
};
};
users.groups = optionalAttrs (cfg.group == "caddy") {
caddy.gid = config.ids.gids.caddy;
};
users.groups.caddy.gid = config.ids.uids.caddy;
};
}
@@ -154,9 +154,9 @@ let
${optionalString (cfg.recommendedProxySettings) ''
proxy_redirect off;
proxy_connect_timeout 60;
proxy_send_timeout 60;
proxy_read_timeout 60;
proxy_connect_timeout ${cfg.proxyTimeout};
proxy_send_timeout ${cfg.proxyTimeout};
proxy_read_timeout ${cfg.proxyTimeout};
proxy_http_version 1.1;
include ${recommendedProxyConfig};
''}
@@ -401,6 +401,15 @@ in
";
};
proxyTimeout = mkOption {
type = types.str;
default = "60s";
example = "20s";
description = "
Change the proxy related timeouts in recommendedProxySettings.
";
};
package = mkOption {
default = pkgs.nginxStable;
defaultText = "pkgs.nginxStable";
@@ -89,6 +89,6 @@ in
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
@@ -68,5 +68,5 @@ in {
}];
};
meta.maintainers = [ maintainers.gnidorah ];
meta.maintainers = [ ];
}
+2
View File
@@ -90,6 +90,7 @@ let
"systemd-fsck@.service"
"systemd-fsck-root.service"
"systemd-remount-fs.service"
"systemd-pstore.service"
"local-fs.target"
"local-fs-pre.target"
"remote-fs.target"
@@ -1183,6 +1184,7 @@ in
systemd.targets.remote-fs.unitConfig.X-StopOnReconfiguration = true;
systemd.targets.network-online.wantedBy = [ "multi-user.target" ];
systemd.services.systemd-importd.environment = proxy_env;
systemd.services.systemd-pstore.wantedBy = [ "sysinit.target" ]; # see #81138
# Don't bother with certain units in containers.
systemd.services.systemd-remount-fs.unitConfig.ConditionVirtualization = "!container";
+30 -4
View File
@@ -272,10 +272,10 @@ in
wants = [ "local-fs.target" "remote-fs.target" ];
};
# Emit systemd services to format requested filesystems.
systemd.services =
let
# Emit systemd services to format requested filesystems.
let
formatDevice = fs:
let
mountPoint' = "${escapeSystemdPath fs.mountPoint}.mount";
@@ -302,8 +302,34 @@ in
unitConfig.DefaultDependencies = false; # needed to prevent a cycle
serviceConfig.Type = "oneshot";
};
in listToAttrs (map formatDevice (filter (fs: fs.autoFormat) fileSystems));
in listToAttrs (map formatDevice (filter (fs: fs.autoFormat) fileSystems)) // {
# Mount /sys/fs/pstore for evacuating panic logs and crashdumps from persistent storage onto the disk using systemd-pstore.
# This cannot be done with the other special filesystems because the pstore module (which creates the mount point) is not loaded then.
# Since the pstore filesystem is usually empty right after mounting because the backend isn't registered yet, and a path unit cannot detect files inside of it, the same service waits for that to happen. systemd's restart mechanism can't be used here because the first failure also fails all dependent units.
"mount-pstore" = {
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkgs.utillinux}/bin/mount -t pstore -o nosuid,noexec,nodev pstore /sys/fs/pstore";
ExecStartPost = pkgs.writeShellScript "wait-for-pstore.sh" ''
set -eu
TRIES=0
while [ $TRIES -lt 20 ] && [ "$(cat /sys/module/pstore/parameters/backend)" = "(null)" ]; do
sleep 0.1
TRIES=$((TRIES+1))
done
'';
RemainAfterExit = true;
};
unitConfig = {
ConditionVirtualization = "!container";
DefaultDependencies = false; # needed to prevent a cycle
};
after = [ "modprobe@pstore.service" ];
requires = [ "modprobe@pstore.service" ];
before = [ "systemd-pstore.service" ];
wantedBy = [ "systemd-pstore.service" ];
};
};
systemd.tmpfiles.rules = [
"d /run/keys 0750 root ${toString config.ids.gids.keys}"
+8 -3
View File
@@ -44,9 +44,7 @@ in
KillMode = "process";
Type = "notify";
Restart = "always";
RestartSec = "5";
StartLimitBurst = "8";
StartLimitIntervalSec = "120s";
RestartSec = "10";
# "limits" defined below are adopted from upstream: https://github.com/containerd/containerd/blob/master/containerd.service
LimitNPROC = "infinity";
@@ -54,6 +52,13 @@ in
LimitNOFILE = "infinity";
TasksMax = "infinity";
OOMScoreAdjust = "-999";
StateDirectory = "containerd";
RuntimeDirectory = "containerd";
};
unitConfig = {
StartLimitBurst = "16";
StartLimitIntervalSec = "120s";
};
};
};
+1 -1
View File
@@ -82,5 +82,5 @@ in {
};
};
meta.maintainers = with maintainers; [ gnidorah ];
meta.maintainers = with maintainers; [ ];
}
+1 -1
View File
@@ -109,5 +109,5 @@ import ./make-test-python.nix {
bbworker.fail("nc -z bbmaster 8011")
'';
meta.maintainers = with pkgs.lib.maintainers; [ nand0p ];
meta.maintainers = with pkgs.lib.maintainers; [ ];
} {}
+1 -1
View File
@@ -12,7 +12,7 @@ let
name = "oci-containers-${backend}";
meta = {
maintainers = with lib.maintainers; [ adisbladis benley mkaito ];
maintainers = with lib.maintainers; [ adisbladis benley ] ++ lib.teams.serokell.members;
};
nodes = {
+1 -1
View File
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
homepage = src.meta.homepage;
license = licenses.boost;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
};
}
@@ -56,7 +56,7 @@ in stdenv.mkDerivation {
description = "Convert MIDI Files to Piano Sheet Music for two hands";
homepage = "http://midisheetmusic.com";
license = licenses.gpl2;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
platforms = platforms.linux;
};
}
+1 -1
View File
@@ -33,6 +33,6 @@ in mkDerivation rec {
homepage = "http://munt.sourceforge.net/";
license = with licenses; [ lgpl21 gpl3 ];
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
};
}
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
description = "A cross-platform command-line based module file player";
homepage = "https://lib.openmpt.org/libopenmpt/";
license = licenses.bsd3;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}
+2 -2
View File
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
description = "Plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API";
homepage = "http://zakalwe.fi/uade/";
license = licenses.gpl2;
maintainers = [ lib.maintainers.gnidorah ];
platforms = lib.platforms.unix;
maintainers = [ ];
platforms = platforms.unix;
};
}
@@ -19,20 +19,20 @@
stdenv.mkDerivation rec {
pname = "pika-backup";
version = "0.2.3";
version = "0.3.0";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "pika-backup";
rev = "v${version}";
sha256 = "sha256-jy22eyuzM2y7vByT3TOlAUuTKtPepkB9iiHQT1YGQ88=";
sha256 = "sha256-k9kl6cSohWx+MB/9jyVcTgpv02gsVwAk5KDSNqQrmzI=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
sha256 = "1ndcpgw18w3l5f7vv5vw8lxhgd5y1zxfarwnyfx13m7kcv8m3vyj";
sha256 = "0r6nbffik5j82bi82cmc00b17xv9m7xn3w3sarzwfxz0h43lal8a";
};
patches = [
+5 -3
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation {
pname = "scite";
version = "4.0.5";
version = "5.0.2";
src = fetchurl {
url = "https://www.scintilla.org/scite405.tgz";
sha256 = "0h16wk2986nkkhhdv5g4lxlcn02qwyja24x1r6vf02r1hf46b9q2";
url = "https://www.scintilla.org/scite502.tgz";
sha256 = "00n2gr915f7kvp2250dzn6n0p6lhr6qdlm1m7y2xi6qrrky0bpan";
};
nativeBuildInputs = [ pkg-config ];
@@ -14,6 +14,8 @@ stdenv.mkDerivation {
sourceRoot = "scintilla/gtk";
buildPhase = ''
make
cd ../../lexilla/src
make
cd ../../scite/gtk
make prefix=$out/
@@ -16,13 +16,13 @@ in
stdenv.mkDerivation rec {
pname = "imagemagick";
version = "6.9.12-8";
version = "6.9.12-12";
src = fetchFromGitHub {
owner = "ImageMagick";
repo = "ImageMagick6";
rev = version;
sha256 = "sha256-ZFCmoZOdZ3jbM5S90zBNiMGJKFylMLO0r3DB25wu3MM=";
sha256 = "sha256-yqMYuayQjPlTqi3+CtwP5CdsAGud/fHR0I2LwUPIq00=";
};
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
@@ -63,6 +63,6 @@ in stdenv.mkDerivation rec {
homepage = "https://sourceforge.net/projects/lazpaint/";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
};
}
@@ -1,24 +1,21 @@
{ lib
, unstableGitUpdater
, buildGoModule
, fetchFromGitHub
}:
buildGoModule {
pname = "meme";
version = "unstable-2020-05-28";
buildGoModule rec {
pname = "meme-image-generator";
version = "1.0.1";
src = fetchFromGitHub {
owner = "nomad-software";
repo = "meme";
rev = "33a8b7d0de6996294a0464a605dacc17b26a6b02";
sha256 = "05h8d6pjszhr49xqg02nw94hm95kb7w1i7nw8jxi582fxxm2qbnm";
rev = "v${version}";
sha256 = "089r0v5az2d2njn0s3d3wd0861pcs4slg6zl0rj4cm1k5cj8yd1k";
};
vendorSha256 = null;
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "A command line utility for creating image macro style memes";
homepage = "https://github.com/nomad-software/meme";
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/JustArchiNET/ArchiSteamFarm";
license = licenses.asl20;
platforms = dotnetCorePackages.aspnetcore_3_1.meta.platforms;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
hydraPlatforms = [];
};
}
+1 -1
View File
@@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
homepage = src.meta.homepage;
license = licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
};
}
@@ -2,11 +2,11 @@
buildPythonApplication rec {
pname = "gallery_dl";
version = "1.17.3";
version = "1.17.4";
src = fetchPypi {
inherit pname version;
sha256 = "5da10d931c371841575d988b4e91e9d4ce55c8c3c99aa6d4efa5abca34c75ec8";
sha256 = "4df80fd923b03b2413a3d1c50e32c3006d100ed5acc1400ace69d8dc2162d293";
};
propagatedBuildInputs = [ requests ];
+1 -1
View File
@@ -49,7 +49,7 @@ in bundlerApp {
homepage = "https://jekyllrb.com/";
#changelog = "https://raw.githubusercontent.com/jekyll/jekyll/v${version}/History.markdown";
license = licenses.mit;
maintainers = with maintainers; [ pesterhazy ];
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}
@@ -0,0 +1,68 @@
{ lib
, python3
, fetchFromSourcehut
, desktop-file-utils
, glib
, gobject-introspection
, gtk3
, libhandy
, librsvg
, meson
, ninja
, pkg-config
, wrapGAppsHook
}:
python3.pkgs.buildPythonApplication rec {
pname = "numberstation";
version = "0.4.0";
format = "other";
src = fetchFromSourcehut {
owner = "~martijnbraam";
repo = "numberstation";
rev = version;
sha256 = "038yyffqknr274f7jh5z12y68pjxr37f8y2cn2pwhf605jmbmpwv";
};
postPatch = ''
patchShebangs build-aux/meson
'';
nativeBuildInputs = [
desktop-file-utils
glib
gtk3
meson
ninja
pkg-config
wrapGAppsHook
];
buildInputs = [
gobject-introspection
gtk3
libhandy
librsvg
];
propagatedBuildInputs = with python3.pkgs; [
keyring
pygobject3
pyotp
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
description = "TOTP Authentication application for mobile";
homepage = "https://sr.ht/~martijnbraam/numberstation/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ dotlambda ];
};
}
@@ -2,17 +2,18 @@
stdenv.mkDerivation rec {
pname = "plasma-applet-volumewin7mixer";
version = "25";
version = "26";
src = fetchFromGitHub {
owner = "Zren";
repo = "plasma-applet-volumewin7mixer";
rev = "v${version}";
sha256 = "1nvz0a06qb3pfk8dfh5n5vgf3psd6k0j3vms9pskr511qsxw0dfi";
sha256 = "sha256-VMOUNtAURTHDuJBOGz2N0+3VzxBmVNC1O8dVuyUZAa4=";
};
# Adds the CMakeLists.txt not provided by upstream
patches = [ ./cmake.patch ];
postPatch = "rm build ";
postPatch = "rm build";
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ plasma-framework kwindowsystem plasma-pa ];
+1 -1
View File
@@ -51,7 +51,7 @@ mkDerivation {
description = "Graphical disk usage analyzer";
homepage = src.meta.homepage;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
platforms = platforms.linux;
};
}
+6 -8
View File
@@ -1,19 +1,17 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, libiconv }:
{ lib, stdenv, rustPlatform, fetchCrate, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "xplr";
version = "0.8.4";
version = "0.9.1";
src = fetchFromGitHub {
owner = "sayanarijit";
repo = pname;
rev = "v${version}";
sha256 = "00kmmdwwf9cll25bkszgin2021ggf9b28jlcpicin5kgw4iwlhkj";
src = fetchCrate {
inherit pname version;
sha256 = "0ca6r0xkcdg1ha0n79kzxqh2ks5q3l3hgylqqy62vk51c6yrjx9x";
};
buildInputs = lib.optional stdenv.isDarwin libiconv;
cargoSha256 = "1j43vwb885h355wdmjijz1qpkqn1dmb93hwi6vc035vkbbxs1g4r";
cargoSha256 = "1c29dakcff130fvavgq2kpy2ncpgxkil2mi14q2m9jpsrvhqcdvk";
meta = with lib; {
description = "A hackable, minimal, fast TUI file explorer";
@@ -27,10 +27,10 @@ in {
pname = "discord-canary";
binaryName = "DiscordCanary";
desktopName = "Discord Canary";
version = "0.0.119";
version = "0.0.121";
src = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
sha256 = "0bzrilag7mjfhr84l956xisbaz8mmkmqizg22f9gabgcv85vwzsi";
sha256 = "0s85nh31wv39adawfmllp128n0wgyisbi604n0cngzi28rdw7bph";
};
};
}.${branch}
@@ -3,15 +3,15 @@
mkFranzDerivation rec {
pname = "ferdi";
name = "Ferdi";
version = "5.5.0";
version = "5.6.0-beta.5";
src = fetchurl {
url = "https://github.com/getferdi/ferdi/releases/download/v${version}/ferdi_${version}_amd64.deb";
sha256 = "0i24vcnq4iz5amqmn2fgk92ff9x9y7fg8jhc3g6ksvmcfly7af3k";
sha256 = "sha256-fDUzYir53OQ3O4o9eG70sGD+FJ0/4SDNsTfh97WFRnQ=";
};
meta = with lib; {
description = "Combine your favorite messaging services into one application";
homepage = "https://getferdi.com/";
license = licenses.free;
license = licenses.asl20;
maintainers = [ maintainers.davidtwco ];
platforms = [ "x86_64-linux" ];
hydraPlatforms = [ ];
@@ -23,6 +23,7 @@
, udev
, libnotify
, xdg-utils
, mesa
}:
# Helper function for building a derivation for Franz and forks.
@@ -48,6 +49,7 @@ stdenv.mkDerivation rec {
libXtst
libXScrnSaver
]) ++ [
mesa #libgbm
gtk3
atk
glib
@@ -12,13 +12,13 @@
mkDerivation rec {
pname = "kdeltachat";
version = "unstable-2021-05-03";
version = "unstable-2021-05-16";
src = fetchFromSourcehut {
owner = "~link2xt";
repo = "kdeltachat";
rev = "dd7455764074c0864234a6a25ab6f87e8d5c3121";
sha256 = "1vsy2jcisvf9mndxlwif3ghv1n2gz5ycr1qh72kgski38qan621v";
rev = "670960e18a7e9a1d994f26af27a12c73a7413c9a";
sha256 = "1k065pvz1p2wm1rvw4nlcmknc4z10ya4qfch5kz77bbhkf9vfw2l";
};
nativeBuildInputs = [
@@ -21,7 +21,7 @@ in mkRambox rec {
description = "Free and Open Source messaging and emailing app that combines common web applications into one";
homepage = "https://rambox.pro";
license = licenses.mit;
maintainers = with maintainers; [ gnidorah ma27 ];
maintainers = with maintainers; [ ma27 ];
platforms = ["i686-linux" "x86_64-linux"];
hydraPlatforms = [];
};
@@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, python, unzip, wxPython, wrapPython, tor }:
stdenv.mkDerivation rec {
{ lib, stdenv, fetchFromGitHub, python, unzip, wxPython, wrapPython, tor }:
stdenv.mkDerivation rec {
pname = "torchat";
version = "0.9.9.553";
src = fetchurl {
url = "https://github.com/prof7bit/TorChat/archive/${version}.tar.gz";
sha256 = "0rb4lvv40pz6ab5kxq40ycvh7kh1yxn7swzgv2ff2nbhi62xnzp0";
src = fetchFromGitHub {
owner = "prof7bit";
repo = "TorChat";
rev = version;
sha256 = "2LHG9qxZDo5rV6wsputdRo2Y1aHs+irMwt1ucFnXQE0=";
};
nativeBuildInputs = [ unzip ];
@@ -25,7 +25,7 @@ let
description = "Simple and Convenient Messaging App for VK";
homepage = "https://vk.com/messenger";
license = licenses.unfree;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin"];
};
@@ -2,12 +2,12 @@
let
pname = "ssb-patchwork";
version = "3.18.0";
version = "3.18.1";
name = "Patchwork-${version}";
src = fetchurl {
url = "https://github.com/ssbc/patchwork/releases/download/v${version}/${name}.AppImage";
sha256 = "1sb9q1qj5mj4cf8d9dsc498mg8a1ri2y0p9qbh44i8ykby8jkgjc";
sha256 = "F8n6LLbgkg3z55lSY60T+pn2lra8aPt6Ztepw1gf2rI=";
};
binary = appimageTools.wrapType2 {
@@ -47,7 +47,7 @@ in
'';
homepage = "https://www.scuttlebutt.nz/";
license = licenses.agpl3;
maintainers = with maintainers; [ asymmetric ninjatrappeur ];
maintainers = with maintainers; [ asymmetric ninjatrappeur cyplo ];
platforms = [ "x86_64-linux" ];
};
}
+1 -1
View File
@@ -33,7 +33,7 @@ in mkDerivation {
description = "Smart manager for information collecting";
homepage = "https://webhamster.ru/site/page/index/articles/projectcode/138";
license = licenses.gpl3;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
platforms = platforms.linux;
};
}
+2 -2
View File
@@ -36,11 +36,11 @@
stdenv.mkDerivation rec {
pname = "zotero";
version = "5.0.96";
version = "5.0.96.2";
src = fetchurl {
url = "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
sha256 = "sha256-W8Iu8UoTqC3aK7lB4bq1L7cNmjaEvjEK+ODcZ9kk3f8=";
sha256 = "sha256-ZT+qxNLjdG29DhyV0JXtgDHDi2gYPyKrZwgJOro5III=";
};
nativeBuildInputs = [ wrapGAppsHook ];
+3 -3
View File
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
version = "20.11";
version = "21.05";
pname = "rtl_433";
src = fetchFromGitHub {
owner = "merbanan";
repo = "rtl_433";
rev = version;
sha256 = "093bxjxkg7yf78wqj5gpijbfa2p05ny09qqsj84kzi1svnzsa369";
sha256 = "sha256-01mXOwLv16yTR65BboN+TFm2aE2EMfW1D5teDdW2wLg=";
};
nativeBuildInputs = [ pkg-config cmake ];
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Decode traffic from devices that broadcast on 433.9 MHz, 868 MHz, 315 MHz, 345 MHz and 915 MHz";
homepage = "https://github.com/merbanan/rtl_433";
license = licenses.gpl2;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ earldouglas ];
platforms = platforms.all;
};
@@ -33,6 +33,9 @@ in stdenv.mkDerivation rec {
# Force OpenMPI to use g++ in PATH.
OMPI_CXX = "g++";
# Uses some deprecated tensorflow functions
NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
buildInputs = [ openblas opencv3 libzip boost protobuf mpi ]
++ lib.optional cudaSupport cudatoolkit
++ lib.optional cudnnSupport cudnn;
@@ -40,7 +43,7 @@ in stdenv.mkDerivation rec {
configureFlags = [
"--with-opencv=${opencv3}"
"--with-libzip=${libzip.dev}"
"--with-openblas=${openblas}"
"--with-openblas=${openblas.dev}"
"--with-boost=${boost.dev}"
"--with-protobuf=${protobuf}"
"--with-mpi=${mpi}"
@@ -22,6 +22,6 @@ in buildEnv {
++ [ "${git}/share/gitweb" ];
meta = git.meta // {
maintainers = with lib.maintainers; [ gnidorah ];
maintainers = with lib.maintainers; [ ];
};
}
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, python2Packages, makeWrapper, unzip
{ lib, stdenv, fetchurl, python2Packages, makeWrapper
, guiSupport ? false, tk ? null
, ApplicationServices
, mercurialSrc ? fetchurl rec {
@@ -21,7 +21,7 @@ in python2Packages.buildPythonApplication {
inherit python; # pass it so that the same version can be used in hg2git
nativeBuildInputs = [ makeWrapper unzip ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ docutils ]
++ lib.optionals stdenv.isDarwin [ ApplicationServices ];
+1 -1
View File
@@ -45,7 +45,7 @@ let
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "v${kodiVersion}";
rev = "${kodiVersion}-${rel}";
sha256 = "0jh67vw3983lnfgqzqfislawwbpq0vxxk1ljsg7mar06mlwfxb7h";
};
@@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "conmon";
version = "2.0.27";
version = "2.0.28";
src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
sha256 = "sha256-LMvhSoKd652XVPzuId8Ortf0f08FUP1zCn06PgtRwkA=";
sha256 = "sha256-lwR+XoB1LoW/pLjmvExUJKGnAqFhvcDs3sEKkw6pv48=";
};
nativeBuildInputs = [ pkg-config ];
@@ -23,7 +23,7 @@ let
buildType = "release";
# Use maintainers/scripts/update.nix to update the version and all related hashes or
# change the hashes in extpack.nix and guest-additions/default.nix as well manually.
version = "6.1.18";
version = "6.1.22";
iasl' = iasl.overrideAttrs (old: rec {
inherit (old) pname;
@@ -40,7 +40,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
sha256 = "108d42b9b391b7a332a33df1662cf7b0e9d9a80f3079d16288d8b9487f427d40";
sha256 = "99816d2a15205d49362a31e8ffeb8262d2fa0678c751dfd0a7c43b2faca8be49";
};
outputs = [ "out" "modsrc" ];
@@ -103,8 +103,6 @@ in stdenv.mkDerivation {
qtPluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}:${qtwayland.bin}/${qtbase.qtPluginPrefix}";
})
++ [
# NOTE: the patch for linux 5.11 can be removed when the next version of VirtualBox is released
./linux-5-11.patch
./qtx11extras.patch
];
@@ -12,7 +12,7 @@ fetchurl rec {
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
# Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
let value = "d609e35accff5c0819ca9be47de302abf094dc1b6d4c54da8fdda639671f267e";
let value = "6d33d9cc1c5a8f8a2a70e5aaaa778a341322d2ba7eb34f7de420fb5f312b9e87";
in assert (builtins.stringLength value) == 64; value;
meta = {
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
sha256 = "904432eb331d7ae517afaa4e4304e6492b7947b46ecb8267de7ef792c4921b4c";
sha256 = "bffc316a7b8d5ed56d830e9f6aef02b4e5ffc28674032142e96ffbedd905f8c9";
};
KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
@@ -1,12 +0,0 @@
diff --git a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
index 7033b45..c8178a6 100644
--- a/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
+++ b/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
@@ -39,6 +39,7 @@
#endif
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
+#include <linux/ethtool.h>
#include <linux/rtnetlink.h>
#include <linux/miscdevice.h>
#include <linux/inetdevice.h>
@@ -15,6 +15,7 @@
, mesa
, meson
, ninja
, pandoc
, pixman
, pkg-config
, unzip
@@ -56,18 +57,19 @@ let
in
stdenv.mkDerivation rec {
pname = "cardboard";
version = "0.0.0-unstable=2021-01-21";
version = "0.0.0+unstable=2021-05-10";
src = fetchFromGitLab {
owner = "cardboardwm";
repo = pname;
rev = "f2ef2ff076ddbbd23994553b8eff131f9bd0207f";
hash = "sha256-43aqAWk4QoIP0BpRyPRDWFtVh/1UbrBoEeTDEF2gZX4=";
rev = "b54758d85164fb19468f5ca52588ebea576cd027";
hash = "sha256-Kn5NyQSDyX7/nn2bKZPnsuepkoppi5XIkdu7IDy5r4w=";
};
nativeBuildInputs = [
meson
ninja
pandoc
pkg-config
unzip
];
@@ -101,6 +103,7 @@ stdenv.mkDerivation rec {
# "Inherited" from Nixpkgs expression for wlroots
mesonFlags = [
"-Dman=true"
"-Dwlroots:logind-provider=systemd"
"-Dwlroots:libseat=disabled"
];
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
description = "A dynamic tiling wayland compositor";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ fortuneteller2k ];
};
}
+1 -1
View File
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = "https://www.gnome-look.org/p/1231025";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
hydraPlatforms = [];
};
}
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "theme-jade1";
version = "1.12";
version = "1.13";
src = fetchurl {
url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
sha256 = "1pawdfyvpbvhb6fa27rgjp49vlbmix9pq192wjlv2wgq7v4ip9y8";
sha256 = "04a9c56w4hm8lwa8hzy5lwj4yli19gzy5wp5iinsm61qas9xgy69";
};
sourceRoot = ".";
+1 -1
View File
@@ -25,6 +25,6 @@ mkDerivation rec {
homepage = "https://github.com/repos-holder/kdecoration2-kde2";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
};
}
+1 -1
View File
@@ -64,6 +64,6 @@ mkDerivation rec {
description = "Widget styles for Qt5/Plasma 5 and gtk2";
platforms = platforms.linux;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
};
}
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "stilo-themes";
version = "3.36-3";
version = "3.38-1";
src = fetchFromGitHub {
owner = "lassekongo83";
repo = pname;
rev = "v${version}";
sha256 = "0haxzqxyfx3rc305w7f744fp2xb6j7yn28ldynnvmm47h7ga3as3";
sha256 = "09xarzp0j0a8cqzcg0447jl5cgvl6ccj5f00dik1hy2nlrz7d8ad";
};
nativeBuildInputs = [ meson ninja sassc ];
+1 -1
View File
@@ -75,7 +75,7 @@ EOF
description = "Common Desktop Environment";
homepage = "https://sourceforge.net/projects/cdesktopenv/";
license = licenses.lgpl2;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}
@@ -0,0 +1,85 @@
{ stdenv, writeText, elixir, erlang, hex, lib }:
{ name
, version
, src
, buildInputs ? [ ]
, beamDeps ? [ ]
, propagatedBuildInputs ? [ ]
, postPatch ? ""
, compilePorts ? false
, meta ? { }
, enableDebugInfo ? false
, mixEnv ? "prod"
, ...
}@attrs:
with lib;
let
shell = drv: stdenv.mkDerivation {
name = "interactive-shell-${drv.name}";
buildInputs = [ drv ];
};
pkg = self: stdenv.mkDerivation (attrs // {
name = "${name}-${version}";
inherit version;
inherit src;
MIX_ENV = mixEnv;
MIX_DEBUG = if enableDebugInfo then 1 else 0;
HEX_OFFLINE = 1;
# stripping does not have any effect on beam files
dontStrip = true;
# add to ERL_LIBS so other modules can find at runtime.
# http://erlang.org/doc/man/code.html#code-path
# Mix also searches the code path when compiling with the --no-deps-check
# flag, which is why there is no complicated booterstrapper like the one
# used by buildRebar3.
setupHook = attrs.setupHook or
writeText "setupHook.sh" ''
addToSearchPath ERL_LIBS "$1/lib/erlang/lib"
'';
buildInputs = buildInputs ++ [ elixir hex ];
propagatedBuildInputs = propagatedBuildInputs ++ beamDeps;
buildPhase = attrs.buildPhase or ''
runHook preBuild
export HEX_HOME="$TEMPDIR/hex"
export MIX_HOME="$TEMPDIR/mix"
mix compile --no-deps-check
runHook postBuild
'';
installPhase = attrs.installPhase or ''
runHook preInstall
# This uses the install path convention established by nixpkgs maintainers
# for all beam packages. Changing this will break compatibility with other
# builder functions like buildRebar3 and buildErlangMk.
mkdir -p "$out/lib/erlang/lib/${name}-${version}"
# Some packages like db_connection will use _build/shared instead of
# honoring the $MIX_ENV variable.
for reldir in _build/{$MIX_ENV,shared}/lib/${name}/{src,ebin,priv,include} ; do
if test -d $reldir ; then
# Some builds produce symlinks (eg: phoenix priv dircetory). They must
# be followed with -H flag.
cp -Hrt "$out/lib/erlang/lib/${name}-${version}" "$reldir"
fi
done
runHook postInstall
'';
passthru = {
packageName = name;
env = shell self;
inherit beamDeps;
};
});
in
fix pkg
@@ -32,6 +32,7 @@ let
buildRebar3 = callPackage ./build-rebar3.nix { };
buildHex = callPackage ./build-hex.nix { };
buildErlangMk = callPackage ./build-erlang-mk.nix { };
buildMix = callPackage ./build-mix.nix { };
fetchMixDeps = callPackage ./fetch-mix-deps.nix { };
mixRelease = callPackage ./mix-release.nix { };
@@ -1,4 +1,4 @@
{ fetchFromGitHub, fetchHex, stdenv, rebar3WithPlugins, lib }:
{ fetchFromGitHub, fetchHex, stdenv, erlang, rebar3WithPlugins, lib }:
let
version = "0.15.0";
owner = "erlang-ls";
@@ -7,7 +7,7 @@ let
in stdenv.mkDerivation {
inherit version;
pname = "erlang-ls";
buildInputs = [ (rebar3WithPlugins { }) ];
buildInputs = [ erlang (rebar3WithPlugins { }) ];
src = fetchFromGitHub {
inherit owner repo;
sha256 = "1s6zk8r5plm7ajifz17mvfrnk5mzbhj7alayink9phqbmzrypnfg";
+3 -3
View File
@@ -39,12 +39,12 @@ in
stdenv.mkDerivation rec {
pname = "go2-unstable";
version = "2021-03-22";
version = "2021-04-13";
src = fetchgit {
url = https://go.googlesource.com/go;
rev = "a4b4db4cdeefb7b4ea5adb09073dd123846b3588";
sha256 = "sha256:1wqqnywcrfazydi5wcg04s6zgsfh4m879vxfgacgrnigd23ynhvr";
rev = "9cd52cf2a93a958e8e001aea36886e7846c91f2f";
sha256 = "sha256:0hybm93y4i4j7bs86y7h73nc1wqnspkq75if7n1032zf9bs8sm96";
};
# perl is used for testing go vet
@@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
makeFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
"PREFIX=${placeholder "out"}"
];
meta = with lib; {
description = "Interactive fiction compiler and libraries";
+2 -2
View File
@@ -22,9 +22,9 @@ let
sha256 = "1h8n5figc9q0k9p8b0qggyhvqagvxanfih1lj5j492c74cd1mx1l";
};
nativeBuildInputs = [ pkg-config autoconf ];
nativeBuildInputs = [ pkg-config autoconf unzip zip file which ];
buildInputs = [
cpio file which unzip zip perl zlib cups freetype alsaLib libjpeg giflib
cpio perl zlib cups freetype alsaLib libjpeg giflib
libpng zlib lcms2 libX11 libICE libXrender libXext libXtst libXt libXtst
libXi libXinerama libXcursor libXrandr fontconfig openjdk15-bootstrap
] ++ lib.optionals (!headless && enableGnome2) [
+1 -1
View File
@@ -94,7 +94,7 @@ in stdenv.mkDerivation {
with dynamic web pages, prototyping embedded systems).
'';
maintainers = with maintainers; [ kkallio gnidorah ];
maintainers = with maintainers; [ kkallio ];
platforms = platforms.linux;
};
}
-78
View File
@@ -1,78 +0,0 @@
{ lib, gccStdenv, fetchzip, boost, cmake, ncurses, python3, coreutils
, z3Support ? true, z3 ? null, cvc4Support ? true, cvc4 ? null
, cln ? null, gmp ? null
}:
# compiling source/libsmtutil/CVC4Interface.cpp breaks on clang on Darwin,
# general commandline tests fail at abiencoderv2_no_warning/ on clang on NixOS
assert z3Support -> z3 != null && lib.versionAtLeast z3.version "4.6.0";
assert cvc4Support -> cvc4 != null && cln != null && gmp != null;
let
jsoncppVersion = "1.9.4";
jsoncppUrl = "https://github.com/open-source-parsers/jsoncpp/archive/${jsoncppVersion}.tar.gz";
jsoncpp = fetchzip {
url = jsoncppUrl;
sha256 = "0qnx5y6c90fphl9mj9d20j2dfgy6s5yr5l0xnzid0vh71zrp6jwv";
};
in
gccStdenv.mkDerivation rec {
pname = "solc";
version = "0.7.4";
# upstream suggests avoid using archive generated by github
src = fetchzip {
url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
sha256 = "02261l54jdbvxk612z7zsyvmchy1rx4lf27b3f616sd7r56krpkg";
};
postPatch = ''
substituteInPlace cmake/jsoncpp.cmake \
--replace "${jsoncppUrl}" ${jsoncpp}
'';
cmakeFlags = [
"-DBoost_USE_STATIC_LIBS=OFF"
] ++ lib.optionals (!z3Support) [
"-DUSE_Z3=OFF"
] ++ lib.optionals (!cvc4Support) [
"-DUSE_CVC4=OFF"
];
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ]
++ lib.optionals z3Support [ z3 ]
++ lib.optionals cvc4Support [ cvc4 cln gmp ];
checkInputs = [ ncurses python3 ];
# Test fails on darwin for unclear reason
doCheck = gccStdenv.hostPlatform.isLinux;
checkPhase = ''
while IFS= read -r -d ''' dir
do
LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$(pwd)/$dir
export LD_LIBRARY_PATH
done < <(find . -type d -print0)
pushd ..
# IPC tests need aleth avaliable, so we disable it
sed -i "s/IPC_ENABLED=true/IPC_ENABLED=false\nIPC_FLAGS=\"--no-ipc\"/" ./scripts/tests.sh
for i in ./scripts/*.sh ./scripts/*.py ./test/*.sh; do
patchShebangs "$i"
done
TERM=xterm ./scripts/tests.sh
popd
'';
meta = with lib; {
description = "Compiler for Ethereum smart contract language Solidity";
homepage = "https://github.com/ethereum/solidity";
license = licenses.gpl3;
platforms = with platforms; linux; # darwin is currently broken
maintainers = with maintainers; [ dbrock akru lionello sifmelcara ];
inherit version;
};
}
@@ -1,6 +1,11 @@
{ lib, stdenv, fetchurl, zlib, unzip }:
stdenv.mkDerivation rec {
let
cxx = "${stdenv.cc.targetPrefix}c++";
libName = "libipasirglucose4" + stdenv.targetPlatform.extensions.sharedLibrary;
in stdenv.mkDerivation rec {
pname = "libipasirglucose4";
# This library has no version number AFAICT (beyond generally being based on
# Glucose 4.x), but it was submitted to the 2017 SAT competition so let's use
@@ -18,13 +23,16 @@ stdenv.mkDerivation rec {
sourceRoot = "sat/glucose4";
patches = [ ./0001-Support-shared-library-build.patch ];
makeFlags = [ "CXX=${cxx}" ];
postBuild = ''
g++ -shared -Wl,-soname,libipasirglucose4.so -o libipasirglucose4.so \
${cxx} -shared -o ${libName} \
${if stdenv.cc.isClang then "" else "-Wl,-soname,${libName}"} \
ipasirglucoseglue.o libipasirglucose4.a
'';
installPhase = ''
install -D libipasirglucose4.so $out/lib/libipasirglucose4.so
install -D ${libName} $out/lib/${libName}
'';
meta = with lib; {
@@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, unzip}:
{ lib, stdenv, fetchurl, unzip, cmake }:
let
s = # Generated upstream information
rec {
@@ -12,25 +12,32 @@ let
in
stdenv.mkDerivation {
inherit (s) name version;
nativeBuildInputs = [ unzip ];
src = fetchurl {
inherit (s) url sha256;
};
nativeBuildInputs = [ unzip cmake ];
preConfigure = ''
cd angelscript/projects/gnuc
export makeFlags="$makeFlags PREFIX=$out"
export ROOT=$PWD
cd angelscript/projects/cmake
'';
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
postInstall = ''
mkdir -p "$out/share/docs/angelscript"
cp -r ../../../docs/* "$out/share/docs/angelscript"
cp -r $ROOT/docs/* "$out/share/docs/angelscript"
'';
meta = {
meta = with lib; {
inherit (s) version;
description = "Light-weight scripting library";
license = lib.licenses.zlib ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
downloadPage = "http://www.angelcode.com/angelscript/downloads.html";
homepage="http://www.angelcode.com/angelscript/";
license = licenses.zlib;
maintainers = with maintainers; [ raskin ];
platforms = platforms.all;
downloadPage = "https://www.angelcode.com/angelscript/downloads.html";
homepage = "https://www.angelcode.com/angelscript/";
};
}
+2 -2
View File
@@ -1,6 +1,6 @@
{ mkDerivation }:
mkDerivation {
version = "21.3.8.22";
sha256 = "sha256-k6dChY/ogWqmcNz9P3t+p9C7oywXhR5oqdBfNtkh6I4=";
version = "21.3.8.23";
sha256 = "sha256-zIEXn2HuXeRKHfXmm0AAv9rEqqc4gIgaYek0hSUK5YU=";
}
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "ace";
version = "7.0.1";
version = "7.0.2";
src = fetchurl {
url = "https://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
sha256 = "sha256-5nH5a0tBOcGfA07eeh9EjH0vgT3gTRWYHXoeO+QFQjQ=";
sha256 = "sha256-IftPSQOrZOqMLHHlUFEFa3WcvsqN5kdS5rSlGE8ETC4=";
};
enableParallelBuilding = true;
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
description = "PoW algorithm for Ethereum 1.0 based on Dagger-Hashimoto";
homepage = "https://github.com/ethereum/ethash";
platforms = platforms.unix;
maintainers = with maintainers; [ nand0p ];
maintainers = with maintainers; [ ];
license = licenses.asl20;
};
}
@@ -129,7 +129,8 @@ stdenvNoLibs.mkDerivation rec {
"--with-system-zlib"
] ++ lib.optional (stdenvNoLibs.hostPlatform.libc == "glibc")
"--with-glibc-version=${glibc.version}";
# libgcc expects a glibc version of the format X.Y while we usually have a version X.Y-Z where Z is our patchlevel.
"--with-glibc-version=${builtins.head (builtins.split "-" glibc.version)}";
configurePlatforms = [ "build" "host" ];
configureFlags = [
+1 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, unzip, libjpeg, libtiff, zlib
{ lib, stdenv, fetchurl, libjpeg, libtiff, zlib
, postgresql, libmysqlclient, libgeotiff, python2Packages, proj, geos, openssl
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
, libiconv, libxml2
@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
sha256 = "1n6w0m2603q9cldlz0wyscp75ci561dipc36jqbf3mjmylybv0x3";
};
nativeBuildInputs = [ unzip ];
buildInputs = [ libjpeg libtiff libgeotiff libpng proj openssl sqlite
libspatialite poppler hdf4 qhull giflib expat libxml2 proj ]
++ (with python2Packages; [ python numpy wrapPython ])
@@ -16,6 +16,6 @@ stdenv.mkDerivation {
description = "Original Bluecurve engine from Red Hat's artwork package";
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.gnidorah ];
maintainers = [ ];
};
}
+2 -2
View File
@@ -1,10 +1,10 @@
{ lib, mkDerivation, unzip, fetchFromGitHub, qmake, qtmultimedia, qtbase }:
{ lib, mkDerivation, fetchFromGitHub, qmake, qtmultimedia, qtbase }:
mkDerivation rec {
version = "unstable-20-06-26";
pname = "herqq";
nativeBuildInputs = [ qmake unzip ];
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtmultimedia ];
outputs = [ "out" "dev" ];
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
description = "Hot patching executables on Linux using .so file injection";
homepage = src.meta.homepage;
license = licenses.bsd3;
maintainers = [ maintainers.gnidorah ];
maintainers = [ ];
platforms = ["i686-linux" "x86_64-linux"];
};
}
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, libGLU, libGL, unzip, libXrandr, libX11, libXxf86vm }:
{ lib, stdenv, fetchzip, libGLU, libGL, libXrandr, libX11, libXxf86vm }:
let
common = import ./common.nix { inherit fetchzip; };
@@ -27,7 +27,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib
'';
nativeBuildInputs = [ unzip ];
buildInputs = [ libGLU libGL libXrandr libX11 libXxf86vm ];
meta = {
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchzip, libGLU, libGL, unzip, fetchFromGitHub, cmake, Cocoa, OpenGL, IOKit }:
{ lib, stdenv, fetchzip, libGLU, libGL, fetchFromGitHub, cmake, Cocoa, OpenGL, IOKit }:
let
common = import ./common.nix { inherit fetchzip; };
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
"-DIRRLICHT_BUILD_TOOLS=OFF"
];
nativeBuildInputs = [ cmake unzip ];
nativeBuildInputs = [ cmake ];
buildInputs = [ OpenGL Cocoa IOKit ];
meta = {
@@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
inherit version;
homepage = "https://github.com/open-source-parsers/jsoncpp";
description = "A C++ library for interacting with JSON";
maintainers = with maintainers; [ ttuegel cpages nand0p ];
maintainers = with maintainers; [ ttuegel cpages ];
license = licenses.mit;
platforms = platforms.all;
};
+1 -1
View File
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
description = "C++11 library, utilities and python bindings for Linux kernel mode setting";
homepage = "https://github.com/tomba/kmsxx";
license = licenses.mpl20;
maintainers = with maintainers; [ gnidorah ];
maintainers = with maintainers; [ ];
platforms = platforms.linux;
broken = true; # marked broken 2021-03-26
};
+2 -2
View File
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, libX11, unzip, cmake, ois, freetype, libuuid,
{ lib, stdenv, fetchFromGitHub, libX11, cmake, ois, freetype, libuuid,
boost, pkg-config, withOgre ? false, ogre ? null, libGL, libGLU ? null } :
let
@@ -14,7 +14,7 @@ in stdenv.mkDerivation rec {
sha256 = "0a4zi8w18pjj813n7kmxldl1d9r1jp0iyhkw7pbqgl8f7qaq994w";
};
nativeBuildInputs = [ cmake pkg-config unzip ];
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libX11 ois freetype libuuid boost ]
++ (if withOgre then [ ogre ] else [ libGL libGLU ]);
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, unzip, re2, openfx, zlib, ilmbase, libGLU, libGL, openexr }:
{ lib, stdenv, fetchFromGitHub, re2, openfx, zlib, ilmbase, libGLU, libGL, openexr }:
stdenv.mkDerivation {
pname = "openexrid-unstable";
@@ -25,7 +25,6 @@ stdenv.mkDerivation {
-I${openfx.dev}/include/OpenFX
'';
nativeBuildInputs = [ unzip ];
buildInputs = [ re2 openfx zlib ilmbase libGLU libGL openexr ];
enableParallelBuilding = true;
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, unzip }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "openfx";
@@ -11,8 +11,6 @@ stdenv.mkDerivation {
sha256 = "0k9ggzr6bisn77mipjfvawg3mv4bz50b63v8f7w1jhldi1sfy548";
};
nativeBuildInputs = [ unzip ];
outputs = [ "dev" "out" ];
enableParallelBuilding = true;

Some files were not shown because too many files have changed in this diff Show More