Merge branch 'master' into haskell-updates
This commit is contained in:
commit
9138527da7
@ -28,6 +28,9 @@ in {
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
# for mimirtool
|
||||
environment.systemPackages = [ pkgs.mimir ];
|
||||
|
||||
assertions = [{
|
||||
assertion = (
|
||||
(cfg.configuration == {} -> cfg.configFile != null) &&
|
||||
@ -56,6 +59,7 @@ in {
|
||||
ProtectSystem = "full";
|
||||
DevicePolicy = "closed";
|
||||
NoNewPrivileges = true;
|
||||
WorkingDirectory = "/var/lib/mimir";
|
||||
StateDirectory = "mimir";
|
||||
};
|
||||
};
|
||||
|
@ -170,6 +170,7 @@ in
|
||||
frr = handleTest ./frr.nix {};
|
||||
fsck = handleTest ./fsck.nix {};
|
||||
ft2-clone = handleTest ./ft2-clone.nix {};
|
||||
grafana-mimir = handleTest ./grafana-mimir.nix {};
|
||||
gerrit = handleTest ./gerrit.nix {};
|
||||
geth = handleTest ./geth.nix {};
|
||||
ghostunnel = handleTest ./ghostunnel.nix {};
|
||||
|
50
nixos/tests/grafana-mimir.nix
Normal file
50
nixos/tests/grafana-mimir.nix
Normal file
@ -0,0 +1,50 @@
|
||||
import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
name = "grafana-mimir";
|
||||
nodes = {
|
||||
server = { ... }: {
|
||||
environment.systemPackages = [ pkgs.jq ];
|
||||
services.mimir.enable = true;
|
||||
services.mimir.configuration = {
|
||||
ingester.ring.replication_factor = 1;
|
||||
};
|
||||
|
||||
services.telegraf.enable = true;
|
||||
services.telegraf.extraConfig = {
|
||||
agent.interval = "1s";
|
||||
agent.flush_interval = "1s";
|
||||
inputs.exec = {
|
||||
commands = [
|
||||
"${pkgs.coreutils}/bin/echo 'foo i=42i'"
|
||||
];
|
||||
data_format = "influx";
|
||||
};
|
||||
outputs = {
|
||||
http = {
|
||||
# test remote write
|
||||
url = "http://localhost:8080/api/v1/push";
|
||||
|
||||
# Data format to output.
|
||||
data_format = "prometheusremotewrite";
|
||||
|
||||
headers = {
|
||||
Content-Type = "application/x-protobuf";
|
||||
Content-Encoding = "snappy";
|
||||
X-Scope-OrgID = "nixos";
|
||||
X-Prometheus-Remote-Write-Version = "0.1.0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
start_all()
|
||||
server.wait_for_unit("mimir.service")
|
||||
server.wait_for_unit("telegraf.service")
|
||||
server.wait_for_open_port(8080)
|
||||
server.wait_until_succeeds(
|
||||
"curl -H 'X-Scope-OrgID: nixos' http://127.0.0.1:8080/prometheus/api/v1/label/host/values | jq -r '.data[0]' | grep server"
|
||||
)
|
||||
'';
|
||||
})
|
@ -5,12 +5,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "faustlive";
|
||||
version = "2.5.8";
|
||||
version = "2.5.10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "grame-cncm";
|
||||
repo = "faustlive";
|
||||
rev = version;
|
||||
sha256 = "sha256-dt5YlvaCZ6JiNGPwVXPrKzVGWxnhdyP4lnKgck7ZSF8=";
|
||||
sha256 = "sha256-yLpIJr6A+NIX9RSGfQXT0O0USuRr0Ni9aUA+mbk31/o=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
@ -34,11 +34,11 @@ let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bisq-desktop";
|
||||
version = "1.8.4";
|
||||
version = "1.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/bisq-network/bisq/releases/download/v${version}/Bisq-64bit-${version}.deb";
|
||||
sha256 = "09bpkmn22kal3cxg8sil02wy2f2gplsbdkp4viagn0jppma02jid";
|
||||
sha256 = "0gzfcp255z542adk1g6gsmfpp5zpivv6n1f5kzqgwgm5qmr24049";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper copyDesktopItems imagemagick dpkg zip xz ];
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ergo";
|
||||
version = "4.0.23";
|
||||
version = "4.0.30";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ergoplatform/ergo/releases/download/v${version}/ergo-${version}.jar";
|
||||
sha256 = "sha256-ZpBTfL8ghLOo8C9yDUfKelblpIlwdVAOgYVvqmxJQXo=";
|
||||
sha256 = "sha256-Jeufmt2Dso13Z/TQnSA8IPNxTfha+wcklKZb+BF/dNE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -14,13 +14,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "ghostwriter";
|
||||
version = "2.1.2";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wereturtle";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-NpgtxYqxMWMZXZRZjujob40Nn6hirsSzcjoqRJR6Rws=";
|
||||
hash = "sha256-U6evyaC7fLFyKzeDNAI3U3/IcCk8DTY8pb3e3xqSfwk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake pkg-config qttools ];
|
||||
@ -34,6 +34,7 @@ mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
||||
homepage = src.meta.homepage;
|
||||
changelog = "https://github.com/wereturtle/ghostwriter/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ dotlambda erictapen ];
|
||||
|
@ -2,17 +2,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "helix";
|
||||
version = "22.03";
|
||||
version = "22.05";
|
||||
|
||||
# This release tarball includes source code for the tree-sitter grammars,
|
||||
# which is not ordinarily part of the repository.
|
||||
src = fetchzip {
|
||||
url = "https://github.com/helix-editor/helix/releases/download/${version}/helix-${version}-source.tar.xz";
|
||||
sha256 = "DP/hh6JfnyHdW2bg0cvhwlWvruNDvL9bmXM46iAUQzA=";
|
||||
sha256 = "sha256-MVHfj9iVC8rFGFU+kpRcH0qX9kQ+scFsRgSw7suC5RU=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
cargoSha256 = "zJQ+KvO+6iUIb0eJ+LnMbitxaqTxfqgu7XXj3j0GiX4=";
|
||||
cargoSha256 = "sha256-9jkSZ2yW0Pca1ats7Mgv7HprpjoZWLpsbuwMjYOKlmk=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, barcode, gnome, autoreconfHook
|
||||
{ lib, stdenv, fetchurl, fetchpatch, barcode, gnome, autoreconfHook
|
||||
, gtk3, gtk-doc, libxml2, librsvg , libtool, libe-book, gsettings-desktop-schemas
|
||||
, intltool, itstool, makeWrapper, pkg-config, yelp-tools
|
||||
}:
|
||||
@ -12,6 +12,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull patch pending upstream inclusion for -fno-common toolchain support:
|
||||
# https://github.com/jimevins/glabels/pull/76
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/jimevins/glabels/commit/f64e3f34e3631330fff2fb48ab271ff9c6160229.patch";
|
||||
sha256 = "13q6g4bxzvzwjnvzkvijds2b6yvc4xqbdwgqnwmj65ln6ngxz8sa";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper intltool ];
|
||||
buildInputs = [
|
||||
barcode gtk3 gtk-doc yelp-tools
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "photoflare";
|
||||
version = "1.6.7.1";
|
||||
version = "1.6.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PhotoFlare";
|
||||
repo = "photoflare";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-7b7ICcHuMjOMtyQDkokoHeZrF4G+bOzgRJP4mkns+Zc=";
|
||||
sha256 = "sha256-lQIzvI6rjcx8pHni9LN15LWyIkMALvyYx54G9WyqpOo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake qttools ];
|
||||
|
@ -20,13 +20,13 @@ let
|
||||
in
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "bottles";
|
||||
version = "2022.5.14-trento-1";
|
||||
version = "2022.5.28-trento-2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bottlesdevs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-w5nSMJnt4WO1KOJvdjM1TYSOvPnogERgQWp1JVr3TZY=";
|
||||
sha256 = "sha256-q4arUiHcAvkytcxnbLbMRzFVOgWqEXNIZt9Y8l3dAig=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -6,16 +6,13 @@
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "opentx";
|
||||
version = "2.3.14";
|
||||
version = "2.3.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opentx";
|
||||
repo = "opentx";
|
||||
# 2.3.14 release tag points to the commit before the one that updates the
|
||||
# version number.
|
||||
# rev = "release/${version}";
|
||||
rev = "1e09791a1e2fe2a0ca9835019d634a4c6a4fa3bf";
|
||||
sha256 = "0mhzp1j6nmqvkjxg8lv8xa637m1lavdsak30mdlq0g25dhwg6k92";
|
||||
rev = "release/${version}";
|
||||
sha256 = "sha256-F3zykJhKuIpLQSTjn7mcdjEmgRAlwCZpkTaKQR9ve3g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake gcc-arm-embedded python3Packages.pillow ];
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "argocd-autopilot";
|
||||
version = "0.3.5";
|
||||
version = "0.3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "argoproj-labs";
|
||||
repo = "argocd-autopilot";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-YqnmtDVtprQQFbL++X9rUJFGj+fMD+fvDRWsQ+uOxxo=";
|
||||
sha256 = "sha256-dLmJQCASdWkzWOPQ0bdJLe2AD06+L2ghP2yWry1XL1k=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-r8RTwMzFS/BkxW08+wfAovuFLpIOReDsuHi/Hx9cVPc=";
|
||||
vendorSha256 = "sha256-0v/HTiQf/mZUU1b55jAnSj86NEFOUaiM+/MrVvwJYBM=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
@ -24,7 +24,7 @@ buildGoModule rec {
|
||||
"-X ${package_url}.version=${src.rev}"
|
||||
"-X ${package_url}.buildDate=unknown"
|
||||
"-X ${package_url}.gitCommit=${src.rev}"
|
||||
"-X ${package_url}.installationManifestURL=github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=${src.rev}"
|
||||
"-X ${package_url}.installationManifestsURL=github.com/argoproj-labs/argocd-autopilot/manifests/base?ref=${src.rev}"
|
||||
"-X ${package_url}.installationManifestsNamespacedURL=github.com/argoproj-labs/argocd-autopilot/manifests/insecure?ref=${src.rev}"
|
||||
];
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "protonvpn-cli";
|
||||
version = "3.11.1";
|
||||
version = "3.12.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
@ -18,7 +18,7 @@ buildPythonApplication rec {
|
||||
owner = "protonvpn";
|
||||
repo = "linux-cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-u+POtUz7NoGS23aOmvDCZPUp2HW1xXGtfbZR88cWCBc=";
|
||||
sha256 = "sha256-z0ewAqf8hjyExqBN8KBsDwJ+SA/pIBYZhKtXF9M65HE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "protonvpn-gui";
|
||||
version = "1.8.0";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = "linux-app";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-Od12qHiyXHu2JnjYV7amZz5xxL+eiWUVbcG5Tbcrr28=";
|
||||
rev = version;
|
||||
sha256 = "sha256-+YLrIhe7kzQHPRk/3D1r56ESS1BdDxP1PFeNIg/kGLw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gettext, libev, pcre, pkg-config, udns }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, gettext, libev, pcre, pkg-config, udns }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sniproxy";
|
||||
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0isgl2lyq8vz5kkxpgyh1sgjlb6sqqybakr64w2mfh29k5ls8xzm";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for -fno-common toolchain support:
|
||||
# https://github.com/dlundquist/sniproxy/pull/349
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/dlundquist/sniproxy/commit/711dd14affd5d0d918cd5fd245328450e60c7111.patch";
|
||||
sha256 = "1vlszib2gzxnkl9zbbrf2jz632j1nhs4aanpw7qqnx826zmli0a6";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ gettext libev pcre udns ];
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchgit, pkg-config, gettext, libtool, automake, autoconf, cairo, gtk2, autoreconfHook }:
|
||||
{ lib, stdenv, fetchgit, fetchpatch, pkg-config, gettext, libtool, automake, autoconf, cairo, gtk2, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "gerbv";
|
||||
@ -10,6 +10,16 @@ stdenv.mkDerivation {
|
||||
sha256 = "00jn1xhf6kblxc5gac1wvk8zm12fy6sk81nj3jwdag0z6wk3z446";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull patch pending upstream inclusion for -fno-common toolchains:
|
||||
# https://sourceforge.net/p/gerbv/patches/84/
|
||||
(fetchpatch {
|
||||
name = "fnoc-mmon.patch";
|
||||
url = "https://sourceforge.net/p/gerbv/patches/84/attachment/0001-gerbv-fix-build-on-gcc-10-fno-common.patch";
|
||||
sha256 = "1avfbkqhxl7wxn1z19y30ilkwvdgpdkzhzawrs5y3damxmqq8ggk";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config automake autoconf ];
|
||||
buildInputs = [ gettext libtool cairo gtk2 ];
|
||||
|
||||
|
@ -14,7 +14,7 @@ ocamlPackages.buildDunePackage rec {
|
||||
useDune2 = true;
|
||||
|
||||
buildInputs = with ocamlPackages; [
|
||||
gen sedlex_2 ocaml_extlib dune-build-info linenoise
|
||||
gen sedlex ocaml_extlib dune-build-info linenoise
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,30 +1,99 @@
|
||||
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, pkg-config, freetype, libGL, pcre, nixosTests }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, mkDerivation
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
, freetype
|
||||
, fontconfig
|
||||
, libGL
|
||||
, pcre
|
||||
, boost
|
||||
, catch2
|
||||
, fmt
|
||||
, microsoft_gsl
|
||||
, range-v3
|
||||
, libyamlcpp
|
||||
, ncurses
|
||||
, file
|
||||
, darwin
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "contour";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "christianparpart";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-P7t+M75ZWjFcGWngcbaurdit6e+pb0ILljimhYqW0NI=";
|
||||
fetchSubmodules = true;
|
||||
let
|
||||
# Commits refs come from https://github.com/contour-terminal/contour/blob/master/scripts/install-deps.sh
|
||||
libunicode-src = fetchFromGitHub {
|
||||
owner = "contour-terminal";
|
||||
repo = "libunicode";
|
||||
rev = "c2369b6380df1197476b08d3e2d0e96b6446f776";
|
||||
sha256 = "sha256-kq7GpFCkrJG7F9/YEGz3gMTgYzhp/QB8D5b9wwMaLvQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
termbench-pro-src = fetchFromGitHub {
|
||||
owner = "contour-terminal";
|
||||
repo = "termbench-pro";
|
||||
rev = "cd571e3cebb7c00de9168126b28852f32fb204ed";
|
||||
sha256 = "sha256-dNtOmBu63LFYfiGjXf34C2tiG8pMmsFT4yK3nBnK9WI=";
|
||||
};
|
||||
in
|
||||
mkDerivation rec {
|
||||
pname = "contour";
|
||||
version = "0.3.1.200";
|
||||
|
||||
buildInputs = [ freetype libGL pcre ];
|
||||
src = fetchFromGitHub {
|
||||
owner = "contour-terminal";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-TpxVC0GFZD3jGISnDWHKEetgVVpznm5k/Vc2dwVfSG4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
pkg-config
|
||||
ncurses
|
||||
file
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fontconfig
|
||||
freetype
|
||||
libGL
|
||||
pcre
|
||||
boost
|
||||
catch2
|
||||
fmt
|
||||
microsoft_gsl
|
||||
range-v3
|
||||
libyamlcpp
|
||||
] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.libs.utmp ];
|
||||
|
||||
preConfigure = ''
|
||||
mkdir -p _deps/sources
|
||||
|
||||
cat > _deps/sources/CMakeLists.txt <<EOF
|
||||
macro(ContourThirdParties_Embed_libunicode)
|
||||
add_subdirectory(\''${ContourThirdParties_SRCDIR}/libunicode EXCLUDE_FROM_ALL)
|
||||
endmacro()
|
||||
macro(ContourThirdParties_Embed_termbench_pro)
|
||||
add_subdirectory(\''${ContourThirdParties_SRCDIR}/termbench_pro EXCLUDE_FROM_ALL)
|
||||
endmacro()
|
||||
EOF
|
||||
|
||||
ln -s ${libunicode-src} _deps/sources/libunicode
|
||||
ln -s ${termbench-pro-src} _deps/sources/termbench_pro
|
||||
|
||||
# Don't fix Darwin app bundle
|
||||
sed -i '/fixup_bundle/d' src/contour/CMakeLists.txt
|
||||
'';
|
||||
|
||||
passthru.tests.test = nixosTests.terminal-emulators.contour;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern C++ Terminal Emulator";
|
||||
homepage = "https://github.com/christianparpart/contour";
|
||||
changelog = "https://github.com/christianparpart/contour/blob/HEAD/Changelog.md";
|
||||
homepage = "https://github.com/contour-terminal/contour";
|
||||
changelog = "https://github.com/contour-terminal/contour/raw/v${version}/Changelog.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fortuneteller2k ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/staging-next/contour.x86_64-darwin
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
{ lib, stdenv, fetchFromGitHub, lua, cairo, librsvg, cmake, imagemagick, pkg-config, gdk-pixbuf
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
, lua, cairo, librsvg, cmake, imagemagick, pkg-config, gdk-pixbuf
|
||||
, xorg, libstartup_notification, libxdg_basedir, libpthreadstubs
|
||||
, xcb-util-cursor, makeWrapper, pango, gobject-introspection
|
||||
, which, dbus, nettools, git, doxygen
|
||||
@ -27,6 +28,21 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1i7ajmgbsax4lzpgnmkyv35x8vxqi0j84a14k6zys4blx94m9yjf";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for -fno-common toolchain support:
|
||||
# https://github.com/awesomeWM/awesome/pull/3065
|
||||
(fetchpatch {
|
||||
name = "fno-common-prerequisite.patch";
|
||||
url = "https://github.com/awesomeWM/awesome/commit/c5202a48708585cc33528065af8d1b1d28b1a6e0.patch";
|
||||
sha256 = "0sv36xf0ibjcm63gn9k3bl039sqavb2b5i6d65il4bdclkc0n08b";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/awesomeWM/awesome/commit/d256d9055095f27a33696e0aeda4ee20ed4fb1a0.patch";
|
||||
sha256 = "1n3y4wnjra8blss7642jgpxnm9n92zhhjj541bb9i60m4b7bgfzz";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
doxygen
|
||||
|
@ -3,14 +3,14 @@
|
||||
let
|
||||
generator = pkgsBuildBuild.buildGoModule rec {
|
||||
pname = "v2ray-domain-list-community";
|
||||
version = "20220324104603";
|
||||
version = "20220528180904";
|
||||
src = fetchFromGitHub {
|
||||
owner = "v2fly";
|
||||
repo = "domain-list-community";
|
||||
rev = version;
|
||||
sha256 = "sha256-Bd/jwHZ+6cg/cgVggyFI+Nc0FZ9qxI5Rk+y7SmGB08M=";
|
||||
sha256 = "sha256-j1Q7B/U0OADOcgJRJ269Jx9Z5dmmT4T2eaOHeGmUjmc=";
|
||||
};
|
||||
vendorSha256 = "sha256-QUbnUnxG1tsNbR49HTl55aiLkBM/ae9mCtzWeN4Ju78=";
|
||||
vendorSha256 = "sha256-Igx8yGWWVmVEogvbrosaK13LVs+ZZuYLBNji7iSfzdo=";
|
||||
meta = with lib; {
|
||||
description = "community managed domain list";
|
||||
homepage = "https://github.com/v2fly/domain-list-community";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "v2ray-geoip";
|
||||
version = "202203310042";
|
||||
version = "202205260055";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "v2fly";
|
||||
repo = "geoip";
|
||||
rev = "eb0fc69f57bdceef077e38d4f4f57c114411bd76";
|
||||
sha256 = "sha256-CSABX+329/WgaXy144JgYsr3OesI69vCfew5qxz5jMY=";
|
||||
rev = "96f4639373709f7560ccaf374d1ff008781aa324";
|
||||
sha256 = "sha256-aFTLeYr+JishhJ2AhGMrD02fKxci2rREkh8HN9HtXLs=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -30,11 +30,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-maps";
|
||||
version = "42.1";
|
||||
version = "42.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-CC+ElBAf080xvU8a6YgXEOMqUz+y3belcSJ5bJRm0q4=";
|
||||
sha256 = "sha256-Xm0bDKfMk56pGq39pWM6hl6oX6VlADaGGyv+8L/QabE=";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
|
@ -29,13 +29,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eog";
|
||||
version = "42.1";
|
||||
version = "42.2";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-/LEtXbyFYY3xSzDmMB5eHO+Dgq4nItL1WmQ1Adx8n60=";
|
||||
sha256 = "sha256-Dk1Kai7hokCui1hEnwK6LGS3+ZSQ0LiRXX9SyQpYBF4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -28,11 +28,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-terminal";
|
||||
version = "3.44.0";
|
||||
version = "3.44.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "qpZxie62CUWebApGigHqcMuMRTDaHVALLT9PxDi4/io=";
|
||||
sha256 = "+28g7h/yMamq7asT1dxuWmTJVXESJISLeQCG6IlZ03s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -19,14 +19,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "aisleriot";
|
||||
version = "3.22.22";
|
||||
version = "3.22.23";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "GNOME";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Jr4XEj6h+gI1gNqoJ/cJ3cDBB4mSbpzvOUQkwGxkLPs=";
|
||||
sha256 = "sha256-s7z1bR2ZG3YxJcqNrhH+O5PfGeFoPWeWSI26VCCe33Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
fileutils
|
||||
menhirLib
|
||||
pprint
|
||||
sedlex_2
|
||||
sedlex
|
||||
ppxlib
|
||||
ppx_deriving
|
||||
ppx_deriving_yojson
|
||||
|
@ -3,6 +3,7 @@
|
||||
, langAda ? false
|
||||
, langObjC ? stdenv.targetPlatform.isDarwin
|
||||
, langObjCpp ? stdenv.targetPlatform.isDarwin
|
||||
, langD ? false
|
||||
, langGo ? false
|
||||
, reproducibleBuild ? true
|
||||
, profiledCompiler ? false
|
||||
@ -41,6 +42,10 @@ assert stdenv.hostPlatform.isDarwin -> gnused != null;
|
||||
assert langGo -> langCC;
|
||||
assert langAda -> gnatboot != null;
|
||||
|
||||
# TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes).
|
||||
# error: GDC is required to build d
|
||||
assert !langD;
|
||||
|
||||
# threadsCross is just for MinGW
|
||||
assert threadsCross != null -> stdenv.targetPlatform.isWindows;
|
||||
|
||||
@ -68,6 +73,7 @@ let majorVersion = "12";
|
||||
url = "https://github.com/fxcoudert/gcc/compare/releases/gcc-11.1.0...gcc-11.1.0-arm-20210504.diff";
|
||||
sha256 = "sha256-JqCGJAfbOxSmkNyq49aFHteK/RFsCSLQrL9mzUCnaD0=";
|
||||
})
|
||||
++ optional langD ../libphobos.patch
|
||||
|
||||
# Obtain latest patch with ../update-mcfgthread-patches.sh
|
||||
++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch;
|
||||
@ -208,6 +214,7 @@ stdenv.mkDerivation ({
|
||||
enableShared
|
||||
|
||||
langC
|
||||
langD
|
||||
langCC
|
||||
langFortran
|
||||
langAda
|
||||
@ -248,14 +255,14 @@ stdenv.mkDerivation ({
|
||||
|
||||
inherit
|
||||
(import ../common/extra-target-flags.nix {
|
||||
inherit lib stdenv crossStageStatic libcCross threadsCross;
|
||||
inherit lib stdenv crossStageStatic langD libcCross threadsCross;
|
||||
})
|
||||
EXTRA_FLAGS_FOR_TARGET
|
||||
EXTRA_LDFLAGS_FOR_TARGET
|
||||
;
|
||||
|
||||
passthru = {
|
||||
inherit langC langCC langObjC langObjCpp langAda langFortran langGo version;
|
||||
inherit langC langCC langObjC langObjCpp langAda langFortran langGo langD version;
|
||||
isGNU = true;
|
||||
};
|
||||
|
||||
|
@ -6,7 +6,7 @@ let
|
||||
then with ocaml-ng.ocamlPackages_4_12; [
|
||||
ocaml
|
||||
findlib
|
||||
sedlex_2
|
||||
sedlex
|
||||
xml-light
|
||||
ptmap
|
||||
camlp5
|
||||
@ -18,7 +18,7 @@ let
|
||||
then with ocaml-ng.ocamlPackages_4_10; [
|
||||
ocaml
|
||||
findlib
|
||||
sedlex_2
|
||||
sedlex
|
||||
xml-light
|
||||
ptmap
|
||||
camlp5
|
||||
|
@ -44,5 +44,6 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.free;
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = [ lib.maintainers.jwiegley ];
|
||||
mainProgram = "sml";
|
||||
};
|
||||
}
|
||||
|
@ -87,5 +87,6 @@ in stdenv.mkDerivation {
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
|
||||
maintainers = with maintainers; [ thoughtpolice ];
|
||||
mainProgram = "sml";
|
||||
};
|
||||
}
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "guile-json";
|
||||
version = "4.7.0";
|
||||
version = "4.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://savannah/guile-json/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-q70TV3qUUULrkZrpDGosqFZ4STO/9VgQ7l+LM7NBU5c=";
|
||||
sha256 = "sha256-xTSaI4D2fIphOps698mNITJdRDAjNp5vdhs2bpaUaEM=";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://savannah.nongnu.org/projects/guile-json";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ethancedwards8 ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
@ -28,6 +28,14 @@ stdenv.mkDerivation rec {
|
||||
url = "https://github.com/openembedded/meta-openembedded/raw/39185eb1d1615e919e3ae14ae63b8ed7d3e5d83f/meta-oe/recipes-support/tbb/tbb/0001-mallinfo-is-glibc-specific-API-mark-it-so.patch";
|
||||
sha256 = "fhorfqO1hHKZ61uq+yTR7eQ8KYdyLwpM3K7WpwJpV74=";
|
||||
})
|
||||
|
||||
# Fixes build with upcoming gcc-13:
|
||||
# https://github.com/oneapi-src/oneTBB/pull/833
|
||||
(fetchurl {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/oneapi-src/oneTBB/pull/833/commits/c18342ba667d1f33f5e9a773aa86b091a9694b97.patch";
|
||||
sha256 = "ZUExE3nsW80Z5GPWZnDNuDiHHaD1EF7qNl/G5M+Wcxg=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.2.15";
|
||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "10hzifgpml7jm43y6v8c8q0cr9ziyx9qxznafxyw6glhnlqnb7pb";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2021-43521.patch";
|
||||
url = "https://github.com/HardySimpson/zlog/commit/a5be8b3a8ddc498de4ad041757285136a55d97e3.patch";
|
||||
sha256 = "sha256-igHXUHN2Ke8Gb5AeDrDwG2aUNRpispgqVlGuASute+8=";
|
||||
})
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
25
pkgs/development/ocaml-modules/bwd/default.nix
Normal file
25
pkgs/development/ocaml-modules/bwd/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, qcheck-core }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "bwd";
|
||||
version = "2.0.0";
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "ocaml-bwd";
|
||||
rev = version;
|
||||
sha256 = "sha256:0zgi8an53z6wr6nzz0zlmhx19zhqy1w2vfy1sq3sikjwh74jjq60";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ qcheck-core ];
|
||||
|
||||
meta = {
|
||||
description = "Backward Lists";
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
@ -1,41 +1,92 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, cmdliner
|
||||
, bwd
|
||||
, cmdliner_1_1
|
||||
, containers
|
||||
, ezjsonm
|
||||
, menhir
|
||||
, menhirLib
|
||||
, ppx_deriving
|
||||
, ppxlib
|
||||
, uuseg
|
||||
, uutf
|
||||
, yuujinchou
|
||||
}:
|
||||
|
||||
let
|
||||
bantorra = buildDunePackage rec {
|
||||
pname = "bantorra";
|
||||
version = "unstable-2022-04-20";
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "bantorra";
|
||||
rev = "1e78633d9a2ef7104552a24585bb8bea36d4117b";
|
||||
sha256 = "sha256:15v1cggm7awp11iwl3lzpaar91jzivhdxggp5mr48gd28kfipzk2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ezjsonm ];
|
||||
|
||||
meta = {
|
||||
description = "Extensible Library Management and Path Resolution";
|
||||
homepage = "https://github.com/RedPRL/bantorra";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
};
|
||||
kado = buildDunePackage rec {
|
||||
pname = "kado";
|
||||
version = "unstable-2022-04-30";
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "kado";
|
||||
rev = "8dce50e7d759d482b82565090e550d3860d64729";
|
||||
sha256 = "sha256:1xb754fha4s0bgjfqjxzqljvalmkfdwdn5y4ycsp51wiah235bsy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ bwd ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Cofibrations in Cartecian Cubical Type Theory";
|
||||
homepage = "https://github.com/RedPRL/kado";
|
||||
license = lib.licenses.asl20;
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
buildDunePackage {
|
||||
pname = "cooltt";
|
||||
version = "unstable-2021-05-25";
|
||||
version = "unstable-2022-04-28";
|
||||
|
||||
minimumOCamlVersion = "4.10";
|
||||
|
||||
useDune2 = true;
|
||||
minimalOCamlVersion = "4.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = "cooltt";
|
||||
rev = "8ac06cbf7e05417d777f3ac6a471fe3576249f79";
|
||||
sha256 = "sha256-JBLNJaRuP/gwlg8RS3cpOpzxChOVKfmFulf5HKhhHh4=";
|
||||
rev = "88511e10cb9e17286f585882dee334f3d8ace47c";
|
||||
sha256 = "sha256:1n9bh86r2n9s3mm7ayfzwjbnjqcphpsf8yqnf4whd3yi930sqisw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmdliner
|
||||
cmdliner_1_1
|
||||
menhir
|
||||
ppxlib
|
||||
];
|
||||
|
||||
buildInputs = [ containers ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bantorra
|
||||
bwd
|
||||
ezjsonm
|
||||
kado
|
||||
menhirLib
|
||||
ppx_deriving
|
||||
uuseg
|
||||
uutf
|
||||
yuujinchou
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildDunePackage, fetchFromGitLab, sedlex_2, xtmpl }:
|
||||
{ lib, buildDunePackage, fetchFromGitLab, sedlex, xtmpl }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "higlo";
|
||||
@ -12,7 +12,7 @@ buildDunePackage rec {
|
||||
sha256 = "sha256:09hsbwy5asacgh4gdj0vjpy4kzfnq3qji9szbsbyswsf1nbyczir";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sedlex_2 xtmpl ];
|
||||
propagatedBuildInputs = [ sedlex xtmpl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OCaml library for syntax highlighting";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildDunePackage, fetchFromGitLab
|
||||
, sedlex_2, uunf, uutf
|
||||
, sedlex, uunf, uutf
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
@ -15,7 +15,7 @@ buildDunePackage rec {
|
||||
sha256 = "sha256:0zk8nnwcyljkc1a556byncv6cn1vqhk4267z1lm15flh1k7chyax";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ sedlex_2 uunf uutf ];
|
||||
propagatedBuildInputs = [ sedlex uunf uutf ];
|
||||
|
||||
meta = {
|
||||
description = "IRI (RFC3987) native OCaml implementation";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex_2, easy-format, xmlm, base64 }:
|
||||
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, which, sedlex, easy-format, xmlm, base64 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.6.15";
|
||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib which ];
|
||||
propagatedBuildInputs = [ sedlex_2 xmlm easy-format base64 ];
|
||||
propagatedBuildInputs = [ sedlex xmlm easy-format base64 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
|
@ -1,67 +0,0 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, ocaml
|
||||
, gen
|
||||
, ppxlib
|
||||
, uchar
|
||||
}:
|
||||
|
||||
if lib.versionOlder ocaml.version "4.08"
|
||||
then throw "sedlex is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
let
|
||||
unicodeVersion = "13.0.0";
|
||||
baseUrl = "https://www.unicode.org/Public/${unicodeVersion}";
|
||||
|
||||
DerivedCoreProperties = fetchurl {
|
||||
url = "${baseUrl}/ucd/DerivedCoreProperties.txt";
|
||||
sha256 = "0j12x112cd8fpgazkc8izxnhhpia44p1m36ff8yapslxndcmzm55";
|
||||
};
|
||||
DerivedGeneralCategory = fetchurl {
|
||||
url = "${baseUrl}/ucd/extracted/DerivedGeneralCategory.txt";
|
||||
sha256 = "0w6mkz4w79k23bnmwgfxc4yqc2ypv8ilrjn6nk25hrafksbg00j5";
|
||||
};
|
||||
PropList = fetchurl {
|
||||
url = "${baseUrl}/ucd/PropList.txt";
|
||||
sha256 = "1ks0585wimygbk2wqi9hqg8gyl25iffvdad5vya1zgsxs8z5lns8";
|
||||
};
|
||||
in
|
||||
buildDunePackage rec {
|
||||
pname = "sedlex";
|
||||
version = "2.4";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-community";
|
||||
repo = "sedlex";
|
||||
rev = "v${version}";
|
||||
sha256 = "13g8az4zqg6hrnxmy3qrasslppzlag13dd1dsr8vlpg2vpfmfv6i";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gen uchar ppxlib
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
rm src/generator/data/dune
|
||||
ln -s ${DerivedCoreProperties} src/generator/data/DerivedCoreProperties.txt
|
||||
ln -s ${DerivedGeneralCategory} src/generator/data/DerivedGeneralCategory.txt
|
||||
ln -s ${PropList} src/generator/data/PropList.txt
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ocaml-community/sedlex";
|
||||
changelog = "https://github.com/ocaml-community/sedlex/raw/v${version}/CHANGES";
|
||||
description = "An OCaml lexer generator for Unicode";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.marsam ];
|
||||
};
|
||||
}
|
@ -1,37 +1,63 @@
|
||||
{ stdenv, lib, fetchFromGitHub, ocaml, findlib, gen, ppx_tools_versioned, ocaml-migrate-parsetree }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, buildDunePackage
|
||||
, ocaml
|
||||
, gen
|
||||
, ppxlib
|
||||
, uchar
|
||||
}:
|
||||
|
||||
if lib.versionOlder ocaml.version "4.02"
|
||||
then throw "sedlex is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
let
|
||||
unicodeVersion = "14.0.0";
|
||||
baseUrl = "https://www.unicode.org/Public/${unicodeVersion}";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-sedlex";
|
||||
version = "1.99.5";
|
||||
DerivedCoreProperties = fetchurl {
|
||||
url = "${baseUrl}/ucd/DerivedCoreProperties.txt";
|
||||
sha256 = "sha256:1g77s8g9443dd92f82pbkim7rk51s7xdwa3mxpzb1lcw8ryxvvg3";
|
||||
};
|
||||
DerivedGeneralCategory = fetchurl {
|
||||
url = "${baseUrl}/ucd/extracted/DerivedGeneralCategory.txt";
|
||||
sha256 = "sha256:080l3bwwppm7gnyga1hzhd07b55viklimxpdsx0fsxhr8v47krnd";
|
||||
};
|
||||
PropList = fetchurl {
|
||||
url = "${baseUrl}/ucd/PropList.txt";
|
||||
sha256 = "sha256:08k75jzl7ws9l3sm1ywsj24qa4qvzn895wggdpp5nyj1a2wgvpbb";
|
||||
};
|
||||
in
|
||||
buildDunePackage rec {
|
||||
pname = "sedlex";
|
||||
version = "2.5";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-community";
|
||||
repo = "sedlex";
|
||||
rev = "fb84e1766fc4b29e79ec40029ffee5cdb37b392f";
|
||||
sha256 = "sha256-VhzlDTYBFXgKWT69PqZYLuHkiaDwzhmyX2XfaqzHFl4=";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256:062a5dvrzvb81l3a9phljrhxfw9nlb61q341q0a6xn65hll3z2wy";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ];
|
||||
propagatedBuildInputs = [
|
||||
gen uchar ppxlib
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ gen ocaml-migrate-parsetree ppx_tools_versioned ];
|
||||
preBuild = ''
|
||||
rm src/generator/data/dune
|
||||
ln -s ${DerivedCoreProperties} src/generator/data/DerivedCoreProperties.txt
|
||||
ln -s ${DerivedGeneralCategory} src/generator/data/DerivedGeneralCategory.txt
|
||||
ln -s ${PropList} src/generator/data/PropList.txt
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
buildFlags = [ "all" "opt" ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
doCheck = true;
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ocaml-community/sedlex";
|
||||
changelog = "https://github.com/ocaml-community/sedlex/raw/v${version}/CHANGES";
|
||||
description = "An OCaml lexer generator for Unicode";
|
||||
license = lib.licenses.mit;
|
||||
inherit (ocaml.meta) platforms;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
maintainers = [ lib.maintainers.marsam ];
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex_2, uutf }:
|
||||
{ lib, buildDunePackage, fetchFromGitLab, iri, re, sedlex, uutf }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "xtmpl";
|
||||
@ -12,7 +12,7 @@ buildDunePackage rec {
|
||||
sha256 = "sha256:0vwj0aayg60wm98d91fg3hmj90730liljy4cn8771dpxvz8m07bw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ iri re sedlex_2 uutf ];
|
||||
propagatedBuildInputs = [ iri re sedlex uutf ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "XML templating library for OCaml";
|
||||
|
26
pkgs/development/ocaml-modules/yuujinchou/default.nix
Normal file
26
pkgs/development/ocaml-modules/yuujinchou/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, qcheck-alcotest }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "yuujinchou";
|
||||
version = "2.0.0";
|
||||
|
||||
minimalOCamlVersion = "4.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RedPRL";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256:1nhz44cyipy922anzml856532m73nn0g7iwkg79yzhq6yb87109w";
|
||||
};
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ qcheck-alcotest ];
|
||||
|
||||
meta = {
|
||||
description = "Name pattern combinators";
|
||||
inherit (src.meta) homepage;
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
};
|
||||
}
|
||||
|
28
pkgs/development/python-modules/biliass/default.nix
Normal file
28
pkgs/development/python-modules/biliass/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, protobuf
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "biliass";
|
||||
version = "1.3.4";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-kktK+6rLwYhkG7LiTBlgBbiIN8apweg4l8pJSTjKQU4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf ];
|
||||
|
||||
pythonImportsCheck = [ "biliass" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/yutto-dev/biliass";
|
||||
description = "Convert Bilibili XML/protobuf danmaku to ASS subtitle";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ linsui ];
|
||||
};
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "brother";
|
||||
version = "1.2.1";
|
||||
version = "1.2.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
owner = "bieniu";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9SC4q2iZN0/fEYS4Ii7Ndcx5UpLryGCe9ytIVDdjg0M=";
|
||||
hash = "sha256-pxFp/CSoskAx6DdZlkBRvocUJ5Kt5ymPwxpLhT743uE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -24,14 +24,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery";
|
||||
version = "5.2.6";
|
||||
version = "5.2.7";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-0TmMrfMPV2Jms0Nw4o6IAwbsVfektjB1SbCunBVmNIE=";
|
||||
hash = "sha256-+vvYKTTTD4oAT4Ho96Bi4xQToj1ES+juMyZVORWVjG0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,9 +1,12 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, cffi
|
||||
, pytestCheckHook
|
||||
, AudioToolbox
|
||||
, CoreAudio
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -19,6 +22,11 @@ buildPythonPackage rec {
|
||||
sha256 = "16llwmbbd9445rwhl4v66kf5zd7yl3a94zm9xyllq6ij7vnhg5jb";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
AudioToolbox
|
||||
CoreAudio
|
||||
];
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "mkdocs-material";
|
||||
version = "8.2.15";
|
||||
version = "8.2.16";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -22,7 +22,7 @@ buildPythonApplication rec {
|
||||
owner = "squidfunk";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-6x3ENFPGmtRDMV6YRGlTLCYusmX49LrGBDwicg8sDB0=";
|
||||
hash = "sha256-ZRk1PGLUg3StD7JhuI+3hRc4lWwEO3CrMUfLSqFVgVk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -32,14 +32,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mlflow";
|
||||
version = "1.26.0";
|
||||
version = "1.26.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-2D1glQkovCY0lN0kfxGeoLigTkkPpij13mTeou7CAw4=";
|
||||
hash = "sha256-VoBESElY6nG9MU7UICbP2V5kH+6+GFaKMuy/mv6bk9Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, coloredlogs
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, ghostscript
|
||||
, img2pdf
|
||||
, importlib-metadata
|
||||
@ -18,11 +19,11 @@
|
||||
, reportlab
|
||||
, setuptools-scm
|
||||
, setuptools-scm-git-archive
|
||||
, stdenv
|
||||
, substituteAll
|
||||
, tesseract4
|
||||
, tqdm
|
||||
, unpaper
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -35,7 +36,7 @@ buildPythonPackage rec {
|
||||
rev = "v${version}";
|
||||
# The content of .git_archival.txt is substituted upon tarball creation,
|
||||
# which creates indeterminism if master no longer points to the tag.
|
||||
# See https://github.com/jbarlow83/OCRmyPDF/issues/841
|
||||
# See https://github.com/ocrmypdf/OCRmyPDF/issues/841
|
||||
postFetch = ''
|
||||
rm "$out/.git_archival.txt"
|
||||
'';
|
||||
@ -53,11 +54,17 @@ buildPythonPackage rec {
|
||||
tesseract = "${lib.getBin tesseract4}/bin/tesseract";
|
||||
unpaper = "${lib.getBin unpaper}/bin/unpaper";
|
||||
})
|
||||
# https://github.com/ocrmypdf/OCRmyPDF/pull/973
|
||||
(fetchpatch {
|
||||
url = "https://github.com/ocrmypdf/OCRmyPDF/commit/808b24d59f5b541a335006aa6ea7cdc3c991adc0.patch";
|
||||
hash = "sha256-khsH70fWk5fStf94wcRKKX7cCbgD69LtKkngJIqA3+w=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm-git-archive
|
||||
setuptools-scm
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -84,6 +91,12 @@ buildPythonPackage rec {
|
||||
"ocrmypdf"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd ocrmypdf \
|
||||
--bash misc/completion/ocrmypdf.bash \
|
||||
--fish misc/completion/ocrmypdf.fish
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ocrmypdf/OCRmyPDF";
|
||||
description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched";
|
||||
|
@ -51,6 +51,10 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's|\S*/opt/homebrew.*|pass|' setup.py
|
||||
'';
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
buildInputs = [
|
||||
|
@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "protonvpn-nm-lib";
|
||||
version = "3.9.0";
|
||||
version = "3.10.0";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ProtonVPN";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-yV3xeIyPc2DJj5DOa5PA1MHt00bjJ/Y9zZK77s/XRAA=";
|
||||
sha256 = "sha256-WVIQ43J01BQzYhEPDHcoAmUvlsaDw0Z7yLQGajVdedU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -10,14 +10,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-gitlab";
|
||||
version = "3.4.0";
|
||||
version = "3.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-YYC4HuLyZa2NhBKVahdAtNPOynsori9wff5iN1/tAII=";
|
||||
sha256 = "sha256-Ka5/ubjJrrLm4ZvS/QSGfpPs169xmXjOaPrAzxFqsw0=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -13,14 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-telegram-bot";
|
||||
version = "13.11";
|
||||
version = "13.12";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-uu/3BLqirD3BepRMAtqIgiitJY6Jvi5by9E6ilEC1XM=";
|
||||
sha256 = "sha256-2vVftvQYuHUjF/0S34JN1xfjIpqH2DgQpM3W5EL2beU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -32,13 +32,14 @@ with py.pkgs;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "checkov";
|
||||
version = "2.0.1161";
|
||||
version = "2.0.1162";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-EJpmJ6/Q5j8olY0hD2wX2zeF0cTwFQuaMsno2zXRfvI=";
|
||||
hash = "sha256-WE0pND22DucKBSY4rtZfPH9AKgBslCoUOj45Rkd9qBc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with py.pkgs; [
|
||||
@ -63,6 +64,7 @@ buildPythonApplication rec {
|
||||
docker
|
||||
dockerfile-parse
|
||||
dpath
|
||||
flake8
|
||||
GitPython
|
||||
jmespath
|
||||
jsonpath-ng
|
||||
@ -95,7 +97,6 @@ buildPythonApplication rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "bc-python-hcl2==" "bc-python-hcl2>=" \
|
||||
--replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \
|
||||
--replace "prettytable>=3.0.0" "prettytable" \
|
||||
--replace "pycep-parser==0.3.6" "pycep-parser"
|
||||
'';
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
install -Dm644 resources/shell/bash-completion $out/share/bash-completion/completions/flow
|
||||
'';
|
||||
|
||||
buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml-migrate-parsetree-2 dtoa core_kernel sedlex_2 ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ])
|
||||
buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml-migrate-parsetree-2 dtoa core_kernel sedlex ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec visitors wtf8 ])
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "azure-storage-azcopy";
|
||||
version = "10.14.1";
|
||||
version = "10.15.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "azure-storage-azcopy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-UPn6pBttes5wq1RByE89QfE2OSUixYW4LOnFgfuAY3w=";
|
||||
sha256 = "sha256-iXMkvrBANuOIyyVyQ11YQ1DWRQf4JAtu+1Ou3aQrhlc=";
|
||||
};
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
vendorSha256 = "sha256-9ThsJySzsyS0eX/0BlAAvtaeJpPYCP0cN1YgIShYrKw=";
|
||||
vendorSha256 = "sha256-OlsNFhduilo8fJs/mynrAiwuXcfCZERdaJk3VcAUCJw=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "frugal";
|
||||
version = "3.15.0";
|
||||
version = "3.15.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Workiva";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-EIHaCkqwCyRV1sX+9f39FbByRvhms4rJA9nQoKxxkm8=";
|
||||
sha256 = "sha256-pRWTjlPTVwFzamq67hzb+ElqZuqP9aEAVz581DNMUBM=";
|
||||
};
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
vendorSha256 = "sha256-vWqj2fRtaDextDstIb5GrdRn4nxQpCfjegYiVbPILuM=";
|
||||
vendorSha256 = "sha256-ljZ3tpIJ+tg4UDBDzbse4M6ksb8AgPJLJCZeusMtQ0Q=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Thrift improved";
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "yq-go";
|
||||
version = "4.25.1";
|
||||
version = "4.25.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mikefarah";
|
||||
repo = "yq";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pop6FOOQoWGpFuvor2a1TP1tevw7+MIfm0PevGO9nUs=";
|
||||
sha256 = "sha256-yvFh1wPOsmQLGTLrMG7dwcEukFpelP183Xa2n2XiHlQ=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-R40zU0jOc/eIFVDsWG3+4o51iro7Sd7jwtyH/fpWVZs=";
|
||||
vendorSha256 = "sha256-oUpHK6YKjKWTGL2yC1q2hK/K/gK8I+FwTVshTxHBOKI=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -1,20 +1,25 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "shopify-themekit";
|
||||
version = "1.0.3";
|
||||
|
||||
goPackagePath = "github.com/Shopify/themekit/";
|
||||
|
||||
goDeps = ./shopify-themekit_deps.nix;
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shopify";
|
||||
repo = "themekit";
|
||||
rev = "v${version}";
|
||||
sha256 = "1780h33mf2h2lv6mr4xx3shfvsabr7w138yb59vvdgvjng9wjkg0";
|
||||
sha256 = "sha256-7uUKyaLzeiioW0TsEu82lJU0DoM1suwVcmacY1X0SEM=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-8QpkYj0fQb4plzvk6yCrZho8rq9VBiLft/EO3cczciI=";
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
postInstall = ''
|
||||
# Keep `theme` only
|
||||
rm -f $out/bin/{cmd,tkrelease}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A command line tool for shopify themes";
|
||||
homepage = "https://shopify.github.io/themekit/";
|
||||
|
@ -1,300 +0,0 @@
|
||||
# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/VividCortex/ewma";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/VividCortex/ewma";
|
||||
rev = "v1.1.1";
|
||||
sha256 = "14v2dy5gqchjn7k0sd6cx59ms42v681r6xz7cb1kspp4b28a74rw";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/aws/aws-sdk-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/aws/aws-sdk-go";
|
||||
rev = "1c16cd01d785";
|
||||
sha256 = "129iizv2rny2frg36057hayynpsdav53nhj41dia3mi2r6zyalny";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/caarlos0/env";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/caarlos0/env";
|
||||
rev = "d0de832ed2fb";
|
||||
sha256 = "013shh38rs2jv4a2hsbix0hlanjr2a539akmkqkwwg0il9h3qmq2";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/davecgh/go-spew";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/davecgh/go-spew";
|
||||
rev = "v1.1.1";
|
||||
sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/fatih/color";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/fatih/color";
|
||||
rev = "v1.7.0";
|
||||
sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/fsnotify/fsnotify";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/fsnotify/fsnotify";
|
||||
rev = "v1.4.7";
|
||||
sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/go-ini/ini";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/go-ini/ini";
|
||||
rev = "v1.25.4";
|
||||
sha256 = "0b6cql5ripbiyrm18d6bfd1rfjnwcbskppw3d0vb80l0wy72d0c6";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/hashicorp/go-version";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/hashicorp/go-version";
|
||||
rev = "270f2f71b1ee";
|
||||
sha256 = "1d43wlp932nqbwkca4bhw8l4x6cg25jyh8l1s3814vddscfpfz2v";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/imdario/mergo";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/imdario/mergo";
|
||||
rev = "v0.3.6";
|
||||
sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/inconshreveable/go-update";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/inconshreveable/go-update";
|
||||
rev = "8152e7eb6ccf";
|
||||
sha256 = "07czhspakpi7al004rm669cmf4h5l0vnygsm11280nkfn2zxqdi3";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/inconshreveable/mousetrap";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/inconshreveable/mousetrap";
|
||||
rev = "v1.0.0";
|
||||
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/jmespath/go-jmespath";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/jmespath/go-jmespath";
|
||||
rev = "0b12d6b521d8";
|
||||
sha256 = "1vv6hph8j6xgv7gwl9vvhlsaaqsm22sxxqmgmldi4v11783pc1ld";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/joho/godotenv";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/joho/godotenv";
|
||||
rev = "v1.3.0";
|
||||
sha256 = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-colorable";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-colorable";
|
||||
rev = "efa589957cd0";
|
||||
sha256 = "0kshi4hvm0ayrsxqxy0599iv81kryhd2fn9lwjyczpj593cq069r";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-isatty";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-isatty";
|
||||
rev = "v0.0.4";
|
||||
sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/pmezard/go-difflib";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pmezard/go-difflib";
|
||||
rev = "v1.0.0";
|
||||
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/radovskyb/watcher";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/radovskyb/watcher";
|
||||
rev = "v1.0.6";
|
||||
sha256 = "1xlbrfgm6ha161szdjq2rab53plkdhmh5h86lpbk5g7fmq881945";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/ryanuber/go-glob";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ryanuber/go-glob";
|
||||
rev = "572520ed46db";
|
||||
sha256 = "0dzbpqp1h7gjmlm4irnh6lpbfz5zjc721jidibyvmxj7xcx3wp5d";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/shibukawa/configdir";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/shibukawa/configdir";
|
||||
rev = "e180dbdc8da0";
|
||||
sha256 = "0vbma9jkwh0ifz8dk2ssgmy7aiaify63lpa0lah7i4dkkxr94c9z";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/skratchdot/open-golang";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/skratchdot/open-golang";
|
||||
rev = "75fb7ed4208c";
|
||||
sha256 = "1b67imqbsdvg19vif1q1dfmapxy3v2anagacbql95fwnnw0v8jga";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/spf13/cobra";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/spf13/cobra";
|
||||
rev = "7c4570c3ebeb";
|
||||
sha256 = "16amh0prlzqrrbg5j629sg0f688nfzfgn9sair8jyybqampr3wc7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/spf13/pflag";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/spf13/pflag";
|
||||
rev = "v1.0.2";
|
||||
sha256 = "005598piihl3l83a71ahj10cpq9pbhjck4xishx1b4dzc02r9xr2";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/stretchr/objx";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/stretchr/objx";
|
||||
rev = "v0.1.1";
|
||||
sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/stretchr/testify";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/stretchr/testify";
|
||||
rev = "v1.2.2";
|
||||
sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/vbauerster/mpb";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/vbauerster/mpb";
|
||||
rev = "v3.3.2";
|
||||
sha256 = "18m66b80iv9z768c15dqsx5mnjq6iaa6b5lckpdqnynqzkkvw8kk";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/crypto";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "a1f597ede03a";
|
||||
sha256 = "0yiczljll72ip2vkxgd6052rhpaba37a68vf6si3v8s8s3g870lc";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/lint";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/lint";
|
||||
rev = "d0100b6bd8b3";
|
||||
sha256 = "0b0amr9x4ji66iv9ayfx7zrfx52k1m5g66qfcxkgj80qrb1y2yn7";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/net";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/net";
|
||||
rev = "1272bf9dcd53";
|
||||
sha256 = "1500gryd7jli7yjn4c927ppyllry8lxcmnsmpn7zxfd1k14q7nyv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sync";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sync";
|
||||
rev = "1d60e4601c6f";
|
||||
sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/sys";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "6c81ef8f67ca";
|
||||
sha256 = "1iqrral339vxb635ip5jjzn84aa86kb629kbp1w29qwyfzbs0yqi";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/text";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/text";
|
||||
rev = "v0.3.0";
|
||||
sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "golang.org/x/tools";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/tools";
|
||||
rev = "3f1ed9edd1b4";
|
||||
sha256 = "00d2h0df03gv57valad4wr3g2rc8dcn8w3ci783x9wzzc86y4giw";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v1";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/yaml.v1";
|
||||
rev = "9f9df34309c0";
|
||||
sha256 = "1r8d346szqa9x8q03wiycik5qy3d6w8qq4hs99z1p64q5lm0g7gm";
|
||||
};
|
||||
}
|
||||
]
|
93
pkgs/games/srb2/default.nix
Normal file
93
pkgs/games/srb2/default.nix
Normal file
@ -0,0 +1,93 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, cmake
|
||||
, curl
|
||||
, nasm
|
||||
, openmpt123
|
||||
, p7zip
|
||||
, libgme
|
||||
, libpng
|
||||
, SDL2
|
||||
, SDL2_mixer
|
||||
, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
assets_version = "2.2.5";
|
||||
|
||||
assets = fetchurl {
|
||||
url = "https://github.com/mazmazz/SRB2/releases/download/SRB2_assets_220/srb2-${assets_version}-assets.7z";
|
||||
sha256 = "1m9xf3vraq9nipsi09cyvvfa4i37gzfxg970rnqfswd86z9v6v00";
|
||||
};
|
||||
|
||||
assets_optional = fetchurl {
|
||||
url = "https://github.com/mazmazz/SRB2/releases/download/SRB2_assets_220/srb2-${assets_version}-optional-assets.7z";
|
||||
sha256 = "1j29jrd0r1k2bb11wyyl6yv9b90s2i6jhrslnh77qkrhrwnwcdz4";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "srb2";
|
||||
version = "2.2.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "STJr";
|
||||
repo = "SRB2";
|
||||
rev = "SRB2_release_${version}";
|
||||
sha256 = "03388n094d2yr5si6ngnggbqhm8b2l0s0qvfnkz49li9bd6a81gg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
nasm
|
||||
p7zip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
libgme
|
||||
libpng
|
||||
openmpt123
|
||||
SDL2
|
||||
SDL2_mixer
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSRB2_ASSET_DIRECTORY=/build/source/assets"
|
||||
"-DGME_INCLUDE_DIR=${libgme}/include"
|
||||
"-DOPENMPT_INCLUDE_DIR=${openmpt123}/include"
|
||||
"-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2"
|
||||
"-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./wadlocation.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/sdl/i_system.c \
|
||||
--replace '@wadlocation@' $out
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
7z x ${assets} -o"/build/source/assets" -aos
|
||||
7z x ${assets_optional} -o"/build/source/assets" -aos
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/bin
|
||||
mv $out/lsdlsrb2-${version} $out/bin/srb2
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sonic Robo Blast 2 is a 3D Sonic the Hedgehog fangame based on a modified version of Doom Legacy";
|
||||
homepage = "https://www.srb2.org/";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ zeratax ];
|
||||
};
|
||||
}
|
72
pkgs/games/srb2/wadlocation.patch
Normal file
72
pkgs/games/srb2/wadlocation.patch
Normal file
@ -0,0 +1,72 @@
|
||||
diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c
|
||||
index 10c0747bf..861f00728 100644
|
||||
--- a/src/sdl/i_system.c
|
||||
+++ b/src/sdl/i_system.c
|
||||
@@ -145,13 +145,7 @@ int TimeFunction(int requested_frequency);
|
||||
|
||||
// Locations for searching the srb2.pk3
|
||||
#if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)
|
||||
-#define DEFAULTWADLOCATION1 "/usr/local/share/games/SRB2"
|
||||
-#define DEFAULTWADLOCATION2 "/usr/local/games/SRB2"
|
||||
-#define DEFAULTWADLOCATION3 "/usr/share/games/SRB2"
|
||||
-#define DEFAULTWADLOCATION4 "/usr/games/SRB2"
|
||||
-#define DEFAULTSEARCHPATH1 "/usr/local/games"
|
||||
-#define DEFAULTSEARCHPATH2 "/usr/games"
|
||||
-#define DEFAULTSEARCHPATH3 "/usr/local"
|
||||
+#define DEFAULTWADLOCATION1 "@wadlocation@"
|
||||
#elif defined (_WIN32)
|
||||
#define DEFAULTWADLOCATION1 "c:\\games\\srb2"
|
||||
#define DEFAULTWADLOCATION2 "\\games\\srb2"
|
||||
@@ -2812,34 +2806,6 @@ static const char *locateWad(void)
|
||||
if (((envstr = I_GetEnv("SRB2WADDIR")) != NULL) && isWadPathOk(envstr))
|
||||
return envstr;
|
||||
|
||||
-#ifndef NOCWD
|
||||
- I_OutputMsg(",.");
|
||||
- // examine current dir
|
||||
- strcpy(returnWadPath, ".");
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- return NULL;
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
-#ifdef CMAKECONFIG
|
||||
-#ifndef NDEBUG
|
||||
- I_OutputMsg(","CMAKE_ASSETS_DIR);
|
||||
- strcpy(returnWadPath, CMAKE_ASSETS_DIR);
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- {
|
||||
- return returnWadPath;
|
||||
- }
|
||||
-#endif
|
||||
-#endif
|
||||
-
|
||||
-#ifdef __APPLE__
|
||||
- OSX_GetResourcesPath(returnWadPath);
|
||||
- I_OutputMsg(",%s", returnWadPath);
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- {
|
||||
- return returnWadPath;
|
||||
- }
|
||||
-#endif
|
||||
|
||||
// examine default dirs
|
||||
#ifdef DEFAULTWADLOCATION1
|
||||
@@ -2884,16 +2850,7 @@ static const char *locateWad(void)
|
||||
if (isWadPathOk(returnWadPath))
|
||||
return returnWadPath;
|
||||
#endif
|
||||
-#ifndef NOHOME
|
||||
- // find in $HOME
|
||||
- I_OutputMsg(",HOME");
|
||||
- if ((envstr = I_GetEnv("HOME")) != NULL)
|
||||
- {
|
||||
- WadPath = searchWad(envstr);
|
||||
- if (WadPath)
|
||||
- return WadPath;
|
||||
- }
|
||||
-#endif
|
||||
+
|
||||
#ifdef DEFAULTSEARCHPATH1
|
||||
// find in /usr/local
|
||||
I_OutputMsg(", in:"DEFAULTSEARCHPATH1);
|
88
pkgs/games/srb2kart/default.nix
Normal file
88
pkgs/games/srb2kart/default.nix
Normal file
@ -0,0 +1,88 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, substituteAll
|
||||
, cmake
|
||||
, curl
|
||||
, nasm
|
||||
, unzip
|
||||
, libgme
|
||||
, libpng
|
||||
, SDL2
|
||||
, SDL2_mixer
|
||||
, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
release_tag = "v1.3";
|
||||
|
||||
installer = fetchurl {
|
||||
url = "https://github.com/STJr/Kart-Public/releases/download/${release_tag}/srb2kart-v13-Installer.exe";
|
||||
sha256 = "0bk36y7wf6xfdg6j0b8qvk8671hagikzdp5nlfqg478zrj0qf6cs";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "srb2kart";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "STJr";
|
||||
repo = "Kart-Public";
|
||||
rev = release_tag;
|
||||
sha256 = "131g9bmc9ihvz0klsc3yzd0pnkhx3mz1vzm8y7nrrsgdz5278y49";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
nasm
|
||||
unzip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
curl
|
||||
libgme
|
||||
libpng
|
||||
SDL2
|
||||
SDL2_mixer
|
||||
zlib
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
#"-DSRB2_ASSET_DIRECTORY=/build/source/assets"
|
||||
"-DGME_INCLUDE_DIR=${libgme}/include"
|
||||
"-DSDL2_MIXER_INCLUDE_DIR=${SDL2_mixer}/include/SDL2"
|
||||
"-DSDL2_INCLUDE_DIR=${SDL2.dev}/include/SDL2"
|
||||
];
|
||||
|
||||
patches = [
|
||||
./wadlocation.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/sdl/i_system.c \
|
||||
--replace '@wadlocation@' $out
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
mkdir assets/installer
|
||||
pushd assets/installer
|
||||
unzip ${installer} "*.kart" srb2.srb
|
||||
popd
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/bin $out/share/games/SRB2Kart
|
||||
mv $out/srb2kart* $out/bin/
|
||||
mv $out/*.kart $out/share/games/SRB2Kart
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "SRB2Kart is a classic styled kart racer";
|
||||
homepage = "https://mb.srb2.org/threads/srb2kart.25868/";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ viric ];
|
||||
};
|
||||
}
|
61
pkgs/games/srb2kart/wadlocation.patch
Normal file
61
pkgs/games/srb2kart/wadlocation.patch
Normal file
@ -0,0 +1,61 @@
|
||||
diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c
|
||||
index 51f708d0..c4d971f7 100644
|
||||
--- a/src/sdl/i_system.c
|
||||
+++ b/src/sdl/i_system.c
|
||||
@@ -139,7 +139,7 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T);
|
||||
|
||||
// Locations for searching the srb2.srb
|
||||
#if defined (__unix__) || defined(__APPLE__) || defined (UNIXCOMMON)
|
||||
-#define DEFAULTWADLOCATION1 "/usr/local/share/games/SRB2Kart"
|
||||
+#define DEFAULTWADLOCATION1 "@wadlocation@"
|
||||
#define DEFAULTWADLOCATION2 "/usr/local/games/SRB2Kart"
|
||||
#define DEFAULTWADLOCATION3 "/usr/share/games/SRB2Kart"
|
||||
#define DEFAULTWADLOCATION4 "/usr/games/SRB2Kart"
|
||||
@@ -3646,47 +3646,6 @@ static const char *locateWad(void)
|
||||
if (((envstr = I_GetEnv("SRB2WADDIR")) != NULL) && isWadPathOk(envstr))
|
||||
return envstr;
|
||||
|
||||
-#ifndef NOCWD
|
||||
- I_OutputMsg(",.");
|
||||
- // examine current dir
|
||||
- strcpy(returnWadPath, ".");
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- return NULL;
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
-#ifdef DEFAULTDIR
|
||||
- I_OutputMsg(",HOME/" DEFAULTDIR);
|
||||
- // examine user jart directory
|
||||
- if ((envstr = I_GetEnv("HOME")) != NULL)
|
||||
- {
|
||||
- sprintf(returnWadPath, "%s" PATHSEP DEFAULTDIR, envstr);
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- return returnWadPath;
|
||||
- }
|
||||
-#endif
|
||||
-
|
||||
-
|
||||
-#ifdef CMAKECONFIG
|
||||
-#ifndef NDEBUG
|
||||
- I_OutputMsg(","CMAKE_ASSETS_DIR);
|
||||
- strcpy(returnWadPath, CMAKE_ASSETS_DIR);
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- {
|
||||
- return returnWadPath;
|
||||
- }
|
||||
-#endif
|
||||
-#endif
|
||||
-
|
||||
-#ifdef __APPLE__
|
||||
- OSX_GetResourcesPath(returnWadPath);
|
||||
- I_OutputMsg(",%s", returnWadPath);
|
||||
- if (isWadPathOk(returnWadPath))
|
||||
- {
|
||||
- return returnWadPath;
|
||||
- }
|
||||
-#endif
|
||||
-
|
||||
// examine default dirs
|
||||
#ifdef DEFAULTWADLOCATION1
|
||||
I_OutputMsg(","DEFAULTWADLOCATION1);
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kitty-themes";
|
||||
version = "unstable-2022-02-03";
|
||||
version = "unstable-2022-05-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kovidgoyal";
|
||||
repo = pname;
|
||||
rev = "337d6fcb3ad7e38544edfb8d0f6447894b7e5f58";
|
||||
sha256 = "ZP5GrT2QCdXtC5swqI0SXzIlqIcQNsxBlzEplj/hpz4=";
|
||||
rev = "fb48041b0ff5ce60e8f10e7067a407ad99a4862e";
|
||||
sha256 = "/JCLty73YHsTkNxZP6EwhhoiHi2HjtyMZphAPhHe5h0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -17,12 +17,12 @@ index 834f1cd..10ab1e7 100644
|
||||
* parameter given to the kernel. So reserving memory from low to high
|
||||
- * satisfies this constraint again. Reserving 1M at 0x02600000-0x02700000 for
|
||||
- * the DTB leaves rest of the free RAM to the initrd starting at 0x02700000.
|
||||
+ * satisfies this constraint again. Reserving 1M at 0x03700000-0x03800000 for
|
||||
+ * the DTB leaves rest of the free RAM to the initrd starting at 0x03800000.
|
||||
+ * satisfies this constraint again. Reserving 1M at 0x04700000-0x04800000 for
|
||||
+ * the DTB leaves rest of the free RAM to the initrd starting at 0x04800000.
|
||||
* Even with the smallest possible CPU-GPU memory split of the CPU getting
|
||||
- * only 64M, the remaining 25M starting at 0x02700000 should allow quite
|
||||
- * large initrds before they start colliding with U-Boot.
|
||||
+ * only 64M, the remaining 9M starting at 0x03800000 should allow reasonably
|
||||
+ * only 64M, the remaining 8M starting at 0x04800000 should allow reasonably
|
||||
+ * sized initrds before they start colliding with U-Boot.
|
||||
*/
|
||||
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||
@ -33,10 +33,10 @@ index 834f1cd..10ab1e7 100644
|
||||
- "pxefile_addr_r=0x02500000\0" \
|
||||
- "fdt_addr_r=0x02600000\0" \
|
||||
- "ramdisk_addr_r=0x02700000\0"
|
||||
+ "scriptaddr=0x03500000\0" \
|
||||
+ "pxefile_addr_r=0x03600000\0" \
|
||||
+ "fdt_addr_r=0x03700000\0" \
|
||||
+ "ramdisk_addr_r=0x03800000\0"
|
||||
+ "scriptaddr=0x04500000\0" \
|
||||
+ "pxefile_addr_r=0x04600000\0" \
|
||||
+ "fdt_addr_r=0x04700000\0" \
|
||||
+ "ramdisk_addr_r=0x04800000\0"
|
||||
|
||||
#if CONFIG_IS_ENABLED(CMD_MMC)
|
||||
#define BOOT_TARGET_MMC(func) \
|
||||
|
@ -12,16 +12,27 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atop";
|
||||
version = "2.6.0";
|
||||
version = "2.7.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.atoptool.nl/download/atop-${version}.tar.gz";
|
||||
sha256 = "nsLKOlcWkvfvqglfmaUQZDK8txzCLNbElZfvBIEFj3I=";
|
||||
sha256 = "sha256-ykjS8X4HHe6tXm6cyeOIv2oycNaV5hl2s3lNTZJ7XE4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = lib.optionals withAtopgpu [ python3.pkgs.wrapPython ];
|
||||
buildInputs = [ zlib ncurses ] ++ lib.optionals withAtopgpu [ python3 ];
|
||||
pythonPath = lib.optionals withAtopgpu [ python3.pkgs.pynvml ];
|
||||
nativeBuildInputs = lib.optionals withAtopgpu [
|
||||
python3.pkgs.wrapPython
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
zlib
|
||||
ncurses
|
||||
] ++ lib.optionals withAtopgpu [
|
||||
python3
|
||||
];
|
||||
|
||||
pythonPath = lib.optionals withAtopgpu [
|
||||
python3.pkgs.pynvml
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"DESTDIR=$(out)"
|
||||
@ -53,12 +64,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace Makefile --replace 'chmod 04711' 'chmod 0711'
|
||||
'';
|
||||
|
||||
installTargets = [ "systemdinstall" ];
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# remove extra files we don't need
|
||||
# Remove extra files we don't need
|
||||
rm -r $out/{var,etc} $out/bin/atop{sar,}-${version}
|
||||
'' + (if withAtopgpu then ''
|
||||
wrapPythonPrograms
|
||||
@ -70,9 +81,13 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
description = "Console system performance monitor";
|
||||
|
||||
longDescription = ''
|
||||
Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and for every active process it shows the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code.
|
||||
Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of
|
||||
all processes (even if processes have finished during the interval), daily logging of system
|
||||
and process activity for long-term analysis, highlighting overloaded system resources by using
|
||||
colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory,
|
||||
swap, disks and network layers, and for every active process it shows the CPU utilization,
|
||||
memory growth, disk utilization, priority, username, state, and exit code.
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
downloadPage = "http://atoptool.nl/downloadatop.php";
|
||||
|
@ -71,6 +71,12 @@ stdenv.mkDerivation {
|
||||
|
||||
stripDebugList = [ "bin" "sbin" "share/syslinux/com32" ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: acpi/xsdt.o:/build/syslinux-b404870/com32/gpllib/../gplinclude/memory.h:40: multiple definition of
|
||||
# `e820_types'; memory.o:/build/syslinux-b404870/com32/gpllib/../gplinclude/memory.h:40: first defined here
|
||||
NIX_CFLAGS_COMPILE="-fcommon";
|
||||
|
||||
makeFlags = [
|
||||
"BINDIR=$(out)/bin"
|
||||
"SBINDIR=$(out)/sbin"
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, apacheHttpd, apr, cairo, iniparser, mapnik }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, apacheHttpd, apr, cairo, iniparser, mapnik }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mod_tile";
|
||||
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "12c96avka1dfb9wxqmjd57j30w9h8yx4y4w34kyq6xnf6lwnkcxp";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull upstream fix for -fno-common toolchains:
|
||||
# https://github.com/openstreetmap/mod_tile/pull/202
|
||||
(fetchpatch {
|
||||
name = "fno-common";
|
||||
url = "https://github.com/openstreetmap/mod_tile/commit/a22065b8ae3c018820a5ca9bf8e2b2bb0a0bfeb4.patch";
|
||||
sha256 = "1ywfa14xn9aa96vx1adn1ndi29qpflca06x986bx9c5pqk761yz3";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ apacheHttpd apr cairo iniparser mapnik ];
|
||||
|
||||
|
@ -53,6 +53,12 @@ in stdenv.mkDerivation rec {
|
||||
] ++ lib.optional withMySQL "--with-mysql-includes=${mysql57.connector-c}/include/mysql"
|
||||
++ lib.optional withPgSQL "--with-pgsql-libraries=${postgresql.lib}/lib";
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: .libs/hash_drv.o:/build/dspam-3.10.2/src/util.h:96: multiple definition of `verified_user';
|
||||
# .libs/libdspam.o:/build/dspam-3.10.2/src/util.h:96: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
# Lots of things are hardwired to paths like sysconfdir. That's why we install with both "prefix" and "DESTDIR"
|
||||
# and fix directory structure manually after that.
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
|
@ -1,18 +1,25 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
buildGoModule rec {
|
||||
pname = "mimir";
|
||||
version = "2.0.0";
|
||||
version = "2.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "${pname}-${version}";
|
||||
owner = "grafana";
|
||||
repo = pname;
|
||||
sha256 = "T1lljhC/TS3eoIc9AFo9Oy9/COM/XnfcwtkU618YCdM=";
|
||||
sha256 = "sha256-n7Vzp/GQIC+Mryu9SycMZ3ScPo5O+5tA4TdigpKzmLU=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
subPackages = [ "cmd/mimir" ];
|
||||
subPackages = [
|
||||
"cmd/mimir"
|
||||
"cmd/mimirtool"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) grafana-mimir;
|
||||
};
|
||||
|
||||
ldflags = let t = "github.com/grafana/mimir/pkg/util/version";
|
||||
in [
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dash";
|
||||
version = "0.5.11.4";
|
||||
version = "0.5.11.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://gondor.apana.org.au/~herbert/dash/files/${pname}-${version}.tar.gz";
|
||||
sha256 = "13g06zqfy4n7jkrbb5l1vw0xcnjvq76i16al8fjc5g33afxbf5af";
|
||||
sha256 = "sha256-23eBEIkfeTeYXym/I0EP4cXWaVAnYPWE5U4OeynhI70=";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
21
pkgs/test/config.nix
Normal file
21
pkgs/test/config.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ lib, ... }:
|
||||
lib.recurseIntoAttrs {
|
||||
|
||||
# https://github.com/NixOS/nixpkgs/issues/175196
|
||||
allowPkgsInPermittedInsecurePackages =
|
||||
let pkgs = import ../.. {
|
||||
config = {
|
||||
permittedInsecurePackages =
|
||||
tempAllow pkgs.authy "2.1.0" [ "electron-9.4.4" ];
|
||||
};
|
||||
};
|
||||
# Allow with forgetting
|
||||
tempAllow = p: v: pa:
|
||||
lib.optionals (lib.assertMsg (p.version == v) "${p.name} is no longer at version ${v}, consider removing the tempAllow") pa;
|
||||
# For this test we don't _really_ care about the version though,
|
||||
# only about evaluation strictness
|
||||
tempAllowAlike = p: v: pa: builtins.seq v builtins.seq p.version pa;
|
||||
|
||||
in pkgs.hello;
|
||||
|
||||
}
|
@ -22,6 +22,8 @@ with pkgs;
|
||||
cc-wrapper-libcxx-9 = callPackage ./cc-wrapper { stdenv = llvmPackages_9.libcxxStdenv; };
|
||||
stdenv-inputs = callPackage ./stdenv-inputs { };
|
||||
|
||||
config = callPackage ./config.nix { };
|
||||
|
||||
haskell = callPackage ./haskell { };
|
||||
|
||||
cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; };
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "eksctl";
|
||||
version = "0.98.0";
|
||||
version = "0.99.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "weaveworks";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-9X7rk8+OSBZME9MsKQiTUVws+QaNSXZrVsZSXTSh4+I=";
|
||||
sha256 = "sha256-J2d3Uyc/gYciQaZJnOw0piO90ixtqgdnC0gprIoWmvs=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-YdXgfwQaYu/0V/ZO9lfusDdZBh1h26+DsA1HUODsKzU=";
|
||||
vendorSha256 = "sha256-sRtFfJ7umVK8ruCpZ7TcTVcY9gr3Fldcf3KEdmbgkX4=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -5,16 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fits-cloudctl";
|
||||
version = "0.10.13";
|
||||
version = "0.10.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fi-ts";
|
||||
repo = "cloudctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-8MSX8A/3FY95rrWuYfGYFynSi76JPcHX+N8VF9BWktM=";
|
||||
sha256 = "sha256-cC6qPPRrMUMpwQ/FH+H6LuwC35dfgcZyB2yqz7tvSIg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-K6HI7aSDbrhqm2XVor7sRwHnqQPQlpZYGLgaf3SFNrU=";
|
||||
vendorSha256 = "sha256-nNzmecvTAIno6+OkpmlQ0eHfNfQGUH+ICLumvLswlWA=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line client for FI-TS Finance Cloud Native services";
|
||||
|
@ -59,7 +59,7 @@ stdenv.mkDerivation {
|
||||
ocamlPackages.xmlm ocamlPackages.ocaml_pcre
|
||||
ocamlPackages.camomile
|
||||
ocamlPackages.fdkaac
|
||||
ocamlPackages.srt ocamlPackages.sedlex_2 ocamlPackages.menhir ocamlPackages.menhirLib
|
||||
ocamlPackages.srt ocamlPackages.sedlex ocamlPackages.menhir ocamlPackages.menhirLib
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" "fortify" ];
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "chezmoi";
|
||||
version = "2.15.2";
|
||||
version = "2.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "twpayne";
|
||||
repo = "chezmoi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zvr1O/HMSoZMtA/+dRO+co8Uy70qV8RPIDK3z8dRD28=";
|
||||
sha256 = "sha256-J5L4xFdRV8eOJgILQqK0DhvP5/AXAmr7spzokhd4kcg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-UAjXCXypR1/SIJIZOS53LTyioKrXOECK9vh9t61W5gc=";
|
||||
vendorSha256 = "sha256-y+xPuW8l3XvpnlqdlNIWdweNXMsAOrwbXHq2cJQRcOY=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "diffoscope";
|
||||
version = "213";
|
||||
version = "214";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||
sha256 = "sha256-l2kdV1QUGsS3D6Y/b485iDmQcBNIzaBywxhqfRDINX8=";
|
||||
sha256 = "sha256-ap+U9b+pCfQ2UwqQDTx0mQ0nvXJsl4D89Q/Ecl7w+8c=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "fd";
|
||||
version = "8.3.2";
|
||||
version = "8.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = "fd";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-aNAV0FVZEqtTdgvnLiS1ixtsPU48rUOZdmj07MiMVKg=";
|
||||
sha256 = "sha256-Vy5ERc4GZVEjNP0z2zZJeNwfhoL0nnOeii+TjRszrFw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-A8MAgV7/6Vf+PaND+gaZz8IEq4Cw9ETEY+lF8R77lA4=";
|
||||
cargoSha256 = "sha256-Iz8QP9NdjbBL8j/iUV6iS3U1ErPHuC5NYFHUMtR8MZg=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "foma";
|
||||
version = "0.9.18alpha";
|
||||
version = "0.10.0alpha";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mhulden";
|
||||
repo = "foma";
|
||||
rev = "4456a40e81f46e3fe909c5a97a15fcf1d2a3b6c1";
|
||||
sha256 = "188yxj8wahlj2yf93rj1vx549j5cq0085d2jmj3vwzbfjq1mi1f0";
|
||||
rev = "82f9acdef234eae8b7619ccc3a386cc0d7df62bc";
|
||||
sha256 = "1vf01l18j8cksnavbabcckp9gg692w6v5lg81xrzv6f5v14zp4nr";
|
||||
};
|
||||
|
||||
sourceRoot = "source/foma";
|
||||
|
@ -9,16 +9,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
version = "9.0.0";
|
||||
version = "9.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r-darwish";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-D3yd5Xc+7VNBrRkkKW7BGxEXcZHmmESy2YOEKBf/k9M=";
|
||||
sha256 = "sha256-9zP+rWhaK4fC2Qhd0oq9WVvCkvryooYo09k7016Rbxw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-g3Efw8HQ/fvrACyM0sW0bNAVQDdGPLnARe8Uug3szj0=";
|
||||
cargoSha256 = "sha256-otn0XvZ0wufD+4mCGSM0hevKM+wWSvFVCKtTu/5m1uA=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Cocoa Foundation ];
|
||||
|
||||
|
51
pkgs/tools/misc/yutto/default.nix
Normal file
51
pkgs/tools/misc/yutto/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, poetry-core
|
||||
, aiohttp
|
||||
, aiofiles
|
||||
, biliass
|
||||
, dicttoxml
|
||||
, colorama
|
||||
, ffmpeg
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "yutto";
|
||||
version = "2.0.0b13";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-XqfbvlaJoRPpwnaUA52KloOsEOIt3YM0cq36DZN6lR8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
aiofiles
|
||||
biliass
|
||||
dicttoxml
|
||||
colorama
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
makeWrapperArgs+=(--prefix PATH : ${lib.makeBinPath [ ffmpeg ]})
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "yutto" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Bilibili downloader";
|
||||
homepage = "https://github.com/yutto-dev/yutto";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ linsui ];
|
||||
};
|
||||
}
|
@ -25,6 +25,12 @@ in stdenv.mkDerivation rec {
|
||||
sed -i "s#/usr#$out#" src/dirb.c
|
||||
'';
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: resume.o:/build/dirb222/src/variables.h:15: multiple definition of `curl';
|
||||
# crea_wordlist.o:/build/dirb222/src/variables.h:15: first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/dirb/
|
||||
cp -r wordlists/ $out/share/dirb/
|
||||
|
@ -4,7 +4,7 @@ with lib;
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "flannel";
|
||||
version = "0.17.0";
|
||||
version = "0.18.0";
|
||||
rev = "v${version}";
|
||||
|
||||
vendorSha256 = null;
|
||||
@ -13,7 +13,7 @@ buildGoModule rec {
|
||||
inherit rev;
|
||||
owner = "flannel-io";
|
||||
repo = "flannel";
|
||||
sha256 = "sha256-YM/cGmtHDTzgu6Bfy52oP8E1HmLNuBHNgEpz/qTj7rg=";
|
||||
sha256 = "sha256-cxdbXhj79xp5jT5xY3cIzt5XYndPC+TWIrxBjAvbP0g=";
|
||||
};
|
||||
|
||||
ldflags = [ "-X github.com/flannel-io/flannel/version.Version=${rev}" ];
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ipinfo";
|
||||
version = "2.8.0";
|
||||
version = "2.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "cli";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-hvn50sn1UHkC2K0U5beRAYkAe8y/5sYH7Xed3atXzDo=";
|
||||
hash = "sha256-j+ASyNWfYh4/u7OX3iZx8DZZg1XAwuy6fpC9TJKI+18=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
@ -1,35 +0,0 @@
|
||||
{ buildGoPackage, go-bindata, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "ngrok";
|
||||
version = "1.7.1";
|
||||
rev = version;
|
||||
|
||||
goPackagePath = "ngrok";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "inconshreveable";
|
||||
repo = "ngrok";
|
||||
sha256 = "1r4nc9knp0nxg4vglg7v7jbyd1nh1j2590l720ahll8a4fbsx5a4";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
nativeBuildInputs = [ go-bindata ];
|
||||
|
||||
preConfigure = ''
|
||||
sed -e '/jteeuwen\/go-bindata/d' \
|
||||
-e '/export GOPATH/d' \
|
||||
-e 's/go get/#go get/' \
|
||||
-e 's|bin/go-bindata|go-bindata|' -i Makefile
|
||||
make assets BUILDTAGS=release
|
||||
export sourceRoot=$sourceRoot/src/ngrok
|
||||
'';
|
||||
|
||||
tags = [ "release" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://ngrok.com/";
|
||||
};
|
||||
}
|
101
pkgs/tools/networking/ngrok-1/deps.nix
generated
101
pkgs/tools/networking/ngrok-1/deps.nix
generated
@ -1,101 +0,0 @@
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/gorilla/websocket";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gorilla/websocket";
|
||||
rev = "a622679ebd7a3b813862379232f645f8e690e43f";
|
||||
sha256 = "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/rcrowley/go-metrics";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/rcrowley/go-metrics";
|
||||
rev = "1ce93efbc8f9c568886b2ef85ce305b2217b3de3";
|
||||
sha256 = "06gg72krlmd0z3zdq6s716blrga95pyj8dc2f2psfbknbkyrkfqa";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/inconshreveable/go-vhost";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/inconshreveable/go-vhost";
|
||||
rev = "c4c28117502e4bf00960c8282b2d1c51c865fe2c";
|
||||
sha256 = "1rway6sls6fl2s2jk20ajj36rrlzh9944ncc9pdd19kifix54z32";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "code.google.com/p/log4go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ccpaging/log4go";
|
||||
rev = "cb4cc51cd03958183d3b637d0750497d88c2f7a8";
|
||||
sha256 = "0l9f86zzhla9hq35q4xhgs837283qrm4gxbp5lrwwls54ifiq7k2";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/daviddengcn/go-colortext";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/daviddengcn/go-colortext";
|
||||
rev = "13eaeb896f5985a1ab74ddea58707a73d875ba57";
|
||||
sha256 = "0618xs9lc5xfp5zkkb5j47dr7i30ps3zj5fj0zpv8afqh2cc689x";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/yaml.v1";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/go-yaml/yaml";
|
||||
rev = "b0c168ac0cf9493da1f9bb76c34b26ffef940b4a";
|
||||
sha256 = "0jbdy41pplf2d1j24qwr8gc5qsig6ai5ch8rwgvg72kq9q0901cy";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/inconshreveable/mousetrap";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/inconshreveable/mousetrap";
|
||||
rev = "9dbb96d2c3a964935b0870b5abaea13c98b483aa";
|
||||
sha256 = "1f9g8vm18qv1rcb745a4iahql9vfrz0jni9mnzriab2wy1pfdl5b";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/nsf/termbox-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nsf/termbox-go";
|
||||
rev = "9aecf65084a5754f12d27508fa2e6ed56851953b";
|
||||
sha256 = "16sak07bgvmax4zxfrd4jia1dgygk733xa8vk8cdx28z98awbfsh";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/inconshreveable/go-update.v0";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/inconshreveable/go-update";
|
||||
rev = "d8b0b1d421aa1cbf392c05869f8abbc669bb7066";
|
||||
sha256 = "0cvkik2w368fzimx3y29ncfgw7004qkbdf2n3jy5czvzn35q7dpa";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/kardianos/osext";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/kardianos/osext";
|
||||
rev = "29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc";
|
||||
sha256 = "1mawalaz84i16njkz6f9fd5jxhcbxkbsjnav3cmqq2dncv2hyv8a";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/kr/binarydist";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/kr/binarydist";
|
||||
rev = "9955b0ab8708602d411341e55fffd7e0700f86bd";
|
||||
sha256 = "11wncbbbrdcxl5ff3h6w8vqfg4bxsf8709mh6vda0cv236flkyn3";
|
||||
};
|
||||
}
|
||||
]
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "shadowsocks-rust";
|
||||
version = "1.14.2";
|
||||
version = "1.14.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "shadowsocks";
|
||||
repo = pname;
|
||||
sha256 = "sha256-zWiC1GhrI3gcXhr8JpAbFF6t7N6aBSho33FMu8bhF2o=";
|
||||
sha256 = "sha256-tRiziyCw1Qpm22RtZHeKt4VFReJidFHsPxPSjxIA3hA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-nSKeFLWTHhtmlvA9MV6NpupKJo3d1jKpTBI5H8cHJ9s=";
|
||||
cargoSha256 = "sha256-snnzNb1yJ8L5pMvNNEIf5hZOpFV6DKOWGtGP1T3YTWg=";
|
||||
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
|
@ -2,15 +2,15 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "snowflake";
|
||||
version = "2.0.1";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.torproject.org/pluggable-transports/${pname}";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-ULkqsh0DeFI1GsaVaHGSjoEY38EktvDVC52Sx6cQLOE=";
|
||||
sha256 = "0iazamrfixv6yxc5m49adm97biq93pn6hwwpbh8yq558hrc6bh70";
|
||||
};
|
||||
|
||||
vendorSha256 = "D5A19UHL1WEE1ODT80jKT+PJ5CTXPjc9Eg6v2Nfm4aw=";
|
||||
vendorSha256 = "1v7cpg3kny0vqmdbgcc7i61wi5gx5wvrv0hmjykjrqgrvyq764c1";
|
||||
|
||||
meta = with lib; {
|
||||
description = "System to defeat internet censorship";
|
||||
|
44
pkgs/tools/security/passage/default.nix
Normal file
44
pkgs/tools/security/passage/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib, stdenv, fetchFromGitHub, makeBinaryWrapper, bash, age, git ? null
|
||||
, xclip ? null }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "passage";
|
||||
version = "unstable-2022-05-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FiloSottile";
|
||||
repo = "passage";
|
||||
rev = "1262d308f09db9b243513a428ab4b8fb1c30d31d";
|
||||
sha256 = "1val8wl9kzlxj4i1rrh2iiyf97w9akffvr0idvbkdb09hfzz4lz8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
extraPath = lib.makeBinPath [ age git xclip ];
|
||||
|
||||
# Using $0 is bad, it causes --help to mention ".passage-wrapped".
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/passage --replace 'PROGRAM="''${0##*/}"' 'PROGRAM=passage'
|
||||
wrapProgram $out/bin/passage --prefix PATH : $extraPath --argv0 $pname
|
||||
'';
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" "WITH_ALLCOMP=yes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stores, retrieves, generates, and synchronizes passwords securely";
|
||||
homepage = "https://github.com/FiloSottile/passage";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ kaction ];
|
||||
platforms = platforms.unix;
|
||||
|
||||
longDescription = ''
|
||||
passage is a fork of password-store (https://www.passwordstore.org) that uses
|
||||
age (https://age-encryption.org) as a backend instead of GnuPG.
|
||||
|
||||
It keeps passwords inside age(1) encrypted files inside a simple
|
||||
directory tree and provides a series of commands for manipulating the
|
||||
password store, allowing the user to add, remove, edit and synchronize
|
||||
passwords.
|
||||
'';
|
||||
};
|
||||
}
|
@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./makefile.patch ];
|
||||
|
||||
# -fcommon: Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: api.o:(.bss+0xbdba0): multiple definition of `wildcard'; main.o:(.bss+0xbd760): first defined here
|
||||
NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-mermaid";
|
||||
version = "0.10.0";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "badboy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dXeu/e92lafurA/bqKoszIjK/3qw/ZvVKnDxYALRpTk=";
|
||||
sha256 = "sha256-1neEuDsPMI4f1HaAP+Kx62RBW8hqqNThHpUNa5DzlnY=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-LVfeQPRpwv1l3Brm8HJYoYvv26fJhsfR4I9Ds4NuWQM=";
|
||||
cargoSha256 = "sha256-Sk0cOLknS1UK3OcLHVSnA/H3BeMe7bpo2HgHEErQSAQ=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
|
@ -5,16 +5,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sad";
|
||||
version = "0.4.20";
|
||||
version = "0.4.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ms-jpq";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BhkSqXiQPOSYnCXqjAqenKx3DextxPluqsTAMI4Xs7g=";
|
||||
sha256 = "sha256-kM5jeoFmDOwgnzdSwfPJfZhpBS8RPMNt143S5iYYrF4=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-aKTF0DH8Lf/H6OfQPuQ6yGOmUEUguYcHMCuYKIjNR9k=";
|
||||
cargoSha256 = "sha256-JwYUM4o4I3dC1HgG4bkUS1PH4MsxcvwdefjefnEZQFs=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool to search and replace";
|
||||
|
@ -389,7 +389,7 @@ with pkgs;
|
||||
|
||||
gpick = callPackage ../tools/misc/gpick { };
|
||||
|
||||
hobbes = callPackage ../development/tools/hobbes { };
|
||||
hobbes = callPackage ../development/tools/hobbes { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
html5validator = python3Packages.callPackage ../applications/misc/html5validator { };
|
||||
|
||||
@ -992,7 +992,7 @@ with pkgs;
|
||||
|
||||
arc_unpacker = callPackage ../tools/archivers/arc_unpacker {
|
||||
boost = boost16x; # checkPhase fails with Boost 1.77
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
adminer = callPackage ../servers/adminer { };
|
||||
@ -1516,7 +1516,7 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
|
||||
};
|
||||
|
||||
contour = libsForQt5.callPackage ../applications/terminal-emulators/contour { };
|
||||
contour = libsForQt5.callPackage ../applications/terminal-emulators/contour { fmt = fmt_8; };
|
||||
|
||||
cool-retro-term = libsForQt5.callPackage ../applications/terminal-emulators/cool-retro-term { };
|
||||
|
||||
@ -1628,7 +1628,7 @@ with pkgs;
|
||||
|
||||
writefreely = callPackage ../applications/misc/writefreely { };
|
||||
|
||||
iqueue = callPackage ../development/libraries/iqueue { };
|
||||
iqueue = callPackage ../development/libraries/iqueue { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
lifecycled = callPackage ../tools/misc/lifecycled { };
|
||||
|
||||
@ -2021,7 +2021,7 @@ with pkgs;
|
||||
bonnmotion = callPackage ../development/tools/misc/bonnmotion { };
|
||||
|
||||
bonnie = callPackage ../tools/filesystems/bonnie {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
botamusique = callPackage ../tools/audio/botamusique { };
|
||||
@ -2142,7 +2142,7 @@ with pkgs;
|
||||
|
||||
dfmt = callPackage ../tools/text/dfmt { };
|
||||
|
||||
diopser = callPackage ../applications/audio/diopser { };
|
||||
diopser = callPackage ../applications/audio/diopser { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
diskonaut = callPackage ../tools/misc/diskonaut { };
|
||||
|
||||
@ -2242,7 +2242,7 @@ with pkgs;
|
||||
|
||||
gamecube-tools = callPackage ../development/tools/gamecube-tools { };
|
||||
|
||||
gammy = qt5.callPackage ../tools/misc/gammy { };
|
||||
gammy = qt5.callPackage ../tools/misc/gammy { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
gams = callPackage ../tools/misc/gams (config.gams or {});
|
||||
|
||||
@ -2392,6 +2392,8 @@ with pkgs;
|
||||
|
||||
pass = callPackage ../tools/security/pass { };
|
||||
|
||||
passage = callPackage ../tools/security/passage { };
|
||||
|
||||
passphrase2pgp = callPackage ../tools/security/passphrase2pgp { };
|
||||
|
||||
pass-git-helper = python3Packages.callPackage ../applications/version-management/git-and-tools/pass-git-helper { };
|
||||
@ -2671,6 +2673,8 @@ with pkgs;
|
||||
|
||||
bicon = callPackage ../applications/misc/bicon { };
|
||||
|
||||
biliass = with python3.pkgs; toPythonApplication biliass;
|
||||
|
||||
bindfs = callPackage ../tools/filesystems/bindfs { };
|
||||
|
||||
binwalk = with python3Packages; toPythonApplication binwalk;
|
||||
@ -3006,7 +3010,7 @@ with pkgs;
|
||||
|
||||
clingo = callPackage ../applications/science/logic/potassco/clingo.nix { };
|
||||
|
||||
clingcon = callPackage ../applications/science/logic/potassco/clingcon.nix { };
|
||||
clingcon = callPackage ../applications/science/logic/potassco/clingcon.nix { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
clprover = callPackage ../applications/science/logic/clprover/clprover.nix { };
|
||||
|
||||
@ -3335,7 +3339,7 @@ with pkgs;
|
||||
gst-plugins-good = gst_all_1.gst-plugins-good.override { gtkSupport = true; };
|
||||
};
|
||||
|
||||
djv = callPackage ../applications/graphics/djv { };
|
||||
djv = callPackage ../applications/graphics/djv { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
dnschef = python3Packages.callPackage ../tools/networking/dnschef { };
|
||||
|
||||
@ -4736,7 +4740,7 @@ with pkgs;
|
||||
|
||||
evscript = callPackage ../tools/inputmethods/evscript { };
|
||||
|
||||
gebaar-libinput = callPackage ../tools/inputmethods/gebaar-libinput { };
|
||||
gebaar-libinput = callPackage ../tools/inputmethods/gebaar-libinput { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
kime = callPackage ../tools/inputmethods/kime { };
|
||||
|
||||
@ -4967,7 +4971,7 @@ with pkgs;
|
||||
createrepo_c = callPackage ../tools/package-management/createrepo_c { };
|
||||
|
||||
cromfs = callPackage ../tools/archivers/cromfs {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
cron = callPackage ../tools/system/cron { };
|
||||
@ -5619,7 +5623,7 @@ with pkgs;
|
||||
|
||||
endlessh-go = callPackage ../servers/endlessh-go { };
|
||||
|
||||
ericw-tools = callPackage ../applications/misc/ericw-tools { };
|
||||
ericw-tools = callPackage ../applications/misc/ericw-tools { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
cryfs = callPackage ../tools/filesystems/cryfs { };
|
||||
|
||||
@ -6651,7 +6655,7 @@ with pkgs;
|
||||
|
||||
robodoc = callPackage ../tools/text/robodoc { };
|
||||
|
||||
ucg = callPackage ../tools/text/ucg { };
|
||||
ucg = callPackage ../tools/text/ucg { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
grive2 = callPackage ../tools/filesystems/grive2 { };
|
||||
|
||||
@ -6732,9 +6736,8 @@ with pkgs;
|
||||
|
||||
gsmartcontrol = callPackage ../tools/misc/gsmartcontrol { };
|
||||
|
||||
gsmlib = callPackage ../development/libraries/gsmlib {
|
||||
autoreconfHook = buildPackages.autoreconfHook269;
|
||||
};
|
||||
gsmlib = callPackage ../development/libraries/gsmlib
|
||||
{ stdenv = gcc10StdenvCompat; autoreconfHook = buildPackages.autoreconfHook269; };
|
||||
|
||||
gssdp = callPackage ../development/libraries/gssdp { };
|
||||
|
||||
@ -7223,7 +7226,7 @@ with pkgs;
|
||||
boost = boost16x;
|
||||
};
|
||||
|
||||
isrcsubmit = callPackage ../tools/audio/isrcsubmit { };
|
||||
isrcsubmit = callPackage ../tools/audio/isrcsubmit { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
isync = callPackage ../tools/networking/isync {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
@ -8128,7 +8131,7 @@ with pkgs;
|
||||
|
||||
lokalise2-cli = callPackage ../tools/misc/lokalise2-cli { };
|
||||
|
||||
loki = callPackage ../development/libraries/loki { };
|
||||
loki = callPackage ../development/libraries/loki { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
longview = callPackage ../servers/monitoring/longview { };
|
||||
|
||||
@ -8366,7 +8369,7 @@ with pkgs;
|
||||
|
||||
mkclean = callPackage ../applications/video/mkclean {};
|
||||
|
||||
mkcue = callPackage ../tools/cd-dvd/mkcue { };
|
||||
mkcue = callPackage ../tools/cd-dvd/mkcue { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
mkp224o = callPackage ../tools/security/mkp224o { };
|
||||
|
||||
@ -8646,8 +8649,6 @@ with pkgs;
|
||||
|
||||
ngrok-2 = callPackage ../tools/networking/ngrok-2 { };
|
||||
|
||||
ngrok-1 = callPackage ../tools/networking/ngrok-1 { };
|
||||
|
||||
nifi = callPackage ../servers/web-apps/nifi { };
|
||||
|
||||
nitter = callPackage ../servers/nitter { };
|
||||
@ -8920,9 +8921,8 @@ with pkgs;
|
||||
|
||||
ola = callPackage ../applications/misc/ola { };
|
||||
|
||||
olive-editor = libsForQt514.callPackage ../applications/video/olive-editor {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
|
||||
};
|
||||
olive-editor = libsForQt514.callPackage ../applications/video/olive-editor
|
||||
{ stdenv = gcc10StdenvCompat; inherit (darwin.apple_sdk.frameworks) CoreFoundation; };
|
||||
|
||||
ombi = callPackage ../servers/ombi { };
|
||||
|
||||
@ -8954,7 +8954,7 @@ with pkgs;
|
||||
|
||||
opencryptoki = callPackage ../tools/security/opencryptoki { };
|
||||
|
||||
opendbx = callPackage ../development/libraries/opendbx { };
|
||||
opendbx = callPackage ../development/libraries/opendbx { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
opendht = callPackage ../development/libraries/opendht {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
@ -9220,12 +9220,10 @@ with pkgs;
|
||||
perceptualdiff = callPackage ../tools/graphics/perceptualdiff { };
|
||||
|
||||
percona-xtrabackup = percona-xtrabackup_8_0;
|
||||
percona-xtrabackup_2_4 = callPackage ../tools/backup/percona-xtrabackup/2_4.nix {
|
||||
boost = boost159;
|
||||
};
|
||||
percona-xtrabackup_8_0 = callPackage ../tools/backup/percona-xtrabackup/8_0.nix {
|
||||
boost = boost170;
|
||||
};
|
||||
percona-xtrabackup_2_4 = callPackage ../tools/backup/percona-xtrabackup/2_4.nix
|
||||
{ stdenv = gcc10StdenvCompat; boost = boost159; };
|
||||
percona-xtrabackup_8_0 = callPackage ../tools/backup/percona-xtrabackup/8_0.nix
|
||||
{ stdenv = gcc10StdenvCompat; boost = boost170; };
|
||||
|
||||
pick = callPackage ../tools/misc/pick { };
|
||||
|
||||
@ -10847,7 +10845,7 @@ with pkgs;
|
||||
|
||||
textadept = callPackage ../applications/editors/textadept/10 { };
|
||||
|
||||
textadept11 = callPackage ../applications/editors/textadept/11 { };
|
||||
textadept11 = callPackage ../applications/editors/textadept/11 { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
texworks = libsForQt5.callPackage ../applications/editors/texworks { };
|
||||
|
||||
@ -11039,7 +11037,7 @@ with pkgs;
|
||||
|
||||
traceroute = callPackage ../tools/networking/traceroute { };
|
||||
|
||||
tracebox = callPackage ../tools/networking/tracebox { };
|
||||
tracebox = callPackage ../tools/networking/tracebox { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
tracee = callPackage ../tools/security/tracee { };
|
||||
|
||||
@ -11893,7 +11891,7 @@ with pkgs;
|
||||
|
||||
xwinwrap = callPackage ../tools/X11/xwinwrap {};
|
||||
|
||||
yafaray-core = callPackage ../tools/graphics/yafaray-core { };
|
||||
yafaray-core = callPackage ../tools/graphics/yafaray-core { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
yajsv = callPackage ../tools/misc/yajsv { };
|
||||
|
||||
@ -12568,6 +12566,8 @@ with pkgs;
|
||||
gcc11Stdenv = overrideCC gccStdenv buildPackages.gcc11;
|
||||
gcc12Stdenv = overrideCC gccStdenv buildPackages.gcc12;
|
||||
|
||||
gcc10StdenvCompat = if stdenv.cc.isGNU && lib.versions.major stdenv.cc.version == "11" then gcc10Stdenv else stdenv;
|
||||
|
||||
# This is not intended for use in nixpkgs but for providing a faster-running
|
||||
# compiler to nixpkgs users by building gcc with reproducibility-breaking
|
||||
# profile-guided optimizations
|
||||
@ -13502,9 +13502,8 @@ with pkgs;
|
||||
|
||||
mint = callPackage ../development/compilers/mint { };
|
||||
|
||||
mitscheme = callPackage ../development/compilers/mit-scheme {
|
||||
texLive = texlive.combine { inherit (texlive) scheme-small epsf texinfo; };
|
||||
};
|
||||
mitscheme = callPackage ../development/compilers/mit-scheme
|
||||
{ stdenv = gcc10StdenvCompat; texLive = texlive.combine { inherit (texlive) scheme-small epsf texinfo; }; };
|
||||
|
||||
mitschemeX11 = mitscheme.override {
|
||||
enableX11 = true;
|
||||
@ -13581,9 +13580,8 @@ with pkgs;
|
||||
|
||||
nvidia_cg_toolkit = callPackage ../development/compilers/nvidia-cg-toolkit { };
|
||||
|
||||
obliv-c = callPackage ../development/compilers/obliv-c {
|
||||
ocamlPackages = ocaml-ng.ocamlPackages_4_05;
|
||||
};
|
||||
obliv-c = callPackage ../development/compilers/obliv-c
|
||||
{ stdenv = gcc10StdenvCompat; ocamlPackages = ocaml-ng.ocamlPackages_4_05; };
|
||||
|
||||
ocaml-ng = callPackage ./ocaml-packages.nix { };
|
||||
ocaml = ocamlPackages.ocaml;
|
||||
@ -13695,7 +13693,7 @@ with pkgs;
|
||||
|
||||
mrustc = callPackage ../development/compilers/mrustc { };
|
||||
mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { };
|
||||
mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { };
|
||||
mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
rustPackages_1_60 = rust_1_60.packages.stable;
|
||||
rustPackages = rustPackages_1_60;
|
||||
@ -14944,10 +14942,7 @@ with pkgs;
|
||||
buildJdk = jdk11_headless;
|
||||
buildJdkName = "java11";
|
||||
runJdk = jdk11_headless;
|
||||
stdenv =
|
||||
if stdenv.cc.isClang then llvmPackages.stdenv
|
||||
else if stdenv.cc.isGNU then gcc10Stdenv
|
||||
else stdenv;
|
||||
stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else gcc10StdenvCompat;
|
||||
bazel_self = bazel_4;
|
||||
};
|
||||
|
||||
@ -16289,7 +16284,7 @@ with pkgs;
|
||||
|
||||
symfony-cli = callPackage ../development/tools/symfony-cli { };
|
||||
|
||||
swiftshader = callPackage ../development/libraries/swiftshader { };
|
||||
swiftshader = callPackage ../development/libraries/swiftshader { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
systemfd = callPackage ../development/tools/systemfd { };
|
||||
|
||||
@ -16304,7 +16299,7 @@ with pkgs;
|
||||
|
||||
c3c = callPackage ../development/compilers/c3c { };
|
||||
|
||||
swfmill = callPackage ../tools/video/swfmill { };
|
||||
swfmill = callPackage ../tools/video/swfmill { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
swftools = callPackage ../tools/video/swftools {
|
||||
stdenv = gccStdenv;
|
||||
@ -16453,7 +16448,7 @@ with pkgs;
|
||||
|
||||
webdis = callPackage ../development/tools/database/webdis { };
|
||||
|
||||
xc3sprog = callPackage ../development/embedded/xc3sprog { };
|
||||
xc3sprog = callPackage ../development/embedded/xc3sprog { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
xcb-imdkit = callPackage ../development/libraries/xcb-imdkit { };
|
||||
|
||||
@ -16850,7 +16845,7 @@ with pkgs;
|
||||
classads = callPackage ../development/libraries/classads { };
|
||||
|
||||
clfft = callPackage ../development/libraries/clfft {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
clipp = callPackage ../development/libraries/clipp { };
|
||||
@ -16926,7 +16921,7 @@ with pkgs;
|
||||
|
||||
uci = callPackage ../development/libraries/uci { };
|
||||
|
||||
uri = callPackage ../development/libraries/uri { };
|
||||
uri = callPackage ../development/libraries/uri { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
cppcms = callPackage ../development/libraries/cppcms { };
|
||||
|
||||
@ -16956,7 +16951,7 @@ with pkgs;
|
||||
|
||||
cutelyst = libsForQt5.callPackage ../development/libraries/cutelyst { };
|
||||
|
||||
cxxtools = callPackage ../development/libraries/cxxtools { };
|
||||
cxxtools = callPackage ../development/libraries/cxxtools { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
cwiid = callPackage ../development/libraries/cwiid { };
|
||||
|
||||
@ -19659,7 +19654,7 @@ with pkgs;
|
||||
|
||||
mosquitto = callPackage ../servers/mqtt/mosquitto { };
|
||||
|
||||
mps = callPackage ../development/libraries/mps { };
|
||||
mps = callPackage ../development/libraries/mps { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
libmpeg2 = callPackage ../development/libraries/libmpeg2 { };
|
||||
|
||||
@ -19781,7 +19776,7 @@ with pkgs;
|
||||
|
||||
nntp-proxy = callPackage ../applications/networking/nntp-proxy { };
|
||||
|
||||
non = callPackage ../applications/audio/non { };
|
||||
non = callPackage ../applications/audio/non { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
ntl = callPackage ../development/libraries/ntl { };
|
||||
|
||||
@ -20890,7 +20885,7 @@ with pkgs;
|
||||
|
||||
tinyxml-2 = callPackage ../development/libraries/tinyxml-2 { };
|
||||
|
||||
tiscamera = callPackage ../os-specific/linux/tiscamera { };
|
||||
tiscamera = callPackage ../os-specific/linux/tiscamera { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
tivodecode = callPackage ../applications/video/tivodecode { };
|
||||
|
||||
@ -21104,7 +21099,7 @@ with pkgs;
|
||||
|
||||
websocketpp = callPackage ../development/libraries/websocket++ { };
|
||||
|
||||
webrtc-audio-processing_1 = callPackage ../development/libraries/webrtc-audio-processing { };
|
||||
webrtc-audio-processing_1 = callPackage ../development/libraries/webrtc-audio-processing { stdenv = gcc10StdenvCompat; };
|
||||
webrtc-audio-processing_0_3 = callPackage ../development/libraries/webrtc-audio-processing/0.3.nix { };
|
||||
# bump when majoring of packages have updated
|
||||
webrtc-audio-processing = webrtc-audio-processing_0_3;
|
||||
@ -21274,7 +21269,7 @@ with pkgs;
|
||||
|
||||
zlib-ng = callPackage ../development/libraries/zlib-ng { };
|
||||
|
||||
libdynd = callPackage ../development/libraries/libdynd { };
|
||||
libdynd = callPackage ../development/libraries/libdynd { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
zlog = callPackage ../development/libraries/zlog { };
|
||||
|
||||
@ -22268,7 +22263,7 @@ with pkgs;
|
||||
|
||||
nginx-sso = callPackage ../servers/nginx-sso { };
|
||||
|
||||
percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix { };
|
||||
percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix { stdenv = gcc10StdenvCompat; };
|
||||
percona-server = percona-server56;
|
||||
|
||||
riak = callPackage ../servers/nosql/riak/2.2.0.nix {
|
||||
@ -22730,7 +22725,7 @@ with pkgs;
|
||||
|
||||
zookeeper_mt = callPackage ../development/libraries/zookeeper_mt { };
|
||||
|
||||
xqilla = callPackage ../development/tools/xqilla { };
|
||||
xqilla = callPackage ../development/tools/xqilla { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
xquartz = callPackage ../servers/x11/xquartz { };
|
||||
|
||||
@ -23636,7 +23631,7 @@ with pkgs;
|
||||
|
||||
pipework = callPackage ../os-specific/linux/pipework { };
|
||||
|
||||
pktgen = callPackage ../os-specific/linux/pktgen { };
|
||||
pktgen = callPackage ../os-specific/linux/pktgen { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
plymouth = callPackage ../os-specific/linux/plymouth { };
|
||||
|
||||
@ -25892,7 +25887,7 @@ with pkgs;
|
||||
droopy = python3Packages.callPackage ../applications/networking/droopy { };
|
||||
|
||||
drumgizmo = callPackage ../applications/audio/drumgizmo {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
dsf2flac = callPackage ../applications/audio/dsf2flac { };
|
||||
@ -26214,9 +26209,9 @@ with pkgs;
|
||||
|
||||
flrig = callPackage ../applications/radio/flrig { };
|
||||
|
||||
fluxus = callPackage ../applications/graphics/fluxus { };
|
||||
fluxus = callPackage ../applications/graphics/fluxus { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
flwrap = callPackage ../applications/radio/flwrap { };
|
||||
flwrap = callPackage ../applications/radio/flwrap { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
fluidsynth = callPackage ../applications/audio/fluidsynth {
|
||||
inherit (darwin.apple_sdk.frameworks) AudioUnit CoreAudio CoreMIDI CoreServices;
|
||||
@ -26908,7 +26903,7 @@ with pkgs;
|
||||
inherit (gnome2) GConf;
|
||||
};
|
||||
|
||||
gosmore = callPackage ../applications/misc/gosmore { };
|
||||
gosmore = callPackage ../applications/misc/gosmore { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
gpsbabel = libsForQt5.callPackage ../applications/misc/gpsbabel {
|
||||
inherit (darwin) IOKit;
|
||||
@ -27486,7 +27481,7 @@ with pkgs;
|
||||
|
||||
jgmenu = callPackage ../applications/misc/jgmenu { };
|
||||
|
||||
jigdo = callPackage ../applications/misc/jigdo { };
|
||||
jigdo = callPackage ../applications/misc/jigdo { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
jitsi = callPackage ../applications/networking/instant-messengers/jitsi { };
|
||||
|
||||
@ -28100,7 +28095,7 @@ with pkgs;
|
||||
|
||||
mikmod = callPackage ../applications/audio/mikmod { };
|
||||
|
||||
miniaudicle = callPackage ../applications/audio/miniaudicle { };
|
||||
miniaudicle = callPackage ../applications/audio/miniaudicle { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
minicom = callPackage ../tools/misc/minicom { };
|
||||
|
||||
@ -28946,7 +28941,7 @@ with pkgs;
|
||||
|
||||
pianobar = callPackage ../applications/audio/pianobar { };
|
||||
|
||||
pianobooster = qt5.callPackage ../applications/audio/pianobooster { };
|
||||
pianobooster = qt5.callPackage ../applications/audio/pianobooster { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
pianoteq = callPackage ../applications/audio/pianoteq { };
|
||||
|
||||
@ -29695,7 +29690,7 @@ with pkgs;
|
||||
|
||||
socialscan = with python3.pkgs; toPythonApplication socialscan;
|
||||
|
||||
sonic-lineup = libsForQt5.callPackage ../applications/audio/sonic-lineup { };
|
||||
sonic-lineup = libsForQt5.callPackage ../applications/audio/sonic-lineup { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
sonic-visualiser = libsForQt5.callPackage ../applications/audio/sonic-visualiser { };
|
||||
|
||||
@ -30650,11 +30645,8 @@ with pkgs;
|
||||
wxGTK = wxGTK31;
|
||||
};
|
||||
|
||||
wxcam = callPackage ../applications/video/wxcam {
|
||||
inherit (gnome2) libglade;
|
||||
wxGTK = wxGTK28;
|
||||
gtk = gtk2;
|
||||
};
|
||||
wxcam = callPackage ../applications/video/wxcam
|
||||
{ stdenv = gcc10StdenvCompat; inherit (gnome2) libglade; wxGTK = wxGTK28; gtk = gtk2; };
|
||||
|
||||
xa = callPackage ../development/compilers/xa/xa.nix { };
|
||||
dxa = callPackage ../development/compilers/xa/dxa.nix { };
|
||||
@ -30975,6 +30967,8 @@ with pkgs;
|
||||
|
||||
ytmdl = callPackage ../tools/misc/ytmdl { };
|
||||
|
||||
yutto = with python3.pkgs; toPythonApplication yutto;
|
||||
|
||||
yuview = libsForQt5.yuview;
|
||||
|
||||
zam-plugins = callPackage ../applications/audio/zam-plugins { };
|
||||
@ -31238,17 +31232,15 @@ with pkgs;
|
||||
boost = boost17x;
|
||||
};
|
||||
|
||||
oxen = callPackage ../applications/blockchains/oxen {
|
||||
boost = boost17x;
|
||||
};
|
||||
oxen = callPackage ../applications/blockchains/oxen
|
||||
{ stdenv = gcc10StdenvCompat; boost = boost17x; };
|
||||
|
||||
masari = callPackage ../applications/blockchains/masari { boost = boost165; };
|
||||
|
||||
napari = with python3Packages; toPythonApplication napari;
|
||||
|
||||
nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet {
|
||||
boost = boost172;
|
||||
};
|
||||
nano-wallet = libsForQt5.callPackage ../applications/blockchains/nano-wallet
|
||||
{ stdenv = gcc10StdenvCompat; boost = boost172; };
|
||||
|
||||
namecoin = callPackage ../applications/blockchains/namecoin { withGui = true; };
|
||||
namecoind = callPackage ../applications/blockchains/namecoin { withGui = false; };
|
||||
@ -31615,16 +31607,16 @@ with pkgs;
|
||||
cuyo = callPackage ../games/cuyo { };
|
||||
|
||||
deliantra-server = callPackage ../games/deliantra/server.nix {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
deliantra-arch = callPackage ../games/deliantra/arch.nix {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
deliantra-maps = callPackage ../games/deliantra/maps.nix {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
deliantra-data = callPackage ../games/deliantra/data.nix {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
ddnet = callPackage ../games/ddnet { };
|
||||
@ -31647,9 +31639,8 @@ with pkgs;
|
||||
|
||||
dwarf-therapist = dwarf-fortress-packages.dwarf-therapist;
|
||||
|
||||
dxx-rebirth = callPackage ../games/dxx-rebirth {
|
||||
physfs = physfs_2;
|
||||
};
|
||||
dxx-rebirth = callPackage ../games/dxx-rebirth
|
||||
{ stdenv = gcc10StdenvCompat; physfs = physfs_2; };
|
||||
|
||||
inherit (callPackages ../games/dxx-rebirth/assets.nix { })
|
||||
descent1-assets
|
||||
@ -31915,7 +31906,7 @@ with pkgs;
|
||||
|
||||
manaplus = callPackage ../games/manaplus { };
|
||||
|
||||
mars = callPackage ../games/mars { };
|
||||
mars = callPackage ../games/mars { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
megaglest = callPackage ../games/megaglest { };
|
||||
|
||||
@ -32014,7 +32005,7 @@ with pkgs;
|
||||
|
||||
openlierox = callPackage ../games/openlierox { };
|
||||
|
||||
openclonk = callPackage ../games/openclonk { };
|
||||
openclonk = callPackage ../games/openclonk { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
openjk = callPackage ../games/openjk { };
|
||||
|
||||
@ -32243,13 +32234,15 @@ with pkgs;
|
||||
# You still can override by passing more arguments.
|
||||
space-orbit = callPackage ../games/space-orbit { };
|
||||
|
||||
spring = callPackage ../games/spring {
|
||||
asciidoc = asciidoc-full;
|
||||
boost = boost155;
|
||||
};
|
||||
spring = callPackage ../games/spring
|
||||
{ stdenv = gcc10StdenvCompat; asciidoc = asciidoc-full; boost = boost155; };
|
||||
|
||||
springLobby = callPackage ../games/spring/springlobby.nix { };
|
||||
|
||||
srb2 = callPackage ../games/srb2 { };
|
||||
|
||||
srb2kart = callPackage ../games/srb2kart { };
|
||||
|
||||
ssl-cert-check = callPackage ../tools/admin/ssl-cert-check { };
|
||||
|
||||
stardust = callPackage ../games/stardust { };
|
||||
@ -32286,12 +32279,8 @@ with pkgs;
|
||||
|
||||
stt = callPackage ../tools/audio/stt { };
|
||||
|
||||
stuntrally = callPackage ../games/stuntrally {
|
||||
ogre = ogre1_9;
|
||||
mygui = mygui.override {
|
||||
withOgre = true;
|
||||
};
|
||||
};
|
||||
stuntrally = callPackage ../games/stuntrally
|
||||
{ stdenv = gcc10StdenvCompat; ogre = ogre1_9; mygui = mygui.override { withOgre = true; }; };
|
||||
|
||||
superTux = callPackage ../games/supertux { };
|
||||
|
||||
@ -32741,23 +32730,23 @@ with pkgs;
|
||||
};
|
||||
|
||||
bpp-core = callPackage ../development/libraries/science/biology/bpp-core {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
bpp-phyl = callPackage ../development/libraries/science/biology/bpp-phyl {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
bpp-popgen = callPackage ../development/libraries/science/biology/bpp-popgen {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
bpp-seq = callPackage ../development/libraries/science/biology/bpp-seq {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
bppsuite = callPackage ../applications/science/biology/bppsuite {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
cd-hit = callPackage ../applications/science/biology/cd-hit {
|
||||
@ -32915,7 +32904,7 @@ with pkgs;
|
||||
|
||||
star = callPackage ../applications/science/biology/star { };
|
||||
|
||||
strelka = callPackage ../applications/science/biology/strelka { };
|
||||
strelka = callPackage ../applications/science/biology/strelka { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
inherit (callPackages ../applications/science/biology/sumatools {})
|
||||
sumalibs
|
||||
@ -32984,7 +32973,7 @@ with pkgs;
|
||||
|
||||
flintqs = callPackage ../development/libraries/science/math/flintqs { };
|
||||
|
||||
getdp = callPackage ../applications/science/math/getdp { };
|
||||
getdp = callPackage ../applications/science/math/getdp { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
gurobi = callPackage ../applications/science/math/gurobi { };
|
||||
|
||||
@ -33138,7 +33127,7 @@ with pkgs;
|
||||
|
||||
### SCIENCE/MOLECULAR-DYNAMICS
|
||||
|
||||
dl-poly-classic-mpi = callPackage ../applications/science/molecular-dynamics/dl-poly-classic { };
|
||||
dl-poly-classic-mpi = callPackage ../applications/science/molecular-dynamics/dl-poly-classic { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
lammps = callPackage ../applications/science/molecular-dynamics/lammps {
|
||||
fftw = fftw;
|
||||
@ -33234,7 +33223,7 @@ with pkgs;
|
||||
alt-ergo = callPackage ../applications/science/logic/alt-ergo {};
|
||||
|
||||
aspino = callPackage ../applications/science/logic/aspino {
|
||||
stdenv = if stdenv.cc.isGNU then gcc10Stdenv else stdenv;
|
||||
stdenv = gcc10StdenvCompat;
|
||||
};
|
||||
|
||||
beluga = callPackage ../applications/science/logic/beluga {};
|
||||
@ -34075,7 +34064,7 @@ with pkgs;
|
||||
|
||||
utsushi-networkscan = callPackage ../misc/drivers/utsushi/networkscan.nix { };
|
||||
|
||||
idsk = callPackage ../tools/filesystems/idsk { };
|
||||
idsk = callPackage ../tools/filesystems/idsk { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
colima = callPackage ../applications/virtualization/colima { };
|
||||
|
||||
@ -34538,7 +34527,7 @@ with pkgs;
|
||||
stdenv = gccStdenv;
|
||||
};
|
||||
|
||||
rss-glx = callPackage ../misc/screensavers/rss-glx { };
|
||||
rss-glx = callPackage ../misc/screensavers/rss-glx { stdenv = gcc10StdenvCompat; };
|
||||
|
||||
run-scaled = callPackage ../tools/X11/run-scaled { };
|
||||
|
||||
@ -35181,9 +35170,8 @@ with pkgs;
|
||||
|
||||
openring = callPackage ../applications/misc/openring { };
|
||||
|
||||
openvino = callPackage ../development/libraries/openvino {
|
||||
python = python3;
|
||||
};
|
||||
openvino = callPackage ../development/libraries/openvino
|
||||
{ stdenv = gcc10StdenvCompat; python = python3; };
|
||||
|
||||
phonetisaurus = callPackage ../development/libraries/phonetisaurus {
|
||||
# https://github.com/AdolfVonKleist/Phonetisaurus/issues/70
|
||||
|
@ -128,7 +128,7 @@ let
|
||||
in {
|
||||
|
||||
freeformType =
|
||||
let t = lib.types.attrsOf lib.types.raw;
|
||||
let t = lib.types.lazyAttrsOf lib.types.raw;
|
||||
in t // {
|
||||
merge = loc: defs:
|
||||
let r = t.merge loc defs;
|
||||
|
@ -93,6 +93,8 @@ let
|
||||
|
||||
brisk-reconciler = callPackage ../development/ocaml-modules/brisk-reconciler { };
|
||||
|
||||
bwd = callPackage ../development/ocaml-modules/bwd { };
|
||||
|
||||
bz2 = callPackage ../development/ocaml-modules/bz2 { };
|
||||
|
||||
ca-certs = callPackage ../development/ocaml-modules/ca-certs { };
|
||||
@ -1322,8 +1324,6 @@ let
|
||||
|
||||
sedlex = callPackage ../development/ocaml-modules/sedlex { };
|
||||
|
||||
sedlex_2 = callPackage ../development/ocaml-modules/sedlex/2.nix { };
|
||||
|
||||
semaphore-compat = callPackage ../development/ocaml-modules/semaphore-compat { };
|
||||
|
||||
sha = callPackage ../development/ocaml-modules/sha { };
|
||||
@ -1457,6 +1457,8 @@ let
|
||||
|
||||
yuscii = callPackage ../development/ocaml-modules/yuscii { };
|
||||
|
||||
yuujinchou = callPackage ../development/ocaml-modules/yuujinchou { };
|
||||
|
||||
z3 = callPackage ../development/ocaml-modules/z3 {
|
||||
inherit (pkgs) z3;
|
||||
};
|
||||
|
@ -1227,6 +1227,8 @@ in {
|
||||
|
||||
bids-validator = callPackage ../development/python-modules/bids-validator { };
|
||||
|
||||
biliass = callPackage ../development/python-modules/biliass { };
|
||||
|
||||
billiard = callPackage ../development/python-modules/billiard { };
|
||||
|
||||
bimmer-connected = callPackage ../development/python-modules/bimmer-connected { };
|
||||
@ -5326,7 +5328,9 @@ in {
|
||||
|
||||
minexr = callPackage ../development/python-modules/minexr { };
|
||||
|
||||
miniaudio = callPackage ../development/python-modules/miniaudio { };
|
||||
miniaudio = callPackage ../development/python-modules/miniaudio {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox CoreAudio;
|
||||
};
|
||||
|
||||
minidb = callPackage ../development/python-modules/minidb { };
|
||||
|
||||
@ -11375,6 +11379,8 @@ in {
|
||||
|
||||
yubico-client = callPackage ../development/python-modules/yubico-client { };
|
||||
|
||||
yutto = callPackage ../tools/misc/yutto { };
|
||||
|
||||
z3c-checkversions = callPackage ../development/python-modules/z3c-checkversions { };
|
||||
|
||||
z3 = (toPythonModule (pkgs.z3.override {
|
||||
|
Loading…
Reference in New Issue
Block a user