Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-01-23 18:01:11 +00:00 committed by GitHub
commit 93a9821309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
54 changed files with 814 additions and 476 deletions

View File

@ -279,6 +279,14 @@
<literal>virtualisation.docker.daemon.settings</literal>. <literal>virtualisation.docker.daemon.settings</literal>.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
The backward compatibility in
<literal>services.wordpress</literal> to configure sites with
the old interface has been removed. Please use
<literal>services.wordpress.sites</literal> instead.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
The backward compatibility in The backward compatibility in

View File

@ -92,6 +92,10 @@ In addition to numerous new and upgraded packages, this release has the followin
- If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`. - If you previously used `/etc/docker/daemon.json`, you need to incorporate the changes into the new option `virtualisation.docker.daemon.settings`.
- The backward compatibility in `services.wordpress` to configure sites with
the old interface has been removed. Please use `services.wordpress.sites`
instead.
- The backward compatibility in `services.dokuwiki` to configure sites with the - The backward compatibility in `services.dokuwiki` to configure sites with the
old interface has been removed. Please use `services.dokuwiki.sites` instead. old interface has been removed. Please use `services.dokuwiki.sites` instead.

View File

@ -1,20 +1,14 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let with lib;
inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption types;
inherit (lib) any attrValues concatMapStringsSep flatten literalExpression;
inherit (lib) filterAttrs mapAttrs mapAttrs' mapAttrsToList nameValuePair optional optionalAttrs optionalString;
cfg = migrateOldAttrs config.services.wordpress; let
cfg = config.services.wordpress;
eachSite = cfg.sites; eachSite = cfg.sites;
user = "wordpress"; user = "wordpress";
webserver = config.services.${cfg.webserver}; webserver = config.services.${cfg.webserver};
stateDir = hostName: "/var/lib/wordpress/${hostName}"; stateDir = hostName: "/var/lib/wordpress/${hostName}";
# Migrate config.services.wordpress.<hostName> to config.services.wordpress.sites.<hostName>
oldSites = filterAttrs (o: _: o != "sites" && o != "webserver");
migrateOldAttrs = cfg: cfg // { sites = cfg.sites // oldSites cfg; };
pkg = hostName: cfg: pkgs.stdenv.mkDerivation rec { pkg = hostName: cfg: pkgs.stdenv.mkDerivation rec {
pname = "wordpress-${hostName}"; pname = "wordpress-${hostName}";
version = src.version; version = src.version;
@ -266,36 +260,29 @@ in
{ {
# interface # interface
options = { options = {
services.wordpress = mkOption { services.wordpress = {
type = types.submodule {
# Used to support old interface
freeformType = types.attrsOf (types.submodule siteOpts);
# New interface sites = mkOption {
options.sites = mkOption { type = types.attrsOf (types.submodule siteOpts);
type = types.attrsOf (types.submodule siteOpts); default = {};
default = {}; description = "Specification of one or more WordPress sites to serve";
description = "Specification of one or more WordPress sites to serve";
};
options.webserver = mkOption {
type = types.enum [ "httpd" "nginx" "caddy" ];
default = "httpd";
description = ''
Whether to use apache2 or nginx for virtual host management.
Further nginx configuration can be done by adapting <literal>services.nginx.virtualHosts.&lt;name&gt;</literal>.
See <xref linkend="opt-services.nginx.virtualHosts"/> for further information.
Further apache2 configuration can be done by adapting <literal>services.httpd.virtualHosts.&lt;name&gt;</literal>.
See <xref linkend="opt-services.httpd.virtualHosts"/> for further information.
'';
};
}; };
default = {};
description = "Wordpress configuration";
};
webserver = mkOption {
type = types.enum [ "httpd" "nginx" "caddy" ];
default = "httpd";
description = ''
Whether to use apache2 or nginx for virtual host management.
Further nginx configuration can be done by adapting <literal>services.nginx.virtualHosts.&lt;name&gt;</literal>.
See <xref linkend="opt-services.nginx.virtualHosts"/> for further information.
Further apache2 configuration can be done by adapting <literal>services.httpd.virtualHosts.&lt;name&gt;</literal>.
See <xref linkend="opt-services.httpd.virtualHosts"/> for further information.
'';
};
};
}; };
# implementation # implementation
@ -312,8 +299,6 @@ in
}) eachSite); }) eachSite);
warnings = mapAttrsToList (hostName: _: ''services.wordpress."${hostName}" is deprecated use services.wordpress.sites."${hostName}"'') (oldSites cfg);
services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) { services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) {
enable = true; enable = true;
package = mkDefault pkgs.mariadb; package = mkDefault pkgs.mariadb;

View File

@ -271,7 +271,7 @@ def main() -> None:
if os.readlink(system_dir(*gen)) == args.default_config: if os.readlink(system_dir(*gen)) == args.default_config:
write_loader_conf(*gen) write_loader_conf(*gen)
except OSError as e: except OSError as e:
print("ignoring profile '{}' in the list of boot entries because of the following error:\n{}".format(profile, e), file=sys.stderr) print("ignoring generation '{}' in the list of boot entries because of the following error:\n{}".format(*gen, e), file=sys.stderr)
for root, _, files in os.walk('@efiSysMountPoint@/efi/nixos/.extra-files', topdown=False): for root, _, files in os.walk('@efiSysMountPoint@/efi/nixos/.extra-files', topdown=False):
relative_root = root.removeprefix("@efiSysMountPoint@/efi/nixos/.extra-files").removeprefix("/") relative_root = root.removeprefix("@efiSysMountPoint@/efi/nixos/.extra-files").removeprefix("/")

View File

@ -15,15 +15,12 @@ import ./make-test-python.nix ({ pkgs, ... }:
services.httpd.adminAddr = "webmaster@site.local"; services.httpd.adminAddr = "webmaster@site.local";
services.httpd.logPerVirtualHost = true; services.httpd.logPerVirtualHost = true;
services.wordpress = { services.wordpress.sites = {
# Test support for old interface
"site1.local" = { "site1.local" = {
database.tablePrefix = "site1_"; database.tablePrefix = "site1_";
}; };
sites = { "site2.local" = {
"site2.local" = { database.tablePrefix = "site2_";
database.tablePrefix = "site2_";
};
}; };
}; };

View File

@ -0,0 +1,61 @@
{ stdenv
, fetchFromGitHub
, lib
, rustPlatform
, Security
, curl
, pkg-config
, openssl
, llvmPackages
}:
rustPlatform.buildRustPackage rec {
pname = "snarkos";
version = "unstable-2021-01-21";
src = fetchFromGitHub {
owner = "AleoHQ";
repo = "snarkOS";
rev = "7068dc0394139c887f5187288ca2af54bc729614";
sha256 = "sha256-fgdIJX/Ep3amPAjo00BtNGSXhaItw41S1XliDXk6b7k=";
};
cargoSha256 = "sha256-bax7cnqVY49rdcWs73+KqW+dzPebKLlsbPvOM1d25zA=";
# buildAndTestSubdir = "cli";
nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config llvmPackages.clang ];
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
OPENSSL_LIB_DIR = "${openssl.out}/lib";
OPENSSL_DIR="${lib.getDev openssl}";
LIBCLANG_PATH="${llvmPackages.libclang.lib}/lib";
# TODO check why rust compilation fails by including the rocksdb from nixpkgs
# Used by build.rs in the rocksdb-sys crate. If we don't set these, it would
# try to build RocksDB from source.
# ROCKSDB_INCLUDE_DIR="${rocksdb}/include";
# ROCKSDB_LIB_DIR="${rocksdb}/lib";
buildInputs = lib.optionals stdenv.isDarwin [ Security curl ];
# some tests are flaky and some need network access
# TODO finish filtering the tests to enable them
doCheck = !stdenv.isLinux;
# checkFlags = [
# # tries to make a network access
# "--skip=rpc::rpc::tests::test_send_transaction_large"
# # flaky test
# "--skip=helpers::block_requests::tests::test_block_requests_case_2ca"
# ];
meta = with lib; {
description = "A Decentralized Operating System for Zero-Knowledge Applications";
homepage = "https://snarkos.org";
license = licenses.asl20;
maintainers = with maintainers; [ happysalada ];
platforms = platforms.unix;
};
}

View File

@ -1,21 +1,17 @@
{ lib, stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkg-config, wordnet }: { lib, stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkg-config, wordnet }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "artha"; pname = "artha";
version = "1.0.3"; version = "1.0.5";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/artha/1.0.3/artha-1.0.3.tar.bz2"; url = "mirror://sourceforge/artha/${version}/artha-${version}.tar.bz2";
sha256 = "0qr4ihl7ma3cq82xi1fpzvf74mm9vsg0j035xvmcp3r6rmw2fycx"; sha256 = "034r7vfk5y7705k068cdlq52ikp6ip10w6047a5zjdakbn55c3as";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ dbus-glib gtk2 wordnet ]; buildInputs = [ dbus-glib gtk2 wordnet ];
patches = [
./gio-underlink.patch
];
meta = with lib; { meta = with lib; {
description = "An offline thesaurus based on WordNet"; description = "An offline thesaurus based on WordNet";
homepage = "http://artha.sourceforge.net"; homepage = "http://artha.sourceforge.net";

View File

@ -1,13 +0,0 @@
diff --git a/src/Makefile.am b/src/Makefile.am
index 0236d72..bcc1182 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -38,7 +38,7 @@ artha_LDADD = libwni.a $(WORDNET_LIB)
if POSIX
AM_CFLAGS += @libdbus_CFLAGS@
-artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgtk-x11-2.0 \
+artha_LDADD += -lX11 -ldbus-1 -ldbus-glib-1 -lgio-2.0 -lgtk-x11-2.0 \
-lgdk-x11-2.0 -lgmodule-2.0 -lgobject-2.0 -lglib-2.0
else
artha_LDADD += @GTK_LIBS@

View File

@ -0,0 +1,51 @@
{ lib
, stdenv
, fetchFromSourcehut
, zig
, river
, wayland
, pkg-config
, scdoc
}:
stdenv.mkDerivation rec {
pname = "rivercarro";
version = "0.1.1";
src = fetchFromSourcehut {
owner = "~novakane";
repo = pname;
fetchSubmodules = true;
rev = "v${version}";
sha256 = "0h1wvl6rlrpr67zl51x71hy7nwkfd5kfv5p2mql6w5fybxxyqnpm";
};
nativeBuildInputs = [
pkg-config
river
scdoc
wayland
zig
];
dontConfigure = true;
preBuild = ''
export HOME=$TMPDIR
'';
installPhase = ''
runHook preInstall
zig build -Drelease-safe -Dcpu=baseline -Dman-pages --prefix $out install
runHook postInstall
'';
meta = with lib; {
homepage = "https://git.sr.ht/~novakane/rivercarro";
description = "A layout generator for river Wayland compositor, fork of rivertile";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ kraem ];
};
}

View File

@ -1,22 +1,24 @@
{ lib { lib
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, meson , meson
, gobject-introspection , gobject-introspection
, pkg-config , pkg-config
, ninja , ninja
, python3 , python3
, wrapGAppsHook , wrapGAppsHook4
, gtk3 , gtk4
, gdk-pixbuf , gdk-pixbuf
, webkitgtk , webkitgtk
, gtksourceview4 , gtksourceview5
, libhandy
, glib-networking , glib-networking
, libadwaita
, appstream
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "giara"; pname = "giara";
version = "0.3"; version = "1.0";
format = "other"; format = "other";
@ -25,24 +27,25 @@ python3.pkgs.buildPythonApplication rec {
owner = "World"; owner = "World";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "004qmkfrgd37axv0b6hfh6v7nx4pvy987k5yv4bmlmkj9sbqm6f9"; hash = "sha256-xDIzgr8zYal0r0sASWqiSZANCMC52LrVmLjlnGAd2Mg=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
appstream
meson meson
gobject-introspection gobject-introspection
pkg-config pkg-config
ninja ninja
wrapGAppsHook wrapGAppsHook4
]; ];
buildInputs = [ buildInputs = [
gtk3 gtk4
gdk-pixbuf gdk-pixbuf
webkitgtk webkitgtk
gtksourceview4 gtksourceview5
libhandy
glib-networking glib-networking
libadwaita
]; ];
pythonPath = with python3.pkgs; [ pythonPath = with python3.pkgs; [
@ -55,6 +58,21 @@ python3.pkgs.buildPythonApplication rec {
beautifulsoup4 beautifulsoup4
]; ];
patches = [
# Proper support for gtk4 and libadwaita
# @TODO: Remove when bumping the version.
(fetchpatch {
name = "giara-gtk4-libadwaita.patch";
url = "https://gitlab.gnome.org/World/giara/-/commit/6204427f8b8e3d8c72b669717a3f129ffae401d9.patch";
sha256 = "sha256-E8kbVsACPD2gkfNrzYUy0+1U7+/pIkUu4rCkX+xY0us=";
})
];
postPatch = ''
substituteInPlace meson_post_install.py \
--replace "gtk-update-icon-cache" "gtk4-update-icon-cache"
'';
# Fix setup-hooks https://github.com/NixOS/nixpkgs/issues/56943 # Fix setup-hooks https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false; strictDeps = false;

View File

@ -5,13 +5,13 @@
mkDerivation rec { mkDerivation rec {
pname = "qownnotes"; pname = "qownnotes";
version = "22.1.7"; version = "22.1.9";
src = fetchurl { src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz"; url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Fetch the checksum of current version with curl: # Fetch the checksum of current version with curl:
# curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256 # curl https://download.tuxfamily.org/qownnotes/src/qownnotes-<version>.tar.xz.sha256
sha256 = "7ac13816e47e23e8469f47b6d48a29f7e98416de0fa9ef77eb3da63b191829f3"; sha256 = "sha256-vUYfZpqOe7cZJxrNPXN2gCyNRNqC2/NA83+UCL9+mq0=";
}; };
nativeBuildInputs = [ qmake qttools ]; nativeBuildInputs = [ qmake qttools ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "super-productivity"; pname = "super-productivity";
version = "7.9.2"; version = "7.10.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage"; url = "https://github.com/johannesjo/super-productivity/releases/download/v${version}/superProductivity-${version}.AppImage";
sha256 = "sha256-qeHFFG1Y8qZwFvo3CFIs1+BKQo287HJfOnKKguUOlu8="; sha256 = "sha256-Aa0orJpsin7XntUVpW6VLcbGiTSeyySDCGNFOERtgvg=";
name = "${pname}-${version}.AppImage"; name = "${pname}-${version}.AppImage";
}; };

View File

@ -54,16 +54,16 @@ let
in in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "alacritty"; pname = "alacritty";
version = "0.9.0"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alacritty"; owner = "alacritty";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-kgZEbOGmO+uRKaWR+oQBiGkBzDSuCznUyWNUoMICHhk="; sha256 = "sha256-eVPy47T2wcsN7NxtwMoyuC6loBVXsoJjJ/2q31i3vxQ=";
}; };
cargoSha256 = "sha256-JqnYMDkagWNGliUxi5eqJN92ULsvT7Fwmah8um1xaRw="; cargoSha256 = "sha256-RY+qidm7NZFKq6P8qVaMpxYfTfHpZac2YJwuNbOJwoM=";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@ -88,19 +88,13 @@ rustPlatform.buildRustPackage rec {
outputs = [ "out" "terminfo" ]; outputs = [ "out" "terminfo" ];
patches = [
# Handle PTY EIO error for Rust 1.55+
(fetchpatch {
url = "https://github.com/alacritty/alacritty/commit/58985a4dcbe464230b5d2566ee68e2d34a1788c8.patch";
sha256 = "sha256-Z6589yRrQtpx3/vNqkMiGgGsLysd/QyfaX7trqX+k5c=";
})
];
postPatch = '' postPatch = ''
substituteInPlace alacritty/src/config/ui_config.rs \ substituteInPlace alacritty/src/config/ui_config.rs \
--replace xdg-open ${xdg-utils}/bin/xdg-open --replace xdg-open ${xdg-utils}/bin/xdg-open
''; '';
checkFlags = [ "--skip=term::test::mock_term" ]; # broken on aarch64
postInstall = ( postInstall = (
if stdenv.isDarwin then '' if stdenv.isDarwin then ''
mkdir $out/Applications mkdir $out/Applications
@ -126,6 +120,7 @@ rustPlatform.buildRustPackage rec {
install -dm 755 "$out/share/man/man1" install -dm 755 "$out/share/man/man1"
gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz" gzip -c extra/alacritty.man > "$out/share/man/man1/alacritty.1.gz"
gzip -c extra/alacritty-msg.man > "$out/share/man/man1/alacritty-msg.1.gz"
install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml install -Dm 644 alacritty.yml $out/share/doc/alacritty.yml

View File

@ -1,14 +1,14 @@
{ {
"version": "14.6.2", "version": "14.6.3",
"repo_hash": "0n7l1f1w70nqb9ackcmi1yhx69a32zlkxa962v67782nn2vdcbiz", "repo_hash": "sha256-M8A6ZF1t+N48OTBhVwvOweITmavrl9+Z1Yqw4lxLk38=",
"yarn_hash": "1kcjbf8xn3bwac2s9i2i7dpgbkwcjh09wvgbgysm5yffpdswg6nl", "yarn_hash": "1kcjbf8xn3bwac2s9i2i7dpgbkwcjh09wvgbgysm5yffpdswg6nl",
"owner": "gitlab-org", "owner": "gitlab-org",
"repo": "gitlab", "repo": "gitlab",
"rev": "v14.6.2-ee", "rev": "v14.6.3-ee",
"passthru": { "passthru": {
"GITALY_SERVER_VERSION": "14.6.2", "GITALY_SERVER_VERSION": "14.6.3",
"GITLAB_PAGES_VERSION": "1.49.0", "GITLAB_PAGES_VERSION": "1.49.0",
"GITLAB_SHELL_VERSION": "13.22.1", "GITLAB_SHELL_VERSION": "13.22.1",
"GITLAB_WORKHORSE_VERSION": "14.6.2" "GITLAB_WORKHORSE_VERSION": "14.6.3"
} }
} }

View File

@ -33,7 +33,7 @@ let
}; };
}; };
version = "14.6.2"; version = "14.6.3";
gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}"; gitaly_package = "gitlab.com/gitlab-org/gitaly/v${lib.versions.major version}";
in in
@ -45,7 +45,7 @@ buildGoModule {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitaly"; repo = "gitaly";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-a9qFAtQP5QtI+E6V3LBYAMYQbvhgOcn75l+6pSQPZ+0="; sha256 = "sha256-b4gNIYMtwsV2qv3mjKYDnCCGGmQseoqaTGN7k9mR1B8=";
}; };
vendorSha256 = "sha256-ZLd4E3+e25Hqmd6ZyF3X6BveMEg7OF0FX9IvNBWn3v0="; vendorSha256 = "sha256-ZLd4E3+e25Hqmd6ZyF3X6BveMEg7OF0FX9IvNBWn3v0=";

View File

@ -5,7 +5,7 @@ in
buildGoModule rec { buildGoModule rec {
pname = "gitlab-workhorse"; pname = "gitlab-workhorse";
version = "14.6.2"; version = "14.6.3";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = data.owner; owner = data.owner;

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "gnome-shell-extension-pop-shell"; pname = "gnome-shell-extension-pop-shell";
version = "unstable-2021-11-30"; version = "unstable-2022-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pop-os"; owner = "pop-os";
repo = "shell"; repo = "shell";
rev = "4b65ee865d01436ec75a239a0586a2fa6051b8c3"; rev = "21745c4a8076ad52c9ccc77ca5726f5c7b83de6c";
sha256 = "DHmp3kzBgbyxRe0TjER/CAqyUmD9LeRqAFQ9apQDzfk="; sha256 = "sha256-d6NRNbTimwtGVLhcpdFD1AuignVii/xi3YtMWzkS/v0=";
}; };
nativeBuildInputs = [ glib nodePackages.typescript gjs ]; nativeBuildInputs = [ glib nodePackages.typescript gjs ];

View File

@ -4,6 +4,7 @@
, version , version
, src , src
, nativeBuildInputs ? [ ] , nativeBuildInputs ? [ ]
, buildInputs ? [ ]
, meta ? { } , meta ? { }
, enableDebugInfo ? false , enableDebugInfo ? false
, mixEnv ? "prod" , mixEnv ? "prod"
@ -27,7 +28,7 @@ assert mixNixDeps != { } -> mixFodDeps == null;
stdenv.mkDerivation (overridable // { stdenv.mkDerivation (overridable // {
# rg is used as a better grep to search for erlang references in the final release # rg is used as a better grep to search for erlang references in the final release
nativeBuildInputs = nativeBuildInputs ++ [ erlang hex elixir makeWrapper git ripgrep ]; nativeBuildInputs = nativeBuildInputs ++ [ erlang hex elixir makeWrapper git ripgrep ];
buildInputs = builtins.attrValues mixNixDeps; buildInputs = buildInputs ++ builtins.attrValues mixNixDeps;
MIX_ENV = mixEnv; MIX_ENV = mixEnv;
MIX_DEBUG = if enableDebugInfo then 1 else 0; MIX_DEBUG = if enableDebugInfo then 1 else 0;

View File

@ -4,13 +4,13 @@ with lib;
gnustep.stdenv.mkDerivation rec { gnustep.stdenv.mkDerivation rec {
pname = "sope"; pname = "sope";
version = "5.4.0"; version = "5.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inverse-inc"; owner = "inverse-inc";
repo = pname; repo = pname;
rev = "SOPE-${version}"; rev = "SOPE-${version}";
sha256 = "sha256-jOF429Gaf1Qo3bx9mUogBQ0u/tBUxnX7VZxJjxF24Rg="; sha256 = "sha256-M5PF15Ok+rJLWlfHsC8F8JXJonAR0wwTUbWxegBZ/qQ=";
}; };
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];

View File

@ -1,17 +1,17 @@
{ lib, stdenv, fetchFromGitHub, which, ocaml, findlib }: { lib, stdenv, fetchFromGitHub, which, ocaml, findlib }:
if !lib.versionAtLeast ocaml.version "4.02" if !lib.versionAtLeast ocaml.version "4.10"
then throw "camlpdf is not available for OCaml ${ocaml.version}" then throw "camlpdf is not available for OCaml ${ocaml.version}"
else else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.4"; version = "2.5";
name = "ocaml${ocaml.version}-camlpdf-${version}"; name = "ocaml${ocaml.version}-camlpdf-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "johnwhitington"; owner = "johnwhitington";
repo = "camlpdf"; repo = "camlpdf";
rev = "v${version}"; rev = "v${version}";
sha256 = "09kzrgmlxb567315p3fy59ba0kv7xhp548n9i3l4wf9n06p0ww9m"; sha256 = "sha256:1qmsa0xgi960y7r20mvf8hxiiml7l1908s4dm7nq262f19w51gsl";
}; };
buildInputs = [ which ocaml findlib ]; buildInputs = [ which ocaml findlib ];

View File

@ -4,7 +4,7 @@ if !lib.versionAtLeast ocaml.version "4.10"
then throw "cpdf is not available for OCaml ${ocaml.version}" then throw "cpdf is not available for OCaml ${ocaml.version}"
else else
let version = "2.4"; in let version = "2.5"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "ocaml${ocaml.version}-cpdf-${version}"; name = "ocaml${ocaml.version}-cpdf-${version}";
@ -13,7 +13,7 @@ stdenv.mkDerivation {
owner = "johnwhitington"; owner = "johnwhitington";
repo = "cpdf-source"; repo = "cpdf-source";
rev = "v${version}"; rev = "v${version}";
sha256 = "1a8lmfc76dr8x6pxgm4aypbys02pfma9yh4z3l1qxp2q1909na5l"; sha256 = "sha256:0ps6d78i5mp1gcigxfp9rxmjr1k00nkr37vllhr0rdyph97w41s1";
}; };
buildInputs = [ ocaml findlib ncurses ]; buildInputs = [ ocaml findlib ncurses ];

View File

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "afsapi"; pname = "afsapi";
version = "0.2.0"; version = "0.2.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "wlcrs"; owner = "wlcrs";
repo = "python-afsapi"; repo = "python-afsapi";
rev = version; rev = version;
hash = "sha256-9cExuVFbESOUol10DUj9Bt6evtXi1ctBeAsGitrSDqc="; hash = "sha256-LBK32CwiYEa+R5VhcpVzMYklPAgombxl05rM/KWRyIU=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;

View File

@ -8,6 +8,7 @@
, pytest-asyncio , pytest-asyncio
, pytest-cov , pytest-cov
, pytest-mock , pytest-mock
, pythonOlder
, aiohttp , aiohttp
, attrs , attrs
, cattrs , cattrs
@ -16,13 +17,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "bsblan"; pname = "bsblan";
version = "0.4.1"; version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "liudger"; owner = "liudger";
repo = "python-bsblan"; repo = "python-bsblan";
rev = "v.${version}"; rev = "v.${version}";
sha256 = "0vyg9vsrs34jahlav83qp2djv81p3ks31qz4qh46zdij2nx7l1fv"; sha256 = "1j41y2njnalcsp1vjqwl508yp3ki82lv8108ijz52hprhrq4fffb";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -42,7 +46,9 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [ "bsblan" ]; pythonImportsCheck = [
"bsblan"
];
meta = with lib; { meta = with lib; {
description = "Python client for BSB-Lan"; description = "Python client for BSB-Lan";

View File

@ -7,12 +7,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cupy"; pname = "cupy";
version = "9.6.0"; version = "10.1.0";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "22469ea1ad51ffbb4af2b139ed0820ac5d0b78f1265b2a095ed5e5d5299aab91"; sha256 = "ad28e7311b2023391f2278b7649828decdd9d9599848e18845eb4ab1b2d01936";
}; };
preConfigure = '' preConfigure = ''

View File

@ -10,14 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jc"; pname = "jc";
version = "1.17.6"; version = "1.18.1";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kellyjonbrazil"; owner = "kellyjonbrazil";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-JWipvhMsVI/AX7Pj4iHJh5GIgfwGLc7s1hZZJnsYGIw="; sha256 = "0xzx32fnm39w916z8wm387ry480rbf7n9qppc18bjdv4jjwgf2rw";
}; };
propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ]; propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];

View File

@ -1,17 +1,38 @@
{ lib, buildPythonPackage, fetchPypi }: { lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "jsmin"; pname = "jsmin";
version = "3.0.1"; version = "3.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc"; sha256 = "c0959a121ef94542e807a674142606f7e90214a2b3d1eb17300244bbb5cc2bfc";
}; };
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"jsmin/test.py"
];
pythonImportsCheck = [
"jsmin"
];
meta = with lib; { meta = with lib; {
description = "JavaScript minifier"; description = "JavaScript minifier";
homepage = "https://github.com/tikitu/jsmin/"; homepage = "https://github.com/tikitu/jsmin/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ];
}; };
} }

View File

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mattermostdriver"; pname = "mattermostdriver";
version = "7.3.1"; version = "7.3.2";
disabled = pythonOlder "3.5"; disabled = pythonOlder "3.5";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "bf629c4b8f825bd7196208aa93995ac5077bd60939ba67cca314a7f13c1dbcea"; sha256 = "2e4d7b4a17d3013e279c6f993746ea18cd60b45d8fa3be24f47bc2de22b9b3b4";
}; };
propagatedBuildInputs = [ websockets requests ]; propagatedBuildInputs = [ websockets requests ];

View File

@ -1,16 +1,17 @@
{ buildPythonPackage { lib
, buildPythonPackage
, fetchPypi , fetchPypi
, python , python
, lib
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pydal"; pname = "pydal";
version = "20210626.3"; version = "20220114.1";
format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "043s52b7srqwwmj7rh783arqryilmv3m8dmmg9bn5sjgfi004jn4"; sha256 = "8c872f1fd6759eef497d72cf33fe57537be86ccf23515bd47e1f8a04d862236e";
}; };
postPatch = '' postPatch = ''
@ -33,10 +34,10 @@ buildPythonPackage rec {
runHook postCheck runHook postCheck
''; '';
meta = { meta = with lib; {
description = "A pure Python Database Abstraction Layer"; description = "Python Database Abstraction Layer";
homepage = "https://github.com/web2py/pydal"; homepage = "https://github.com/web2py/pydal";
license = with lib.licenses; [ bsd3 ] ; license = with licenses; [ bsd3 ] ;
maintainers = with lib.maintainers; [ wamserma ]; maintainers = with maintainers; [ wamserma ];
}; };
} }

View File

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pymsteams"; pname = "pymsteams";
version = "0.2.0"; version = "0.2.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "rveachkc"; owner = "rveachkc";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "1q4fm9dwnx5cy8r6gfzbn2f05hacpjfqlsgcyf2cv56wzb9rrg8v"; sha256 = "03lna3p8qkmsmaz2nzl76dnz6rci08wsybvr151zl8wwpjdj1sam";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View File

@ -12,22 +12,21 @@
, pandas , pandas
, pathos , pathos
, packaging , packaging
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sagemaker"; pname = "sagemaker";
version = "2.72.2"; version = "2.73.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7bc62eb713d6b2e72bf4b5635e2b1d18790f08ebd80cc9f380b5ba3a5000e727"; sha256 = "6735874a29aefc1e989a132a2e24945e5b0d057d8b297a2da695cf8421a78810";
}; };
pythonImportsCheck = [
"sagemaker"
"sagemaker.lineage.visualizer"
];
propagatedBuildInputs = [ propagatedBuildInputs = [
attrs attrs
boto3 boto3
@ -42,12 +41,17 @@ buildPythonPackage rec {
pandas pandas
]; ];
doCheck = false;
postFixup = '' postFixup = ''
[ "$($out/bin/sagemaker-upgrade-v2 --help 2>&1 | grep -cim1 'pandas failed to import')" -eq "0" ] [ "$($out/bin/sagemaker-upgrade-v2 --help 2>&1 | grep -cim1 'pandas failed to import')" -eq "0" ]
''; '';
doCheck = false;
pythonImportsCheck = [
"sagemaker"
"sagemaker.lineage.visualizer"
];
meta = with lib; { meta = with lib; {
description = "Library for training and deploying machine learning models on Amazon SageMaker"; description = "Library for training and deploying machine learning models on Amazon SageMaker";
homepage = "https://github.com/aws/sagemaker-python-sdk/"; homepage = "https://github.com/aws/sagemaker-python-sdk/";

View File

@ -0,0 +1,62 @@
{ lib
, stdenv
, libsigrok
, toPythonModule
, python
, autoreconfHook
, pythonImportsCheckHook
, pythonCatchConflictsHook
, swig
, setuptools
, numpy
, pygobject3
}:
# build libsigrok plus its Python bindings. Unfortunately it does not appear
# to be possible to build them separately, at least not easily.
toPythonModule ((libsigrok.override {
inherit python;
}).overrideAttrs (orig: {
pname = "${python.libPrefix}-sigrok";
patches = orig.patches or [] ++ [
# Makes libsigrok install the bindings into site-packages properly (like
# we expect) instead of making a version-specific *.egg subdirectory.
./python-install.patch
];
nativeBuildInputs = orig.nativeBuildInputs or [] ++ [
autoreconfHook
setuptools
swig
numpy
] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform) [
pythonImportsCheckHook
pythonCatchConflictsHook
];
buildInputs = orig.buildInputs or [] ++ [
pygobject3 # makes headers available the configure script checks for
];
propagatedBuildInputs = orig.propagatedBuildInputs or [] ++ [
pygobject3
numpy
];
postInstall = ''
${orig.postInstall or ""}
# for pythonImportsCheck
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
'';
pythonImportsCheck = [ "sigrok" "sigrok.core" ];
meta = orig.meta // {
description = "Python bindings for libsigrok";
maintainers = orig.meta.maintainers ++ [
lib.maintainers.sternenseemann
];
};
}))

View File

@ -0,0 +1,16 @@
diff --git a/Makefile.am b/Makefile.am
index 280cf64d..e10eb79f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -888,8 +888,9 @@ $(PDIR)/timestamp: $(PDIR)/sigrok/core/classes.i \
python-install:
$(AM_V_at)$(MKDIR_P) "$(DESTDIR)$(prefix)" "$(DESTDIR)$(exec_prefix)"
- destdir='$(DESTDIR)'; $(setup_py) install $${destdir:+"--root=$$destdir"} \
- --prefix "$(prefix)" --exec-prefix "$(exec_prefix)"
+ destdir='$(DESTDIR)'; $(setup_py) install --root=$${destdir:-/} \
+ --prefix "$(prefix)" --exec-prefix "$(exec_prefix)" \
+ --single-version-externally-managed
python-clean:
-$(AM_V_at)rm -f $(PDIR)/timestamp

View File

@ -1,22 +1,36 @@
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, isPy3k, regex }: { lib
, stdenv
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, regex
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "SoMaJo"; pname = "somajo";
version = "2.1.6"; version = "2.2.0";
disabled = !isPy3k; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tsproisl"; owner = "tsproisl";
repo = pname; repo = "SoMaJo";
rev = "v${version}"; rev = "v${version}";
sha256 = "1q88x05729qdnl1gbahisjk3s97wha0b5dj3n63kq2qyvyy0929s"; sha256 = "0ywdh1pfk0pgm64p97i9cwz0h9wggbp4shxp5l7kkqs2n2v5c6qg";
}; };
propagatedBuildInputs = [ regex ]; propagatedBuildInputs = [
regex
];
# loops forever # loops forever
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
pythonImportsCheck = [
"somajo"
];
meta = with lib; { meta = with lib; {
description = "Tokenizer and sentence splitter for German and English web texts"; description = "Tokenizer and sentence splitter for German and English web texts";
homepage = "https://github.com/tsproisl/SoMaJo"; homepage = "https://github.com/tsproisl/SoMaJo";

View File

@ -7,11 +7,7 @@
, pandas , pandas
, dask , dask
, distributed , distributed
, coverage , pytestCheckHook
, flake8
, black
, pytest
, codecov
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -35,18 +31,9 @@ buildPythonPackage rec {
pandas pandas
dask dask
distributed distributed
coverage pytestCheckHook
flake8
black
pytest
codecov
]; ];
# ignore changed numpy operations
checkPhase = ''
pytest -k 'not allc'
'';
meta = with lib; { meta = with lib; {
description = "A powerful and scalable library that can be used for a variety of time series data mining tasks"; description = "A powerful and scalable library that can be used for a variety of time series data mining tasks";
homepage = "https://github.com/TDAmeritrade/stumpy"; homepage = "https://github.com/TDAmeritrade/stumpy";

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check { lib, stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check
, libserialport, librevisa, doxygen, glibmm, python3 , libserialport, librevisa, doxygen, glibmm, python
, version ? "0.5.1", sha256 ? "171b553dir5gn6w4f7n37waqk62nq2kf1jykx4ifjacdz5xdw3z4", doInstallCheck ? true , version ? "0.5.1", sha256 ? "171b553dir5gn6w4f7n37waqk62nq2kf1jykx4ifjacdz5xdw3z4", doInstallCheck ? true
}: }:
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "14sd8xqph4kb109g073daiavpadb20fcz7ch1ipn0waz7nlly4sw"; sha256 = "14sd8xqph4kb109g073daiavpadb20fcz7ch1ipn0waz7nlly4sw";
}; };
nativeBuildInputs = [ doxygen pkg-config python3 ]; nativeBuildInputs = [ doxygen pkg-config python ];
buildInputs = [ libzip glib libusb1 libftdi1 check libserialport librevisa glibmm ]; buildInputs = [ libzip glib libusb1 libftdi1 check libserialport librevisa glibmm ];
strictDeps = true; strictDeps = true;

View File

@ -1,5 +1,6 @@
{ lib { lib
, stdenv , stdenv
, stdenv_32bit
, fetchurl , fetchurl
, unzip , unzip
, autoconf , autoconf
@ -10,10 +11,18 @@
, jbigkit , jbigkit
, glib , glib
, gtk3 , gtk3
, gdk-pixbuf
, pango
, cairo
, coreutils
, atk
, pkg-config , pkg-config
, gnome2 , gnome2
, libxml2 , libxml2
, runtimeShell
, proot
, ghostscript , ghostscript
, pkgs
, pkgsi686Linux , pkgsi686Linux
, zlib , zlib
}: }:
@ -21,6 +30,12 @@
let let
i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { }; i686_NIX_GCC = pkgsi686Linux.callPackage ({ gcc }: gcc) { };
ld32 =
if stdenv.hostPlatform.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32"
else if stdenv.hostPlatform.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker"
else throw "Unsupported platform for Canon UFR2 Drivers: ${stdenv.hostPlatform.system}";
ld64 = "${stdenv.cc}/nix-support/dynamic-linker";
libs = pkgs: lib.makeLibraryPath buildInputs;
version = "5.40"; version = "5.40";
dl = "6/0100009236/10"; dl = "6/0100009236/10";
@ -31,10 +46,12 @@ let
sha256 = "sha256:069z6ijmql62mcdyxnzc9mf0dxa6z1107cd0ab4i1adk8kr3d75k"; sha256 = "sha256:069z6ijmql62mcdyxnzc9mf0dxa6z1107cd0ab4i1adk8kr3d75k";
}; };
buildInputs = [ cups zlib jbigkit glib gtk3 pkg-config gnome2.libglade libxml2 gdk-pixbuf pango cairo atk ];
in in
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "canon-cups-ufr2"; pname = "canon-cups-ufr2";
inherit version; inherit version;
src = src_canon; src = src_canon;
@ -59,7 +76,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 ]; nativeBuildInputs = [ makeWrapper unzip autoconf automake libtool_1_5 ];
buildInputs = [ cups zlib jbigkit glib gtk3 pkg-config gnome2.libglade libxml2 ]; inherit buildInputs;
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
@ -78,6 +95,9 @@ stdenv.mkDerivation {
cd cnrdrvcups-lb-${version} cd cnrdrvcups-lb-${version}
./allgen.sh ./allgen.sh
make install make install
mkdir -p $out/share/cups/model
install -m 644 ppd/*.ppd $out/share/cups/model/
) )
( (
cd lib cd lib
@ -111,7 +131,7 @@ stdenv.mkDerivation {
install -m 755 libs64/intel/cnpkbidir $out/bin install -m 755 libs64/intel/cnpkbidir $out/bin
install -m 755 libs64/intel/cnpkmoduleufr2r $out/bin install -m 755 libs64/intel/cnpkmoduleufr2r $out/bin
install -m 755 libs64/intel/cnrsdrvufr2 $out/bin install -m 755 libs64/intel/cnrsdrvufr2 $out/bin
install -m 755 libs64/intel/cnsetuputil2 $out/bin install -m 755 libs64/intel/cnsetuputil2 $out/bin/cnsetuputil2
mkdir -p $out/share/cnpkbidir mkdir -p $out/share/cnpkbidir
install -m 644 libs64/intel/cnpkbidir_info* $out/share/cnpkbidir install -m 644 libs64/intel/cnpkbidir_info* $out/share/cnpkbidir
@ -123,27 +143,47 @@ stdenv.mkDerivation {
( (
cd $out/lib32 cd $out/lib32
ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so
ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so.1
ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so
ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so.1 ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so.1
ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so
ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so.1 ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so.1
ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so
ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so.1 ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so.1
patchelf --set-rpath "$(cat ${i686_NIX_GCC}/nix-support/orig-cc)/lib:${libs pkgsi686Linux}:${stdenv_32bit.glibc.out}/lib:${pkgsi686Linux.libxml2.out}/lib:$out/lib32" libcanonufr2r.so.1.0.0
patchelf --set-rpath "$(cat ${i686_NIX_GCC}/nix-support/orig-cc)/lib:${libs pkgsi686Linux}:${stdenv_32bit.glibc.out}/lib" libcaepcmufr2.so.1.0
patchelf --set-rpath "$(cat ${i686_NIX_GCC}/nix-support/orig-cc)/lib:${libs pkgsi686Linux}:${stdenv_32bit.glibc.out}/lib" libColorGearCufr2.so.2.0.0
) )
( (
cd $out/lib cd $out/lib
ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so
ln -sf libcaepcmufr2.so.1.0 libcaepcmufr2.so.1
ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so
ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so.1 ln -sf libcaiowrapufr2.so.1.0.0 libcaiowrapufr2.so.1
ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so
ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so.1 ln -sf libcanon_slimufr2.so.1.0.0 libcanon_slimufr2.so.1
ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so
ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so.1 ln -sf libufr2filterr.so.1.0.0 libufr2filterr.so.1
patchelf --set-rpath "$(cat $NIX_CC/nix-support/orig-cc)/lib:${libs pkgs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64:$out/lib" libcanonufr2r.so.1.0.0
patchelf --set-rpath "$(cat $NIX_CC/nix-support/orig-cc)/lib:${libs pkgs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" libcaepcmufr2.so.1.0
patchelf --set-rpath "$(cat $NIX_CC/nix-support/orig-cc)/lib:${libs pkgs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" libColorGearCufr2.so.2.0.0
) )
# Perhaps patch the lib64 version as well??? (
patchelf --set-rpath "$(cat ${i686_NIX_GCC}/nix-support/orig-cc)/lib" $out/lib32/libColorGearCufr2.so.2.0.0 cd $out/bin
patchelf --set-interpreter "$(cat ${ld64})" --set-rpath "${lib.makeLibraryPath buildInputs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" cnsetuputil2
patchelf --set-interpreter "$(cat ${ld64})" --set-rpath "${lib.makeLibraryPath buildInputs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64" cnpdfdrv
patchelf --set-interpreter "$(cat ${ld64})" --set-rpath "${lib.makeLibraryPath buildInputs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64:$out/lib" cnpkbidir
patchelf --set-interpreter "$(cat ${ld64})" --set-rpath "${lib.makeLibraryPath buildInputs}:${stdenv.cc.cc.lib}/lib64:${stdenv.glibc.out}/lib64:$out/lib" cnrsdrvufr2
mv cnsetuputil2 cnsetuputil2.wrapped
echo "#!${runtimeShell} -e" > cnsetuputil2
echo "exec ${proot}/bin/proot -b $out/usr/share/cnsetuputil2:/usr/share/cnsetuputil2 -b ${coreutils}/bin/ls:/bin/ls -b ${cups}/share:/usr/share/cups $out/bin/cnsetuputil2.wrapped" > cnsetuputil2
chmod +x cnsetuputil2
)
( (
cd lib/data/ufr2 cd lib/data/ufr2
@ -154,8 +194,11 @@ stdenv.mkDerivation {
install -m 644 CnLB* $out/share/caepcm install -m 644 CnLB* $out/share/caepcm
) )
mkdir -p $out/share/cups/model (
install -m 644 cnrdrvcups-lb-${version}/ppd/*.ppd $out/share/cups/model/ cd cnrdrvcups-utility-${version}/data
mkdir -p $out/usr/share/cnsetuputil2
install -m 644 cnsetuputil* $out/usr/share/cnsetuputil2
)
makeWrapper "${ghostscript}/bin/gs" "$out/bin/gs" \ makeWrapper "${ghostscript}/bin/gs" "$out/bin/gs" \
--prefix LD_LIBRARY_PATH ":" "$out/lib" \ --prefix LD_LIBRARY_PATH ":" "$out/lib" \

View File

@ -8,7 +8,6 @@
, cmake , cmake
, curl , curl
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, ffmpeg , ffmpeg
, fluidsynth , fluidsynth
, gettext , gettext
@ -56,7 +55,7 @@ let
, license , license
, src ? (getCoreSrc core) , src ? (getCoreSrc core)
, broken ? false , broken ? false
, version ? "unstable-2021-12-06" , version ? "unstable-2022-01-21"
, platforms ? retroarch.meta.platforms , platforms ? retroarch.meta.platforms
# The resulting core file is based on core name # The resulting core file is based on core name
# Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename # Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename
@ -245,14 +244,6 @@ in
description = "Port of bsnes to libretro"; description = "Port of bsnes to libretro";
license = lib.licenses.gpl3Only; license = lib.licenses.gpl3Only;
makefile = "Makefile"; makefile = "Makefile";
# https://github.com/libretro/bsnes-libretro/issues/10
patches = [
(fetchpatch {
name = "added-missing-GB_VERSION-define.patch";
url = "https://github.com/nE0sIghT/bsnes-libretro/commit/97fd8b486f9a9046277a580b238b6673a98f7f72.patch";
sha256 = "sha256-gCiy6sqc9sixT6Appr5ZCfHyBE2jYhPb0KvI63nfmEc=";
})
];
}; };
bsnes-hd = bsnes-hd =
@ -322,6 +313,24 @@ in
postBuild = "cd src/citra_libretro"; postBuild = "cd src/citra_libretro";
}; };
citra-canary = mkLibRetroCore {
core = "citra-canary";
description = "Port of Citra Canary/Experimental to libretro";
license = lib.licenses.gpl2Plus;
extraNativeBuildInputs = [ cmake pkg-config ];
extraBuildInputs = [ libGLU libGL boost ];
makefile = "Makefile";
cmakeFlags = [
"-DENABLE_LIBRETRO=ON"
"-DENABLE_QT=OFF"
"-DENABLE_SDL2=OFF"
"-DENABLE_WEB_SERVICE=OFF"
"-DENABLE_DISCORD_PRESENCE=OFF"
];
preConfigure = "sed -e '77d' -i externals/cmake-modules/GetGitRevisionDescription.cmake";
postBuild = "cd src/citra_libretro";
};
desmume = mkLibRetroCore { desmume = mkLibRetroCore {
core = "desmume"; core = "desmume";
description = "libretro wrapper for desmume NDS emulator"; description = "libretro wrapper for desmume NDS emulator";
@ -865,6 +874,7 @@ in
"-DBUILD_SDL=OFF" "-DBUILD_SDL=OFF"
"-DBUILD_SOKOL=OFF" "-DBUILD_SOKOL=OFF"
]; ];
preConfigure = "cd core";
postBuild = "cd lib"; postBuild = "cd lib";
}; };

View File

@ -1,6 +1,7 @@
{ lib { lib
, stdenv , stdenv
, enableNvidiaCgToolkit ? false , enableNvidiaCgToolkit ? false
, withGamemode ? stdenv.isLinux
, withVulkan ? stdenv.isLinux , withVulkan ? stdenv.isLinux
, alsa-lib , alsa-lib
, AppKit , AppKit
@ -8,6 +9,7 @@
, ffmpeg , ffmpeg
, Foundation , Foundation
, freetype , freetype
, gamemode
, libdrm , libdrm
, libGL , libGL
, libGLU , libGLU
@ -26,23 +28,22 @@
, pkg-config , pkg-config
, python3 , python3
, SDL2 , SDL2
, substituteAll
, udev , udev
, vulkan-loader , vulkan-loader
, wayland , wayland
, which , which
}: }:
with lib;
let let
version = "1.9.14"; version = "1.10.0";
libretroSuperSrc = fetchFromGitHub { libretroCoreInfo = fetchFromGitHub {
owner = "libretro"; owner = "libretro";
repo = "libretro-core-info"; repo = "libretro-core-info";
sha256 = "sha256-C2PiBcN5r9NDxFWFE1pytSGR1zq9E5aVt6QUf5aJ7I0="; sha256 = "sha256-3j7fvcfbgyk71MmbUUKYi+/0cpQFNbYXO+DMDUjDqkQ=";
rev = "v${version}"; rev = "v${version}";
}; };
runtimeLibs = lib.optional withVulkan vulkan-loader
++ lib.optional withGamemode gamemode.lib;
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "retroarch-bare"; pname = "retroarch-bare";
@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libretro"; owner = "libretro";
repo = "RetroArch"; repo = "RetroArch";
sha256 = "sha256-H2fCA1sM8FZfVnLxBjnKe7RjHJNAn/Antxlos5oFFSY="; sha256 = "sha256-bpTSzODVRKRs1OW6JafjbU3e/AqdQeGzWcg1lb9SIyo=";
rev = "v${version}"; rev = "v${version}";
}; };
@ -70,46 +71,49 @@ stdenv.mkDerivation rec {
''; '';
nativeBuildInputs = [ pkg-config ] ++ nativeBuildInputs = [ pkg-config ] ++
optional stdenv.isLinux wayland ++ lib.optional stdenv.isLinux wayland ++
optional withVulkan makeWrapper; lib.optional (runtimeLibs != [ ]) makeWrapper;
buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ] ++ buildInputs = [ ffmpeg freetype libxml2 libGLU libGL python3 SDL2 which ] ++
optional enableNvidiaCgToolkit nvidia_cg_toolkit ++ lib.optional enableNvidiaCgToolkit nvidia_cg_toolkit ++
optional withVulkan vulkan-loader ++ lib.optional withVulkan vulkan-loader ++
optionals stdenv.isDarwin [ libobjc AppKit Foundation ] ++ lib.optionals stdenv.isDarwin [ libobjc AppKit Foundation ] ++
optionals stdenv.isLinux [ lib.optionals stdenv.isLinux [
alsa-lib alsa-lib
libdrm
libpulseaudio
libv4l
libX11 libX11
libXdmcp libXdmcp
libXext libXext
libXxf86vm libXxf86vm
libdrm
libpulseaudio
libv4l
libxkbcommon
mesa mesa
udev udev
wayland wayland
libxkbcommon
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;
configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ]; configureFlags = lib.optionals stdenv.isLinux [ "--enable-kms" "--enable-egl" ];
postInstall = optionalString withVulkan '' postInstall = ''
mkdir -p $out/share/libretro/info mkdir -p $out/share/libretro/info
# TODO: ideally each core should have its own core information # TODO: ideally each core should have its own core information
cp -r ${libretroSuperSrc}/* $out/share/libretro/info cp -r ${libretroCoreInfo}/* $out/share/libretro/info
wrapProgram $out/bin/retroarch --prefix LD_LIBRARY_PATH ':' ${vulkan-loader}/lib '' + lib.optionalString (runtimeLibs != [ ]) ''
wrapProgram $out/bin/retroarch \
--prefix LD_LIBRARY_PATH ':' ${lib.makeLibraryPath runtimeLibs}
''; '';
preFixup = "rm $out/bin/retroarch-cg2glsl"; preFixup = "rm $out/bin/retroarch-cg2glsl";
meta = { meta = with lib; {
homepage = "https://libretro.com"; homepage = "https://libretro.com";
description = "Multi-platform emulator frontend for libretro cores"; description = "Multi-platform emulator frontend for libretro cores";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
platforms = platforms.unix; platforms = platforms.unix;
changelog = "https://github.com/libretro/RetroArch/blob/v${version}/CHANGES.md";
maintainers = with maintainers; [ MP2E edwtjo matthewbauer kolbycrouch thiagokokada ]; maintainers = with maintainers; [ MP2E edwtjo matthewbauer kolbycrouch thiagokokada ];
# FIXME: exits with error on macOS: # FIXME: exits with error on macOS:
# No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting # No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting

View File

@ -3,120 +3,103 @@
"owner": "libretro", "owner": "libretro",
"repo": "libretro-atari800", "repo": "libretro-atari800",
"rev": "478a8ec99a7f8436a39d5ac193c5fe313233ee7b", "rev": "478a8ec99a7f8436a39d5ac193c5fe313233ee7b",
"sha256": "LJpRegJVR2+sS1UmTTpVest0rMrNDBMXmj/jRFVglWI=", "sha256": "LJpRegJVR2+sS1UmTTpVest0rMrNDBMXmj/jRFVglWI="
"fetchSubmodules": false
}, },
"beetle-gba": { "beetle-gba": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-gba-libretro", "repo": "beetle-gba-libretro",
"rev": "38182572571a48cb58057cde64b915237c4e2d58", "rev": "38182572571a48cb58057cde64b915237c4e2d58",
"sha256": "4xnXWswozlcXBNI1lbGSNW/gAdIeLLO9Bf1SxOFLhSo=", "sha256": "4xnXWswozlcXBNI1lbGSNW/gAdIeLLO9Bf1SxOFLhSo="
"fetchSubmodules": false
}, },
"beetle-lynx": { "beetle-lynx": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-lynx-libretro", "repo": "beetle-lynx-libretro",
"rev": "24ca629d50de752861684a83cc9bcee96313f9e1", "rev": "8930e88a4342945c023cbf713031a65de11a8e75",
"sha256": "LPt3JT0lyKK73yNIxvR1eUuzOkLKa8IkRA4cchhfljA=", "sha256": "bg/a+9ZJNTUIuEHKrFIss8sia3JWMWXIXbxha5qKVeI="
"fetchSubmodules": false
}, },
"beetle-ngp": { "beetle-ngp": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-ngp-libretro", "repo": "beetle-ngp-libretro",
"rev": "f7c393184e5228c3d3807ee74c951c4c549107d8", "rev": "f7c393184e5228c3d3807ee74c951c4c549107d8",
"sha256": "7vki8VkwOzxwMZcUxekg1DFSskV7VNQ1SRaU3M1xHZ0=", "sha256": "7vki8VkwOzxwMZcUxekg1DFSskV7VNQ1SRaU3M1xHZ0="
"fetchSubmodules": false
}, },
"beetle-pce-fast": { "beetle-pce-fast": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-pce-fast-libretro", "repo": "beetle-pce-fast-libretro",
"rev": "6f63eab86abab335c1e337d4e8c1582bceda5708", "rev": "0f43fd4dc406e7da6bbdc13b6eb1c105d6072f8a",
"sha256": "QRw7FDd7rOTsTW4qGr2isvFHmobz7GgXUt84q0x2S/c=", "sha256": "u1lOgXEYuGAF4sOLdsBzcA4/A5Yz1b82TjFBiM57yE4="
"fetchSubmodules": false
}, },
"beetle-pcfx": { "beetle-pcfx": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-pcfx-libretro", "repo": "beetle-pcfx-libretro",
"rev": "6d2b11e17ad5a95907c983e7c8a70e75508c2d41", "rev": "6d2b11e17ad5a95907c983e7c8a70e75508c2d41",
"sha256": "WG2YpCYdL/MxW5EbiP2+1VtAjbX7yYDIcLXhb+YySI4=", "sha256": "WG2YpCYdL/MxW5EbiP2+1VtAjbX7yYDIcLXhb+YySI4="
"fetchSubmodules": false
}, },
"beetle-psx": { "beetle-psx": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-psx-libretro", "repo": "beetle-psx-libretro",
"rev": "39be47bc9958258cf3b6f3c68d9485ea99971cf8", "rev": "297970e4ff080ea80a5670209aeea4fde8059020",
"sha256": "q6aKSfG1A2AV2MppZFujDwqqZu26R7b0t9KyAETQTyU=", "sha256": "6kZher3/+5ywXyC3n9R9JVA4IVLZBaSfAcWEKp2SsDE="
"fetchSubmodules": false
}, },
"beetle-saturn": { "beetle-saturn": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-saturn-libretro", "repo": "beetle-saturn-libretro",
"rev": "e6ba71f8bcc647b646d94dec812b24d00c41cf3f", "rev": "e6ba71f8bcc647b646d94dec812b24d00c41cf3f",
"sha256": "tDbV+CsDr4bowBbJ/C8J9scfCryTAXxz58pGaUHU5yU=", "sha256": "tDbV+CsDr4bowBbJ/C8J9scfCryTAXxz58pGaUHU5yU="
"fetchSubmodules": false
}, },
"beetle-snes": { "beetle-snes": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-bsnes-libretro", "repo": "beetle-bsnes-libretro",
"rev": "bc867656d7438aaffc6818b3b92350587bc78a47", "rev": "bc867656d7438aaffc6818b3b92350587bc78a47",
"sha256": "TyUCRGK+uyXowDjXW9/4m+zL8Vh/3GGsX1eznrTCbAg=", "sha256": "TyUCRGK+uyXowDjXW9/4m+zL8Vh/3GGsX1eznrTCbAg="
"fetchSubmodules": false
}, },
"beetle-supergrafx": { "beetle-supergrafx": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-supergrafx-libretro", "repo": "beetle-supergrafx-libretro",
"rev": "cd800d701f0b8f4dcb1654a5cb5b24ee09dd9257", "rev": "7bae6fb1a238f1e66b129c7c70c7cb6dbdc09fa1",
"sha256": "vnskn2+65cKQjaXO9GJnKNppi8TWHUO+uZdt2BYGN9Y=", "sha256": "OAJ86XrwjDrgCjrk0RHMn8sHYaJFhJhLaQnhaEVXN38="
"fetchSubmodules": false
}, },
"beetle-vb": { "beetle-vb": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-vb-libretro", "repo": "beetle-vb-libretro",
"rev": "aa77198c6c60b935503b5ea2149b8ff7598344da", "rev": "aa77198c6c60b935503b5ea2149b8ff7598344da",
"sha256": "ShsMYc2vjDoiN1yCCoSl91P5ecYJDj/V+VWUYuYVxas=", "sha256": "ShsMYc2vjDoiN1yCCoSl91P5ecYJDj/V+VWUYuYVxas="
"fetchSubmodules": false
}, },
"beetle-wswan": { "beetle-wswan": {
"owner": "libretro", "owner": "libretro",
"repo": "beetle-wswan-libretro", "repo": "beetle-wswan-libretro",
"rev": "ea00c1d8eb9894538dd8758975cd9d6ae99ead1e", "rev": "5717c101b314f64d4c384c23b1934d09fcbf82bb",
"sha256": "0ptDbq3X8EGNwPePr4H0VQkgmXXIP50dNpITX8DX6w8=", "sha256": "Nfezb6hja1qHv1fMGU9HMbbb56GHAfe/zIgRqrzz334="
"fetchSubmodules": false
}, },
"blastem": { "blastem": {
"owner": "libretro", "owner": "libretro",
"repo": "blastem", "repo": "blastem",
"rev": "0786858437ed71996f43b7af0fbe627eb88152fc", "rev": "0786858437ed71996f43b7af0fbe627eb88152fc",
"sha256": "uEP5hSgLAle1cLv/EM7D11TJMAggu7pqWxfrUt3rhEg=", "sha256": "uEP5hSgLAle1cLv/EM7D11TJMAggu7pqWxfrUt3rhEg="
"fetchSubmodules": false
}, },
"bluemsx": { "bluemsx": {
"owner": "libretro", "owner": "libretro",
"repo": "bluemsx-libretro", "repo": "bluemsx-libretro",
"rev": "cfc1df4d026387883f21994bcce603c4a6be8730", "rev": "5dfdb75106e10ef8bc21b8bcea1432ecbd590b2a",
"sha256": "ix/AyYNer1R73ZJW1reXyj7geBr3ThrqXf5Ki5yrz9A=", "sha256": "0D0xufIt3qmQ+/UjyWynoLyLDSza8cTrFp3UwGWBXko="
"fetchSubmodules": false
}, },
"bsnes": { "bsnes": {
"owner": "libretro", "owner": "libretro",
"repo": "bsnes-libretro", "repo": "bsnes-libretro",
"rev": "44d97b17d06a10ae17d97a91a48e5acd10ec6db4", "rev": "1b2987ab1e9caf5c8d7550da01ffa08edff2f128",
"sha256": "VNSeTRryrX2/V38GGXTRLuDEQqDUmX2DUOHAKLxJezU=", "sha256": "l6Jvn0ZgFaKSWjiV2bN9aemxLyfnNEQFc+HS1/MuiaY="
"fetchSubmodules": false
}, },
"bsnes-hd": { "bsnes-hd": {
"owner": "DerKoun", "owner": "DerKoun",
"repo": "bsnes-hd", "repo": "bsnes-hd",
"rev": "65f24e56c37f46bb752190024bd4058e64ad77d1", "rev": "65f24e56c37f46bb752190024bd4058e64ad77d1",
"sha256": "1dk2i71NOLeTTOZjVll8wrkr5dIH5bGSGUeeHqWjZHE=", "sha256": "1dk2i71NOLeTTOZjVll8wrkr5dIH5bGSGUeeHqWjZHE="
"fetchSubmodules": false
}, },
"bsnes-mercury": { "bsnes-mercury": {
"owner": "libretro", "owner": "libretro",
"repo": "bsnes-mercury", "repo": "bsnes-mercury",
"rev": "d232c6ea90552f5921fec33a06626f08d3e18b24", "rev": "d232c6ea90552f5921fec33a06626f08d3e18b24",
"sha256": "fpl7hmqz+Ca+9ZeM6E1JSikbiu+NJUU8xXtyl6Dd9Gg=", "sha256": "fpl7hmqz+Ca+9ZeM6E1JSikbiu+NJUU8xXtyl6Dd9Gg="
"fetchSubmodules": false
}, },
"citra": { "citra": {
"owner": "libretro", "owner": "libretro",
@ -127,438 +110,390 @@
"leaveDotGit": true, "leaveDotGit": true,
"deepClone": true "deepClone": true
}, },
"citra-canary": {
"owner": "libretro",
"repo": "citra",
"rev": "5401990a9be46e4497abc92db3d5f2042674303d",
"sha256": "JKKJBa840i7ESwMrB5tKamCBmrYvvoEUdibqxkWg5Gc=",
"fetchSubmodules": true,
"leaveDotGit": true,
"deepClone": true
},
"desmume": { "desmume": {
"owner": "libretro", "owner": "libretro",
"repo": "desmume", "repo": "desmume",
"rev": "7ea0fc96804fcd9c8d33e8f76cf64b1be50cc5ea", "rev": "7ea0fc96804fcd9c8d33e8f76cf64b1be50cc5ea",
"sha256": "4S/CirRVOBN6PVbato5X5fu0tBn3Fu5FEAbdf3TBqng=", "sha256": "4S/CirRVOBN6PVbato5X5fu0tBn3Fu5FEAbdf3TBqng="
"fetchSubmodules": false
}, },
"desmume2015": { "desmume2015": {
"owner": "libretro", "owner": "libretro",
"repo": "desmume2015", "repo": "desmume2015",
"rev": "cd89fb7c48c735cb321311fbce7e6e9889dda1ce", "rev": "cd89fb7c48c735cb321311fbce7e6e9889dda1ce",
"sha256": "9Ou/n6pxRjJOp/Ybpyg4+Simosj2X26kLZCMEqeVL6U=", "sha256": "9Ou/n6pxRjJOp/Ybpyg4+Simosj2X26kLZCMEqeVL6U="
"fetchSubmodules": false
}, },
"dolphin": { "dolphin": {
"owner": "libretro", "owner": "libretro",
"repo": "dolphin", "repo": "dolphin",
"rev": "48066c84560322219be4080bca125cc03d48f411", "rev": "3b19e6d1781584f3e1fd2922b48b8ae6b3bcb686",
"sha256": "IPKcqges/BX6KFQSirLpmsI2+7/cjcrySK+YWaA1cuo=", "sha256": "EcgJhkMzdZfYRwSpU1OcsJqQyq4V8dq5PndVufZFy7k="
"fetchSubmodules": false
}, },
"dosbox": { "dosbox": {
"owner": "libretro", "owner": "libretro",
"repo": "dosbox-libretro", "repo": "dosbox-libretro",
"rev": "aa71b67d54eaaf9e41cdd3cb5153d9cff0ad116e", "rev": "aa71b67d54eaaf9e41cdd3cb5153d9cff0ad116e",
"sha256": "L0Y67UROjldnXUlLQ+Xbd7RHLb96jDxlB/k+LR9Kbas=", "sha256": "L0Y67UROjldnXUlLQ+Xbd7RHLb96jDxlB/k+LR9Kbas="
"fetchSubmodules": false
}, },
"eightyone": { "eightyone": {
"owner": "libretro", "owner": "libretro",
"repo": "81-libretro", "repo": "81-libretro",
"rev": "7e8153cd5b88cd5cb23fb0c03c04e7c7d8a73159", "rev": "86d7d5afe98f16006d4b1fdb99d281f1d7ea6b2f",
"sha256": "Y+RU3T4qUmV44IZ5OBNhtC+f/DX6njOCF0tsl8MN4qM=", "sha256": "QN7anzqv1z8SgY8dlkjr8Ns7reGWc7hTneiRmorXZSk="
"fetchSubmodules": false
}, },
"fbalpha2012": { "fbalpha2012": {
"owner": "libretro", "owner": "libretro",
"repo": "fbalpha2012", "repo": "fbalpha2012",
"rev": "23f98fc7cf4f2f216149c263cf5913d2e28be8d4", "rev": "23f98fc7cf4f2f216149c263cf5913d2e28be8d4",
"sha256": "dAInW6tTV7oXcPhKMnHWcmQaWQCTqRrYHD2yuaI1I1w=", "sha256": "dAInW6tTV7oXcPhKMnHWcmQaWQCTqRrYHD2yuaI1I1w="
"fetchSubmodules": false
}, },
"fbneo": { "fbneo": {
"owner": "libretro", "owner": "libretro",
"repo": "fbneo", "repo": "fbneo",
"rev": "8e9f73ab28fc6176f0bde53eac0f0b561b065e16", "rev": "4ecf2782a4eee042d1e126d1671e5231b6437b6e",
"sha256": "gv1Yuo0wFB6MmCtnajM71EK2GEzd5X29VYY2yFcB6Uk=", "sha256": "15MYI03r45mmRsXCwzWnjfBdtzSaHLp7DfmcACQFTvU="
"fetchSubmodules": false
}, },
"fceumm": { "fceumm": {
"owner": "libretro", "owner": "libretro",
"repo": "libretro-fceumm", "repo": "libretro-fceumm",
"rev": "02b5bbf26981b5ae0da81a9f312cb51ed64112b8", "rev": "eb06d17e7912780a3ee117ae73bc50c3948c761c",
"sha256": "zsY0RyWLJD2Zf1qDzuMbbNxV630TAIt3KqjLWXR4lgQ=", "sha256": "aBqskJtK1bFBjwaoo9hilr33fyAWsdj5+hFC3WY3sKk="
"fetchSubmodules": false
}, },
"flycast": { "flycast": {
"owner": "libretro", "owner": "libretro",
"repo": "flycast", "repo": "flycast",
"rev": "041297cc6c266b1185a4414271a10732c946239c", "rev": "0d8c6a2e717c002bc76ce26a152353b004fb15e7",
"sha256": "htuUfzwlSbhh8CxMEeE8HqNqaJupav4cBfXMwMEKim8=", "sha256": "t2RGHAyYXeHVqTqqhayOUWx/msFN9q/Z9P2wXJUtQTI="
"fetchSubmodules": false
}, },
"fmsx": { "fmsx": {
"owner": "libretro", "owner": "libretro",
"repo": "fmsx-libretro", "repo": "fmsx-libretro",
"rev": "cd2d59a9b820a0abf038fa7e279965da34132960", "rev": "dfcda056896576c6a1c75c002a82d0e6c1160ccc",
"sha256": "8mOcTTETgDWGDV5q9n3UupMsbPXEqv0AbQGdgOSKfBk=", "sha256": "9ANZ1suAQcYOhqSchQ20Yuqvgw06j5Sd3Z1fjrp2UFc="
"fetchSubmodules": false
}, },
"freeintv": { "freeintv": {
"owner": "libretro", "owner": "libretro",
"repo": "freeintv", "repo": "freeintv",
"rev": "0058a09492c5c17a4fa59ebb3601ce66844b3b25", "rev": "d58caf23ed1438a1db58f8d6ac24ca521b411d3b",
"sha256": "DA6eAl9ZR84Ow8rH9q/DVbEU83nmidwMy3kqk+hWWLQ=", "sha256": "nUV+A3Zh66M1K5NDK0ksNF5H1HS3AQdeYLaGfaA34n4="
"fetchSubmodules": false
}, },
"gambatte": { "gambatte": {
"owner": "libretro", "owner": "libretro",
"repo": "gambatte-libretro", "repo": "gambatte-libretro",
"rev": "eb6f26a57ff6c35154950da20f83ddf1d44d4ca6", "rev": "79bb2e56d034c30d8dcac02b6c34a59ec8fe91bc",
"sha256": "boPCbMX1o1i+rL0dnY0M3pzY1D6uzoYRN21C1zXXOJw=", "sha256": "H+Hkeep18whaSYbyG8DcaJqsVVu7DEX9T28pkfXfyCg="
"fetchSubmodules": false
}, },
"genesis-plus-gx": { "genesis-plus-gx": {
"owner": "libretro", "owner": "libretro",
"repo": "Genesis-Plus-GX", "repo": "Genesis-Plus-GX",
"rev": "8a7d4c87d2e6936d64c1251c6f968a93cc87cce5", "rev": "88c9ad000ba553b9c819d9eb259f741fabd877bb",
"sha256": "SX0jA8VuN4LNVhR/aw3gF0uF7+c9McEiHnNmxbPtE5g=", "sha256": "8ZCMq8/sk5TqwTNWMfDevZHRPSOM1PJ57kiZZ7qfQxA="
"fetchSubmodules": false
}, },
"gpsp": { "gpsp": {
"owner": "libretro", "owner": "libretro",
"repo": "gpsp", "repo": "gpsp",
"rev": "be3fdfd0b4e0529d7e00c4e16eb26d92fe0559a6", "rev": "e554360dd3ed283696fc607877024a219248b735",
"sha256": "GX3iAVNfznxa/3aIHuopFFNsdz2b22BiQyycioH1TGw=", "sha256": "ImsqB89XmjF8nvs7j8IZVvFltgZRYvF2L7LTcJG/xCU="
"fetchSubmodules": false
}, },
"gw": { "gw": {
"owner": "libretro", "owner": "libretro",
"repo": "gw-libretro", "repo": "gw-libretro",
"rev": "0f1ccca156388880bf4507ad44741f80945dfc6f", "rev": "0f1ccca156388880bf4507ad44741f80945dfc6f",
"sha256": "BVpx8pL224J2u9W6UDrxzfEv4qIsh6wrf3bDdd1R850=", "sha256": "BVpx8pL224J2u9W6UDrxzfEv4qIsh6wrf3bDdd1R850="
"fetchSubmodules": false
}, },
"handy": { "handy": {
"owner": "libretro", "owner": "libretro",
"repo": "libretro-handy", "repo": "libretro-handy",
"rev": "ebcbb8be5d174306ffb091b7657637b910fc35d2", "rev": "3b02159ba32aa37c1b93d7f7eac56b28e3715645",
"sha256": "mkPgOFfYDICmFu0nZ+9kfbrmSmPpNdC9lvci0MsXIwo=", "sha256": "mBKK+pdWgkxYkV4OOiBrlWbLAMugDX0fd6QRh0D7JYU="
"fetchSubmodules": false
}, },
"hatari": { "hatari": {
"owner": "libretro", "owner": "libretro",
"repo": "hatari", "repo": "hatari",
"rev": "cea06eebf695b078fadc0e78bb0f2b2baaca799f", "rev": "79d128888ca3efdd27d639a35edf72a9bc81a798",
"sha256": "Z05IGubwdgg7X/e2ZG49zVfXuITM59HW/1gicdpDXls=", "sha256": "du2xORgAXTSQArqNuFa5gjticgZ+weqySFHVz2Y2qzI="
"fetchSubmodules": false
}, },
"mame": { "mame": {
"owner": "libretro", "owner": "libretro",
"repo": "mame", "repo": "mame",
"rev": "031ac783585e7d5156a6f87a9ba20d88caf94ad6", "rev": "2f9c793a77222ae46266c71f64d491cf7870dc1e",
"sha256": "hLMQw5jvJTxojGwCY7iUDHcJdLZjcLzEDhW576TerJI=", "sha256": "WAhm6QMMVbnuSIK4PW7Ek+AAkMs7s95gGb6ERzlon0w="
"fetchSubmodules": false
}, },
"mame2000": { "mame2000": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2000-libretro", "repo": "mame2000-libretro",
"rev": "4793742b457945afb74053c8a895e6ff0b36b033", "rev": "4793742b457945afb74053c8a895e6ff0b36b033",
"sha256": "DA9fZTic/jlYzSAIiOjfhohyEyQZiBNdIa8YCZoKZNs=", "sha256": "DA9fZTic/jlYzSAIiOjfhohyEyQZiBNdIa8YCZoKZNs="
"fetchSubmodules": false
}, },
"mame2003": { "mame2003": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2003-libretro", "repo": "mame2003-libretro",
"rev": "80a4ca5c0db69be9fe9b65dcaa7ad45930c989b8", "rev": "dbda6ddacdd8962cfea25000421dba398e551aef",
"sha256": "ZViVX+Z40ctxWGiQtfmRUDbUT7EYHqTNDhwWbKBjTEQ=", "sha256": "RSL3iZZEJCxOtsJqjnM5ZiT0yM2nAgg/Ujq6FBLMHkk="
"fetchSubmodules": false
}, },
"mame2003-plus": { "mame2003-plus": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2003-plus-libretro", "repo": "mame2003-plus-libretro",
"rev": "8dc4cfa741db8136e43c4a0eabdc1977fd88ccdb", "rev": "9c0c954f0f88730f44abdd4d414691fef6b1cd7c",
"sha256": "gcsL2xfF+q5ECN9u4JaKR8rimCXLt/bVSzybLo2ln3Q=", "sha256": "NLdHc0VuZhqQhAzv+8kipc0mhqT2BNaJeLYZUx7DwRU="
"fetchSubmodules": false
}, },
"mame2010": { "mame2010": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2010-libretro", "repo": "mame2010-libretro",
"rev": "932e6f2c4f13b67b29ab33428a4037dee9a236a8", "rev": "932e6f2c4f13b67b29ab33428a4037dee9a236a8",
"sha256": "HSZRSnc+0300UE9fPcUOMrXABlxHhTewkFPTqQ4Srxs=", "sha256": "HSZRSnc+0300UE9fPcUOMrXABlxHhTewkFPTqQ4Srxs="
"fetchSubmodules": false
}, },
"mame2015": { "mame2015": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2015-libretro", "repo": "mame2015-libretro",
"rev": "ef41361dc9c88172617f7bbf6cd0ead4516a3c3f", "rev": "e6a7aa4d53726e61498f68d6b8e2c092a2169fa2",
"sha256": "HZrw9KKwYAJyU4NH1BEvuod/TK/nqjN03qJuSX8JP8o=", "sha256": "IgiLxYYuUIn3YE+kQCXzgshES2VNpUHn0Qjsorw0w/s="
"fetchSubmodules": false
}, },
"mame2016": { "mame2016": {
"owner": "libretro", "owner": "libretro",
"repo": "mame2016-libretro", "repo": "mame2016-libretro",
"rev": "69711c25c14f990b05fdce87fb92f3b5c312ec1e", "rev": "bcff8046328da388d100b1634718515e1b15415d",
"sha256": "QdSgWcZIMDnmYAKAnvwNRPBYRaSMTcRpI7Vd04Xv3Is=", "sha256": "XxnX39+0VUbG9TF8+wFEFVxHCm2rzrJsIQryyNsF6zU="
"fetchSubmodules": false
}, },
"melonds": { "melonds": {
"owner": "libretro", "owner": "libretro",
"repo": "melonds", "repo": "melonds",
"rev": "1ad65728476d7b9594c4ff91a1ba60460a0a30e7", "rev": "0053daa700018657bf2e47562b3b4eb86f9b9d03",
"sha256": "EBV8F2MCmWuxWKMOXipTZKRGHqp8sb/ojK3JpGZe818=", "sha256": "K6ZYuk7cE+ioq1rLRyAKNQxddCYIOXLU5SXT7sYgGnc="
"fetchSubmodules": false
}, },
"mesen": { "mesen": {
"owner": "libretro", "owner": "libretro",
"repo": "mesen", "repo": "mesen",
"rev": "094d82bf724448426acbaad45e83bc38994e32f6", "rev": "094d82bf724448426acbaad45e83bc38994e32f6",
"sha256": "9+AqZRv8lugNNa+ZZzIPJNO87J1aBUEiOggL8aYno1M=", "sha256": "9+AqZRv8lugNNa+ZZzIPJNO87J1aBUEiOggL8aYno1M="
"fetchSubmodules": false
}, },
"mesen-s": { "mesen-s": {
"owner": "libretro", "owner": "libretro",
"repo": "mesen-s", "repo": "mesen-s",
"rev": "42eb0e8ad346608dae86feb8a04833d16ad21541", "rev": "42eb0e8ad346608dae86feb8a04833d16ad21541",
"sha256": "q6zeoNiZtFy8ZYls9/E+O7o9BYTcVcmYjbJA48qiraU=", "sha256": "q6zeoNiZtFy8ZYls9/E+O7o9BYTcVcmYjbJA48qiraU="
"fetchSubmodules": false
}, },
"meteor": { "meteor": {
"owner": "libretro", "owner": "libretro",
"repo": "meteor-libretro", "repo": "meteor-libretro",
"rev": "e533d300d0561564451bde55a2b73119c768453c", "rev": "e533d300d0561564451bde55a2b73119c768453c",
"sha256": "zMkgzUz2rk0SD5ojY4AqaDlNM4k4QxuUxVBRBcn6TqQ=", "sha256": "zMkgzUz2rk0SD5ojY4AqaDlNM4k4QxuUxVBRBcn6TqQ="
"fetchSubmodules": false
}, },
"mgba": { "mgba": {
"owner": "libretro", "owner": "libretro",
"repo": "mgba", "repo": "mgba",
"rev": "c33adfa66b4b3f72c939c27ff0668ebeada75086", "rev": "43da6e1d54ad0395f474346db88fe59a4c0aa451",
"sha256": "naZkfIghS4mIT5LT2x1E8W9/bju9pLZb8RfEHOlx7QI=", "sha256": "JxiWIBQi1fZoBV2lvx2r7iIvlQm0BYuJFz0TsxngUT8="
"fetchSubmodules": false
}, },
"mupen64plus": { "mupen64plus": {
"owner": "libretro", "owner": "libretro",
"repo": "mupen64plus-libretro-nx", "repo": "mupen64plus-libretro-nx",
"rev": "018ee72b4fe247b38ed161033ad12a19bb936f00", "rev": "350f90a73cf0f5d65357ce982ccbaa3b22fc3569",
"sha256": "vJz9S9lUgJp8O0NgJF6/EYymFqwZefvrT/HJLpMhgEk=", "sha256": "9Hq93+dvO60LBbcXLIHsTq243QThicI0rVJW3tou/5Y="
"fetchSubmodules": false
}, },
"neocd": { "neocd": {
"owner": "libretro", "owner": "libretro",
"repo": "neocd_libretro", "repo": "neocd_libretro",
"rev": "83d10f3be10fff2f28aa56fc674c687528cb7f5c", "rev": "83d10f3be10fff2f28aa56fc674c687528cb7f5c",
"sha256": "yYZGoMsUfE8cpU9i826UWQGi1l0zPJPcBDb2CINxGeQ=", "sha256": "yYZGoMsUfE8cpU9i826UWQGi1l0zPJPcBDb2CINxGeQ="
"fetchSubmodules": false
}, },
"nestopia": { "nestopia": {
"owner": "libretro", "owner": "libretro",
"repo": "nestopia", "repo": "nestopia",
"rev": "21e2cec7a13f0a09f493637de289e59386e2fd36", "rev": "8af07b7ab49e45495cbc4ba73cd2f879d9908b55",
"sha256": "XKEY43wtdE78XN2TnT8AW80irnsbIwPzQ1EkGXOrsG4=", "sha256": "Z447flP1L/7gWEovWhbBearPKzsZNnGE2cz7jH7kEnY="
"fetchSubmodules": false
}, },
"np2kai": { "np2kai": {
"owner": "AZO234", "owner": "AZO234",
"repo": "NP2kai", "repo": "NP2kai",
"rev": "3e8fedc7c1c6f68faa26589187512474a766ee9e", "rev": "30d4b6959c48db039207a37e278c868c7737ed69",
"sha256": "5bfh/aZOqfHz1x2s5AzZo4zq9qA4w10d9vYuuILdKJQ=", "sha256": "uIcgbpcEz6yUKrBe0r84Yq2ihWfT0+TdUTIF5kMT5mI=",
"fetchSubmodules": true "fetchSubmodules": true
}, },
"o2em": { "o2em": {
"owner": "libretro", "owner": "libretro",
"repo": "libretro-o2em", "repo": "libretro-o2em",
"rev": "f1050243e0d5285e7769e94a882b0cf39d2b7370", "rev": "f1050243e0d5285e7769e94a882b0cf39d2b7370",
"sha256": "wD+iJ8cKC8jYFZ6OVvX71uO7sSh5b/LLoc5+g7f3Yyg=", "sha256": "wD+iJ8cKC8jYFZ6OVvX71uO7sSh5b/LLoc5+g7f3Yyg="
"fetchSubmodules": false
}, },
"opera": { "opera": {
"owner": "libretro", "owner": "libretro",
"repo": "opera-libretro", "repo": "opera-libretro",
"rev": "aa868e656b518567a95b11b2f14c5db8001b11a0", "rev": "3849c969c64b82e622a7655b327fa94bc5a4c7cc",
"sha256": "YUzfHtgKCzgxZwslFxwmAN0hg+MIGLAYBAI7RUCIW40=", "sha256": "McSrvjrYTemqAAnfHELf9qXC6n6Dg4kNsUDA7e2DvkE="
"fetchSubmodules": false
}, },
"parallel-n64": { "parallel-n64": {
"owner": "libretro", "owner": "libretro",
"repo": "parallel-n64", "repo": "parallel-n64",
"rev": "0a67445ce63513584d92e5c57ea87efe0da9b3bd", "rev": "28c4572c9a09447b3bf5ed5fbd3594a558bc210d",
"sha256": "rms+T8JOp/TJ/T5a5uLj8lu1LLz/GAsJZ7UbK42C9yU=", "sha256": "by8NvKjVT9OrgVhNtv5E4Fqmdva42lWV8UQi0SKfBL8="
"fetchSubmodules": false
}, },
"pcsx2": { "pcsx2": {
"owner": "libretro", "owner": "libretro",
"repo": "pcsx2", "repo": "pcsx2",
"rev": "26890da6f34176e70289c2f3004cd5660be0035b", "rev": "3ef2a36b0608e9dcae808c7ef01c7a760d628735",
"sha256": "PocOjidZyv30kIjOq++9DZdCNBXbCbyd0vepjMFXflQ=", "sha256": "ezqVntonhGfejiGx9cxQEnjsXEHqT++M1fO0Jz1t/Us="
"fetchSubmodules": false
}, },
"pcsx_rearmed": { "pcsx_rearmed": {
"owner": "libretro", "owner": "libretro",
"repo": "pcsx_rearmed", "repo": "pcsx_rearmed",
"rev": "589bd99ba31de8216624dbf0cbbc016f0663ce3d", "rev": "12fc12797064599dfca2d44043d5c02a949711ef",
"sha256": "6OtsWXTo6ca0M/cofpvWPEd0Tqy3XDa8vaa7OUTxnMU=", "sha256": "SXmNfHGyk+KChiwkKlA+d/oezzp/7p1DJY+w2bES6kg="
"fetchSubmodules": false
}, },
"picodrive": { "picodrive": {
"owner": "libretro", "owner": "libretro",
"repo": "picodrive", "repo": "picodrive",
"rev": "d44605c269e645a6734089ac1f95116a5ce57e0b", "rev": "50b8b47838fea8096535d543caaacdcc56aa7df2",
"sha256": "Z4d+7Hf55raMAOIA2jrj6M99XhLTZqthHxi89ba+xEo=", "sha256": "C1Htwel5PHZcjkKmjiiN/QgRofMhqlArxktOSqoTxTc=",
"fetchSubmodules": true "fetchSubmodules": true
}, },
"play": { "play": {
"owner": "jpd002", "owner": "jpd002",
"repo": "Play-", "repo": "Play-",
"rev": "65492042f0b2146d81decc8f63466362dd6122bc", "rev": "fd6a5161030215090d48a8036680f57914c71bb0",
"sha256": "fpiOT6fXvjGWmnKwncV2NyuYeT2ACE8LLyisKsWqydQ=", "sha256": "g6UBRV7biLjPBXdlejjXUSk3v1wrsYWA3quZlpPj23U=",
"fetchSubmodules": true "fetchSubmodules": true
}, },
"ppsspp": { "ppsspp": {
"owner": "hrydgard", "owner": "hrydgard",
"repo": "ppsspp", "repo": "ppsspp",
"rev": "3e5511b6091b8af76d124d101f3d84ccc1021f30", "rev": "54d63cc1daf2a0cdc812e9af85854bb4ae5ef399",
"sha256": "FCaKEdu55c7zxh9Mdi+xAFj8v5/AoT2AzYYEErHd9sQ=", "sha256": "iB/8zf4FYdsbiKZVq/YISTEQSoo1kme1uZsyuhbOcoc=",
"fetchSubmodules": true "fetchSubmodules": true
}, },
"prboom": { "prboom": {
"owner": "libretro", "owner": "libretro",
"repo": "libretro-prboom", "repo": "libretro-prboom",
"rev": "de19b1124559423244b4d677fd6006444d418c0e", "rev": "af1b5bf89d01095326ee27e178f9257f9e728873",
"sha256": "vt43eYYGGUotxYeotUfp/9fvWnKJLJtrvo+GNavH3QY=", "sha256": "pvTUv4E+wBOYfjz8Ph11CK4E7rIm1T+u90TWDNXEBIU="
"fetchSubmodules": false
}, },
"prosystem": { "prosystem": {
"owner": "libretro", "owner": "libretro",
"repo": "prosystem-libretro", "repo": "prosystem-libretro",
"rev": "89e6df7b60d151310fedbe118fb472959a9dcd61", "rev": "89e6df7b60d151310fedbe118fb472959a9dcd61",
"sha256": "uxgKddS53X7ntPClE8MGezBAG+7OAFvMXTnyKpOOau0=", "sha256": "uxgKddS53X7ntPClE8MGezBAG+7OAFvMXTnyKpOOau0="
"fetchSubmodules": false
}, },
"quicknes": { "quicknes": {
"owner": "libretro", "owner": "libretro",
"repo": "QuickNES_Core", "repo": "QuickNES_Core",
"rev": "6444b56659ed887c3492831da188fbc42e3e8ca2", "rev": "743e6e06db246c5edab27c738c7a573d83140485",
"sha256": "FHV9oM4rmsCm7GsD5TKyVbBCN7uc9GRU5YGQE+2SiRM=", "sha256": "NYmP+HFeZGUeIRaT3bzdpWw9cmEAaBkA3EGnw/zpDXA="
"fetchSubmodules": false
}, },
"sameboy": { "sameboy": {
"owner": "libretro", "owner": "libretro",
"repo": "sameboy", "repo": "sameboy",
"rev": "685c6c8b497260f53a984d5c4398ef2b25253104", "rev": "b154b7d3d885a3cf31203f0b8f50d3b37c8b742b",
"sha256": "OosKYG38NvfwrLSEhAe2CrUx8PiSv4OhkmrVUO6l1qc=", "sha256": "tavGHiNpRiPkibi66orMf93cnCqQCD8XhSl/36nl/9M="
"fetchSubmodules": false
}, },
"scummvm": { "scummvm": {
"owner": "libretro", "owner": "libretro",
"repo": "scummvm", "repo": "scummvm",
"rev": "63e57573a9ffe71a1083ff46d9cd210203b87afb", "rev": "80cb7269a33b233dcea27d8d01df084b0d35c80a",
"sha256": "LTFe8HIX9OSJuJj5YfPigrPAE8nrbSpDckh0hj3w52s=", "sha256": "5kMWM8d5aBbT7TseNyaYxw7VDkrLL0G+KUvJcUboQgA="
"fetchSubmodules": false
}, },
"smsplus-gx": { "smsplus-gx": {
"owner": "libretro", "owner": "libretro",
"repo": "smsplus-gx", "repo": "smsplus-gx",
"rev": "3f1ffede55bcfe0168caa484a00bf041ab591abf", "rev": "3f1ffede55bcfe0168caa484a00bf041ab591abf",
"sha256": "fD+grzMPk4uXvmzGf+f9Mor0eefBLHIumCydsSHUsck=", "sha256": "fD+grzMPk4uXvmzGf+f9Mor0eefBLHIumCydsSHUsck="
"fetchSubmodules": false
}, },
"snes9x": { "snes9x": {
"owner": "snes9xgit", "owner": "snes9xgit",
"repo": "snes9x", "repo": "snes9x",
"rev": "cf1a5901fccafdaead225b0a5e55ff74fdcf9678", "rev": "34b6160805c4995a8edf5f9b3328f5e492ae4c44",
"sha256": "p6qTCZnZSV5vgpZglI/HMi/wOfu0hG2TuvOQhQHeo2s=", "sha256": "YRRqtd5iu2evRk+7SyQpqpxqTaEFOkDZ/XQHEjpSBcM="
"fetchSubmodules": false
}, },
"snes9x2002": { "snes9x2002": {
"owner": "libretro", "owner": "libretro",
"repo": "snes9x2002", "repo": "snes9x2002",
"rev": "e16cb16efa00765b1bc3b8fee195680efb1542c7", "rev": "e16cb16efa00765b1bc3b8fee195680efb1542c7",
"sha256": "0dhLpNy+NUE3mE/ejEwbq3G28/a2HONS5NPslI5LOEc=", "sha256": "0dhLpNy+NUE3mE/ejEwbq3G28/a2HONS5NPslI5LOEc="
"fetchSubmodules": false
}, },
"snes9x2005": { "snes9x2005": {
"owner": "libretro", "owner": "libretro",
"repo": "snes9x2005", "repo": "snes9x2005",
"rev": "88a46f7c085f6e2accc4c777e264b9b5cd41cf0e", "rev": "77e9cd293c791b47f4397da0a47242b329243cb5",
"sha256": "5wVKK3xhCXkvonwQRyVtd8Afggb0gv8Sv7PEYkDfKRE=", "sha256": "iHGfZIGzE4n3EHrVRxTULuYKsOse5NcJftmasoJFwFo="
"fetchSubmodules": false
}, },
"snes9x2010": { "snes9x2010": {
"owner": "libretro", "owner": "libretro",
"repo": "snes9x2010", "repo": "snes9x2010",
"rev": "714b1c8e08c7580430190119b07e793405773ac2", "rev": "714b1c8e08c7580430190119b07e793405773ac2",
"sha256": "yKSQEE+lT4V2V1XqemfziHuIt79TcvC0ranU9ounTXo=", "sha256": "yKSQEE+lT4V2V1XqemfziHuIt79TcvC0ranU9ounTXo="
"fetchSubmodules": false
}, },
"stella": { "stella": {
"owner": "stella-emu", "owner": "stella-emu",
"repo": "stella", "repo": "stella",
"rev": "66e2c857c2bd85e778c51ae1cb99fb7669c7af17", "rev": "1db9de390a331a7d55c35591c93d9e89184cce5f",
"sha256": "RWNEq5qwShbBKIx5bif4NDs/uJES2wf1CVSxZbb6beI=", "sha256": "vICKxx+UBYvMzZ3a3F86yzJRKfdo0jMxa27wsUX0KZw="
"fetchSubmodules": false
}, },
"stella2014": { "stella2014": {
"owner": "libretro", "owner": "libretro",
"repo": "stella2014-libretro", "repo": "stella2014-libretro",
"rev": "934c7a2a44ef038af529b68950ddba4f7ea3478e", "rev": "934c7a2a44ef038af529b68950ddba4f7ea3478e",
"sha256": "s7LQ47sAPTyk4COONk4qnebxCq78zGLIjh3Y2+1fIak=", "sha256": "s7LQ47sAPTyk4COONk4qnebxCq78zGLIjh3Y2+1fIak="
"fetchSubmodules": false
}, },
"swanstation": { "swanstation": {
"owner": "libretro", "owner": "libretro",
"repo": "swanstation", "repo": "swanstation",
"rev": "8951ed1cea4ea65de5529a35e950f1b185e48b6e", "rev": "61c5debe60192b0fecd8c15310b2e4c4473f9438",
"sha256": "27EH4oiYf154DJwm738qPOMCuWOCKD7wuSng3hz/xh0=", "sha256": "DZJApJnGDMsUhjO35TBc7tMldCGKDPPtrwxPLe0Ey1s="
"fetchSubmodules": false
}, },
"tgbdual": { "tgbdual": {
"owner": "libretro", "owner": "libretro",
"repo": "tgbdual-libretro", "repo": "tgbdual-libretro",
"rev": "1e0c4f931d8c5e859e6d3255d67247d7a2987434", "rev": "1e0c4f931d8c5e859e6d3255d67247d7a2987434",
"sha256": "0wHv9DpKuzJ/q5vERqCo4GBLre2ggClBIWSjGnMLQq8=", "sha256": "0wHv9DpKuzJ/q5vERqCo4GBLre2ggClBIWSjGnMLQq8="
"fetchSubmodules": false
}, },
"thepowdertoy": { "thepowdertoy": {
"owner": "libretro", "owner": "libretro",
"repo": "ThePowderToy", "repo": "ThePowderToy",
"rev": "ac620c0a89a18774c3ad176a8a1bc596df23ff57", "rev": "ac620c0a89a18774c3ad176a8a1bc596df23ff57",
"sha256": "C/X1DbmnucRddemEYml2zN3qr5yoXY3b+nvqfpboS0M=", "sha256": "C/X1DbmnucRddemEYml2zN3qr5yoXY3b+nvqfpboS0M="
"fetchSubmodules": false
}, },
"tic80": { "tic80": {
"owner": "libretro", "owner": "libretro",
"repo": "tic-80", "repo": "tic-80",
"rev": "bd03e6a548676745e81fa95e60b233b5a56420c2", "rev": "967eb78c3610385a0e6cba8bb5c60ebc3b886d3e",
"sha256": "SXJvWX6Q3BrdajNnT4HIf6H2z7dXXvnXTJXf/TYRw4I=", "sha256": "N0QFNTYFVbhWwt2yx5fLM7Dl6pJZPYrt9o3+6rjnWa8=",
"fetchSubmodules": true "fetchSubmodules": true
}, },
"vba-m": { "vba-m": {
"owner": "libretro", "owner": "libretro",
"repo": "vbam-libretro", "repo": "vbam-libretro",
"rev": "254f6effebe882b7d3d29d9e417c6aeeabc08026", "rev": "254f6effebe882b7d3d29d9e417c6aeeabc08026",
"sha256": "vJWjdqJ913NLGL4G15sRPqO/wp9xPsuhUMLUuAbDRKk=", "sha256": "vJWjdqJ913NLGL4G15sRPqO/wp9xPsuhUMLUuAbDRKk="
"fetchSubmodules": false
}, },
"vba-next": { "vba-next": {
"owner": "libretro", "owner": "libretro",
"repo": "vba-next", "repo": "vba-next",
"rev": "b218f48bb27b5d3885fa4076ff325922b5acd817", "rev": "b218f48bb27b5d3885fa4076ff325922b5acd817",
"sha256": "idqGMbMA9mZlIh0QAba3BxpPDi/bFJJkUbnxV3xMOCo=", "sha256": "idqGMbMA9mZlIh0QAba3BxpPDi/bFJJkUbnxV3xMOCo="
"fetchSubmodules": false
}, },
"vecx": { "vecx": {
"owner": "libretro", "owner": "libretro",
"repo": "libretro-vecx", "repo": "libretro-vecx",
"rev": "28d6efc8972313903d0802a736ff8c3bc115e78f", "rev": "28d6efc8972313903d0802a736ff8c3bc115e78f",
"sha256": "VYa8s+HB8IYF+HS6SA+sO5DzpgCtnMGrh88KTVNGICY=", "sha256": "VYa8s+HB8IYF+HS6SA+sO5DzpgCtnMGrh88KTVNGICY="
"fetchSubmodules": false
}, },
"virtualjaguar": { "virtualjaguar": {
"owner": "libretro", "owner": "libretro",
"repo": "virtualjaguar-libretro", "repo": "virtualjaguar-libretro",
"rev": "d1b1b28a6ad2518b746e3f7537ec6d66db96ec57", "rev": "d1b1b28a6ad2518b746e3f7537ec6d66db96ec57",
"sha256": "Io25dt80fqIqIxwzF2DK9J5UFz6YCUQoqThcIuxdEBo=", "sha256": "Io25dt80fqIqIxwzF2DK9J5UFz6YCUQoqThcIuxdEBo="
"fetchSubmodules": false
}, },
"yabause": { "yabause": {
"owner": "libretro", "owner": "libretro",
"repo": "yabause", "repo": "yabause",
"rev": "c940fe68461cb2bc6dd98cc162b46813ba12b081", "rev": "f30153ff9e534b96049c6f1ac3075b572642ceb5",
"sha256": "a4nTgOZ2xEq45sWZ9AxmrjEdMOjnG3Whfm8mrvEMnuY=", "sha256": "AdqCr5X3Bq8ic2jkIestmYi+CBByZ5Fyf0BUYwBkWnA="
"fetchSubmodules": false
} }
} }

View File

@ -26,7 +26,19 @@ CORES = {
"bsnes": {"repo": "bsnes-libretro"}, "bsnes": {"repo": "bsnes-libretro"},
"bsnes-hd": {"repo": "bsnes-hd", "owner": "DerKoun"}, "bsnes-hd": {"repo": "bsnes-hd", "owner": "DerKoun"},
"bsnes-mercury": {"repo": "bsnes-mercury"}, "bsnes-mercury": {"repo": "bsnes-mercury"},
"citra": {"repo": "citra", "fetch_submodules": True, "deep_clone": True, "leave_dot_git": True}, "citra": {
"repo": "citra",
"fetch_submodules": True,
"deep_clone": True,
"leave_dot_git": True,
},
"citra-canary": {
"repo": "citra",
"fetch_submodules": True,
"deep_clone": True,
"leave_dot_git": True,
"rev": "canary",
},
"desmume": {"repo": "desmume"}, "desmume": {"repo": "desmume"},
"desmume2015": {"repo": "desmume2015"}, "desmume2015": {"repo": "desmume2015"},
"dolphin": {"repo": "dolphin"}, "dolphin": {"repo": "dolphin"},
@ -102,6 +114,7 @@ def get_repo_hash_fetchFromGitHub(
deep_clone=False, deep_clone=False,
fetch_submodules=False, fetch_submodules=False,
leave_dot_git=False, leave_dot_git=False,
rev=None,
): ):
extra_args = [] extra_args = []
if deep_clone: if deep_clone:
@ -110,13 +123,18 @@ def get_repo_hash_fetchFromGitHub(
extra_args.append("--fetch-submodules") extra_args.append("--fetch-submodules")
if leave_dot_git: if leave_dot_git:
extra_args.append("--leave-dot-git") extra_args.append("--leave-dot-git")
if rev:
extra_args.append("--rev")
extra_args.append(rev)
result = subprocess.run( result = subprocess.run(
["nix-prefetch-github", owner, repo, *extra_args], ["nix-prefetch-github", owner, repo, *extra_args],
check=True, check=True,
capture_output=True, capture_output=True,
text=True, text=True,
) )
return json.loads(result.stdout) j = json.loads(result.stdout)
# Remove False values
return {k: v for k, v in j.items() if v}
def get_repo_hash(fetcher="fetchFromGitHub", **kwargs): def get_repo_hash(fetcher="fetchFromGitHub", **kwargs):

View File

@ -28,10 +28,10 @@ stdenv.mkDerivation {
preferLocalBuild = true; preferLocalBuild = true;
meta = with retroarch.meta; { meta = with retroarch.meta; {
inherit license homepage platforms maintainers; inherit changelog license homepage platforms maintainers;
description = description description = description
+ " (with cores: " + " (with cores: "
+ lib.concatStringsSep ", " (map (x: ""+x.name) cores) + lib.concatStringsSep ", " (map (x: "${x.name}") cores)
+ ")"; + ")";
}; };
} }

View File

@ -6,11 +6,11 @@ let
python = python3.override { python = python3.override {
packageOverrides = self: super: { packageOverrides = self: super: {
tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec {
version = "1.25.0a1"; version = "1.25.0a3";
pname = "tulir-telethon"; pname = "tulir-telethon";
src = oldAttrs.src.override { src = oldAttrs.src.override {
inherit pname version; inherit pname version;
sha256 = "sha256-TFZRmhCrQ9IccGFcYxwdbD2ReSCWZ2n33S1ank1Bn1k="; sha256 = "sha256-/kau9Q2+7giVx52tmjvYIbcDcY1/om31X9BlRvZipuk=";
}; };
}); });
}; };
@ -25,14 +25,14 @@ let
in python.pkgs.buildPythonPackage rec { in python.pkgs.buildPythonPackage rec {
pname = "mautrix-telegram"; pname = "mautrix-telegram";
version = "0.11.0"; version = "0.11.1";
disabled = python.pythonOlder "3.7"; disabled = python.pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mautrix"; owner = "mautrix";
repo = "telegram"; repo = "telegram";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-s0UCl0FJWO53hvHJhpeSQVGCBKEH7COFLXFCFitpDjw="; sha256 = "sha256-Df+v1Q+5Iaa9GKcwIabMKjJwmVd5Qub8M54jEEiAPFc=";
}; };
patches = [ ./0001-Re-add-entrypoint.patch ]; patches = [ ./0001-Re-add-entrypoint.patch ];

View File

@ -1,7 +1,14 @@
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook, removeReferencesTo { lib, stdenv, fetchurl, fetchpatch, autoreconfHook, removeReferencesTo
, file, openssl, perl, perlPackages, unzip, nettools, ncurses }: , file, openssl, perl, perlPackages, nettools, gnused
, withPerlTools ? false }: let
stdenv.mkDerivation rec { perlWithPkgs = perl.withPackages (ps: with ps; [
JSON
TermReadKey
Tk
]);
in stdenv.mkDerivation rec {
pname = "net-snmp"; pname = "net-snmp";
version = "5.9.1"; version = "5.9.1";
@ -37,8 +44,9 @@ stdenv.mkDerivation rec {
substituteInPlace testing/fulltests/support/simple_TESTCONF.sh --replace "/bin/netstat" "${nettools}/bin/netstat" substituteInPlace testing/fulltests/support/simple_TESTCONF.sh --replace "/bin/netstat" "${nettools}/bin/netstat"
''; '';
nativeBuildInputs = [ autoreconfHook nettools removeReferencesTo unzip ]; nativeBuildInputs = [ autoreconfHook nettools removeReferencesTo gnused file ];
buildInputs = with perlPackages; [ file perl openssl ncurses JSON Tk TermReadKey ]; buildInputs = [ openssl ]
++ lib.optional withPerlTools perlWithPkgs;
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = false; # tries to use networking doCheck = false; # tries to use networking
@ -56,7 +64,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Clients and server for the SNMP network monitoring protocol"; description = "Clients and server for the SNMP network monitoring protocol";
homepage = "http://net-snmp.sourceforge.net/"; homepage = "http://www.net-snmp.org/";
license = licenses.bsd3; license = licenses.bsd3;
platforms = platforms.linux; platforms = platforms.linux;
}; };

View File

@ -3,13 +3,13 @@
, oathToolkit }: , oathToolkit }:
gnustep.stdenv.mkDerivation rec { gnustep.stdenv.mkDerivation rec {
pname = "SOGo"; pname = "SOGo";
version = "5.4.0"; version = "5.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inverse-inc"; owner = "inverse-inc";
repo = pname; repo = pname;
rev = "SOGo-${version}"; rev = "SOGo-${version}";
sha256 = "0fwc9ia84f4ijnl5ymn4f6s1n8v3g7rqvpqaaadyw8jwj9x26a6k"; sha256 = "1kyfn3qw299qsyivbrm487h68va99rrb3gmhpgjpwqd2xdg9aypk";
}; };
nativeBuildInputs = [ gnustep.make makeWrapper python3 ]; nativeBuildInputs = [ gnustep.make makeWrapper python3 ];

View File

@ -58,7 +58,7 @@ in stdenv.mkDerivation rec {
version = "3.2.1"; version = "3.2.1";
src = fetchurl { src = fetchurl {
url = "https://bumblebee-project.org/${pname}-${version}.tar.gz"; url = "https://www.bumblebee-project.org/${pname}-${version}.tar.gz";
sha256 = "03p3gvx99lwlavznrpg9l7jnl1yfg2adcj8jcjj0gxp20wxp060h"; sha256 = "03p3gvx99lwlavznrpg9l7jnl1yfg2adcj8jcjj0gxp20wxp060h";
}; };

View File

@ -1,13 +1,13 @@
diff --git a/salt/utils/rsax931.py b/salt/utils/rsax931.py --- a/salt/utils/rsax931.py 2021-11-24 00:39:57.940790184 +0100
index f827cc6db8..b728595186 100644 +++ b/salt/utils/rsax931.py 2021-11-24 00:38:35.436728341 +0100
--- a/salt/utils/rsax931.py @@ -85,6 +85,10 @@
+++ b/salt/utils/rsax931.py
@@ -74,7 +74,7 @@
""" """
Attempt to load libcrypto. Attempt to load libcrypto.
""" """
- return cdll.LoadLibrary(_find_libcrypto()) + try:
+ return cdll.LoadLibrary('@libcrypto@') + return cdll.LoadLibrary('@libcrypto@')
+ except OSError:
+ pass
return cdll.LoadLibrary(_find_libcrypto())
def _init_libcrypto():

View File

@ -1,39 +1,67 @@
{ lib { recurseIntoAttrs
, stdenv , callPackage
, fetchurl }:
, makeWrapper
, jre }:
stdenv.mkDerivation rec { recurseIntoAttrs rec {
pname = "optifine"; optifine-latest = optifine_1_18_1;
version = "1.18.1_HD_U_H4";
src = fetchurl { optifine_1_18_1 = callPackage ./generic.nix {
url = "https://optifine.net/download?f=OptiFine_${version}.jar"; version = "1.18.1_HD_U_H4";
sha256 = "325168569b21a2dcde82999876f69ec9d8af75202a7021691f2abede4d81dcec"; sha256 = "sha256-MlFoVpshotzegpmYdvaeydivdSAqcCFpHyq+3k2B3Ow=";
}; };
dontUnpack = true; optifine_1_17_1 = callPackage ./generic.nix {
version = "1.17.1_HD_U_H1";
sha256 = "sha256-HHt747bIHYY/WNAx19mNgvnLrLCqaKIqwXmmB7A895M=";
};
nativeBuildInputs = [ jre makeWrapper ]; optifine_1_16_5 = callPackage ./generic.nix {
version = "1.16.5_HD_U_G8";
sha256 = "sha256-PHa8kO1EvOVnzufCDrLENhkm8jqG5TZ9WW9uYk0LSU8=";
};
installPhase = '' optifine_1_15_2 = callPackage ./generic.nix {
mkdir -p $out/{bin,lib/optifine} version = "1.16.5_HD_U_G8";
cp $src $out/lib/optifine/optifine.jar sha256 = "sha256-PHa8kO1EvOVnzufCDrLENhkm8jqG5TZ9WW9uYk0LSU8=";
};
makeWrapper ${jre}/bin/java $out/bin/optifine \ optifine_1_14_4 = callPackage ./generic.nix {
--add-flags "-jar $out/lib/optifine/optifine.jar" version = "1.14.4_HD_U_G5";
''; sha256 = "sha256-I+65vQO6yG4AQ0ZLAfX73ImsFKAQkTyrIOnQHldTibs=";
};
meta = with lib; { optifine_1_13_2 = callPackage ./generic.nix {
homepage = "https://optifine.net/"; version = "1.13.2_HD_U_G5";
description = "A Minecraft optimization mod"; sha256 = "sha256-sjUQot8fPdbZTiLqt+exbF5T8kI5bLQevu7atW9Xu3E=";
longDescription = '' };
OptiFine is a Minecraft optimization mod.
It allows Minecraft to run faster and look better with full support for HD textures and many configuration options. optifine_1_12_2 = callPackage ./generic.nix {
''; version = "1.12.2_HD_U_G5";
license = licenses.unfree; sha256 = "sha256-OwAGeXdx/rl/LQ0pCK58mnjO+y5zCvHC6F0IqDm6Jx4=";
maintainers = [ maintainers.ivar ]; };
platforms = platforms.unix;
optifine_1_11_2 = callPackage ./generic.nix {
version = "1.11.2_HD_U_G5";
sha256 = "sha256-1sLUBtM5e5LDTUFCRZf9UeH6WOA8zY6TAmB9PCS5iv4=";
};
optifine_1_10 = callPackage ./generic.nix {
version = "1.10_HD_U_I5";
sha256 = "sha256-oKOsaNFnOKfhWLDDYG/0Z4h/ZCDtyJWS9LXPaKAApc0=";
};
optifine_1_9_4 = callPackage ./generic.nix {
version = "1.9.4_HD_U_I5";
sha256 = "sha256-t+OxIf0Tl/NZxUTl+LGnWRUhEwZ+vxiZfhclxEAf6yI=";
};
optifine_1_8_9 = callPackage ./generic.nix {
version = "1.8.9_HD_U_M5";
sha256 = "sha256-Jzl2CnD8pq5cfcgXvMYoPxj1Xjj6I3eNp/OHprckssQ=";
};
optifine_1_7_10 = callPackage ./generic.nix {
version = "1.7.10_HD_U_E7";
sha256 = "sha256-i82dg94AGgWR9JgQXzafBwxH0skZJ3TVpbafZG5E+rQ=";
}; };
} }

View File

@ -0,0 +1,44 @@
{ version
, sha256
, lib
, runCommand
, fetchurl
, makeWrapper
, jre
}:
let
mcVersion = builtins.head (lib.splitString "_" version);
in
runCommand "optifine-${mcVersion}" {
pname = "optifine";
inherit version;
src = fetchurl {
url = "https://optifine.net/download?f=OptiFine_${version}.jar";
inherit sha256;
name = "OptiFine_${version}.jar";
};
nativeBuildInputs = [ jre makeWrapper ];
meta = with lib; {
homepage = "https://optifine.net/";
description = "A Minecraft ${mcVersion} optimization mod";
longDescription = ''
OptiFine is a Minecraft optimization mod.
It allows Minecraft to run faster and look better with full support for HD textures and many configuration options.
This is for version ${mcVersion} of Minecraft.
'';
license = licenses.unfree;
maintainers = [ maintainers.ivar ];
platforms = platforms.unix;
mainProgram = "optifine";
};
} ''
mkdir -p $out/{bin,lib/optifine}
cp $src $out/lib/optifine/optifine.jar
makeWrapper ${jre}/bin/java $out/bin/optifine \
--add-flags "-jar $out/lib/optifine/optifine.jar"
''

View File

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, fetchFromGitHub , fetchFromGitHub
, autoreconfHook , autoreconfHook
, gettext , gettext
@ -11,6 +12,10 @@
, glib , glib
, gtk3 , gtk3
, python3 , python3
, lua
, opencc
, libsoup
, json-glib
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -31,6 +36,11 @@ stdenv.mkDerivation rec {
wrapGAppsHook wrapGAppsHook
]; ];
configureFlags = [
"--enable-cloud-input-mode"
"--enable-opencc"
];
buildInputs = [ buildInputs = [
ibus ibus
glib glib
@ -42,6 +52,10 @@ stdenv.mkDerivation rec {
])) ]))
gtk3 gtk3
db db
lua
opencc
libsoup
json-glib
]; ];
meta = with lib; { meta = with lib; {

View File

@ -2,7 +2,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "broadlink-cli"; pname = "broadlink-cli";
version = "0.17.0"; version = "0.18.0";
# the tools are available as part of the source distribution from GH but # the tools are available as part of the source distribution from GH but
# not pypi, so we have to fetch them here. # not pypi, so we have to fetch them here.
@ -10,7 +10,7 @@ python3Packages.buildPythonApplication rec {
owner = "mjg59"; owner = "mjg59";
repo = "python-broadlink"; repo = "python-broadlink";
rev = version; rev = version;
sha256 = "sha256-b3A36BdIvyl1RxNO5SyxLIpQmu1UHHekyh6vrFjwpp4="; sha256 = "0nh9rn1zpc44qsc50360ycg02gwbgq59784mnkp01nhavnwwwx10";
}; };
format = "other"; format = "other";

View File

@ -1,12 +1,6 @@
{ lib, stdenv, fetchurl, zlib, perl, nixosTests }: { lib, stdenv, fetchurl, zlib, perl, nixosTests }:
let let
# check if we can execute binaries for the host platform on the build platform
# even though the platforms aren't the same. mandoc can't be cross compiled
# (easily) because of its configurePhase, but we want to allow “native” cross
# such as pkgsLLVM and pkgsStatic.
executableCross = stdenv.hostPlatform.isCompatible stdenv.buildPlatform;
# Name of an UTF-8 locale _always_ present at runtime, used for UTF-8 support # Name of an UTF-8 locale _always_ present at runtime, used for UTF-8 support
# (locale set by the user may differ). This would usually be C.UTF-8, but # (locale set by the user may differ). This would usually be C.UTF-8, but
# darwin has no such locale. # darwin has no such locale.
@ -16,9 +10,6 @@ let
else "C.UTF-8"; else "C.UTF-8";
in in
assert executableCross ||
throw "mandoc relies on executing compiled programs in configurePhase, can't cross compile";
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mandoc"; pname = "mandoc";
version = "1.14.6"; version = "1.14.6";
@ -57,7 +48,7 @@ stdenv.mkDerivation rec {
printf '%s' "$configureLocal" > configure.local printf '%s' "$configureLocal" > configure.local
''; '';
doCheck = executableCross; doCheck = true;
checkTarget = "regress"; checkTarget = "regress";
checkInputs = [ perl ]; checkInputs = [ perl ];
preCheck = "patchShebangs --build regress/regress.pl"; preCheck = "patchShebangs --build regress/regress.pl";
@ -67,6 +58,19 @@ stdenv.mkDerivation rec {
}; };
meta = with lib; { meta = with lib; {
# check if we can execute binaries for the host platform on the build platform
# even though the platforms aren't the same. mandoc can't be cross compiled
# (easily) because of its configurePhase which executes compiled programs
# for gathering information about the host system. Consequently, we can only
# allow “native” cross such as pkgsLLVM and pkgsStatic.
# For a lack of a better predicate at the moment, we compare the platforms'
# system tuples. See also:
# * https://github.com/NixOS/nixpkgs/pull/140271
# * https://github.com/NixOS/nixpkgs/issues/61414
# We need to use broken instead of, say a top level assert, to keep splicing
# working.
broken = stdenv.buildPlatform.system != stdenv.hostPlatform.system;
homepage = "https://mandoc.bsd.lv/"; homepage = "https://mandoc.bsd.lv/";
description = "suite of tools compiling mdoc and man"; description = "suite of tools compiling mdoc and man";
downloadPage = "http://mandoc.bsd.lv/snapshots/"; downloadPage = "http://mandoc.bsd.lv/snapshots/";

View File

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "ytarchive"; pname = "ytarchive";
version = "0.3.0"; version = "unstable-2021-12-29";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Kethsar"; owner = "Kethsar";
repo = "ytarchive"; repo = "ytarchive";
rev = "v${version}"; rev = "2d87608c0b159da876538380b3e613bce2797599";
sha256 = "sha256-7D92xKxU2WBMDJSY5uFKDbLHWlyT761xuZDiBJ1GxE4="; sha256 = "sha256-/cnyKcbgd6I0Ad5aZQd2pCbnU6HZYfuPHK2Ty7yYgHs=";
}; };
vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8="; vendorSha256 = "sha256-r9fDFSCDItQ7YSj9aTY1LXRrFE9T3XD0X36ywCfu0R8=";

View File

@ -3598,6 +3598,8 @@ with pkgs;
zig = zig_0_8_1; zig = zig_0_8_1;
}; };
rivercarro = callPackage ../applications/misc/rivercarro { };
rmapi = callPackage ../applications/misc/remarkable/rmapi { }; rmapi = callPackage ../applications/misc/remarkable/rmapi { };
rmview = libsForQt5.callPackage ../applications/misc/remarkable/rmview { }; rmview = libsForQt5.callPackage ../applications/misc/remarkable/rmview { };
@ -8469,7 +8471,9 @@ with pkgs;
openvswitch-lts = callPackage ../os-specific/linux/openvswitch/lts.nix { }; openvswitch-lts = callPackage ../os-specific/linux/openvswitch/lts.nix { };
optifine = callPackage ../tools/games/minecraft/optifine { }; optifinePackages = callPackage ../tools/games/minecraft/optifine { };
optifine = optifinePackages.optifine-latest;
optipng = callPackage ../tools/graphics/optipng { optipng = callPackage ../tools/graphics/optipng {
libpng = libpng12; libpng = libpng12;
@ -14556,9 +14560,12 @@ with pkgs;
libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { }; libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { };
libsigrok = callPackage ../development/tools/libsigrok { }; libsigrok = callPackage ../development/tools/libsigrok {
python = python3;
};
# old version: # old version:
libsigrok_0_3 = libsigrok.override { libsigrok_0_3 = libsigrok.override {
python = python3;
version = "0.3.0"; version = "0.3.0";
sha256 = "0l3h7zvn3w4c1b9dgvl3hirc4aj1csfkgbk87jkpl7bgl03nk4j3"; sha256 = "0l3h7zvn3w4c1b9dgvl3hirc4aj1csfkgbk87jkpl7bgl03nk4j3";
doInstallCheck = false; doInstallCheck = false;
@ -30259,6 +30266,10 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) IOKit Security AppKit; inherit (darwin.apple_sdk.frameworks) IOKit Security AppKit;
}; };
snarkos = callPackage ../applications/blockchains/snarkos {
inherit (darwin.apple_sdk.frameworks) Security;
};
tessera = callPackage ../applications/blockchains/tessera { }; tessera = callPackage ../applications/blockchains/tessera { };
vertcoin = libsForQt514.callPackage ../applications/blockchains/vertcoin { vertcoin = libsForQt514.callPackage ../applications/blockchains/vertcoin {
@ -33455,7 +33466,10 @@ with pkgs;
retroarch = wrapRetroArch { retroarch = retroarchBare; }; retroarch = wrapRetroArch { retroarch = retroarchBare; };
retroarchFull = retroarch.override { retroarchFull = retroarch.override {
cores = builtins.filter (c: c ? libretroCore) (builtins.attrValues libretro); cores = builtins.filter
# Remove cores not supported on platform
(c: c ? libretroCore && (builtins.elem stdenv.hostPlatform.system c.meta.platforms))
(builtins.attrValues libretro);
}; };
libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix { libretro = recurseIntoAttrs (callPackage ../misc/emulators/retroarch/cores.nix {

View File

@ -8952,6 +8952,8 @@ in {
signedjson = callPackage ../development/python-modules/signedjson { }; signedjson = callPackage ../development/python-modules/signedjson { };
sigrok = callPackage ../development/python-modules/sigrok { };
sigtools = callPackage ../development/python-modules/sigtools { }; sigtools = callPackage ../development/python-modules/sigtools { };
simanneal = callPackage ../development/python-modules/simanneal { }; simanneal = callPackage ../development/python-modules/simanneal { };