Merge master into haskell-updates

This commit is contained in:
github-actions[bot] 2023-08-04 00:13:19 +00:00 committed by GitHub
commit c01174aacb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
409 changed files with 5393 additions and 7422 deletions

View file

@ -558,7 +558,7 @@ buildPythonPackage rec {
hash = "sha256-miW//pnOmww2i6SOGbkrAIdc/JMDT4FJLqdMFojZeoY=";
};
sourceRoot = "source/bindings/python";
sourceRoot = "${src.name}/bindings/python";
nativeBuildInputs = [
cargo

View file

@ -614,14 +614,19 @@ The list of source files or directories to be unpacked or copied. One of these m
##### `sourceRoot` {#var-stdenv-sourceRoot}
After running `unpackPhase`, the generic builder changes the current directory to the directory created by unpacking the sources. If there are multiple source directories, you should set `sourceRoot` to the name of the intended directory. Set `sourceRoot = ".";` if you use `srcs` and control the unpack phase yourself.
After unpacking all of `src` and `srcs`, if neither of `sourceRoot` and `setSourceRoot` are set, `unpackPhase` of the generic builder checks that the unpacking produced a single directory and moves the current working directory into it.
By default the `sourceRoot` is set to `"source"`. If you want to point to a sub-directory inside your project, you therefore need to set `sourceRoot = "source/my-sub-directory"`.
If `unpackPhase` produces multiple source directories, you should set `sourceRoot` to the name of the intended directory.
You can also set `sourceRoot = ".";` if you want to control it yourself in a later phase.
For example, if your want your build to start in a sub-directory inside your sources, and you are using `fetchzip`-derived `src` (like `fetchFromGitHub` or similar), you need to set `sourceRoot = "${src.name}/my-sub-directory"`.
##### `setSourceRoot` {#var-stdenv-setSourceRoot}
Alternatively to setting `sourceRoot`, you can set `setSourceRoot` to a shell command to be evaluated by the unpack phase after the sources have been unpacked. This command must set `sourceRoot`.
For example, if you are using `fetchurl` on an archive file that gets unpacked into a single directory the name of which changes between package versions, and you want your build to start in its sub-directory, you need to set `setSourceRoot = "sourceRoot=$(echo */my-sub-directory)";`, or in the case of multiple sources, you could use something more specific, like `setSourceRoot = "sourceRoot=$(echo ${pname}-*/my-sub-directory)";`.
##### `preUnpack` {#var-stdenv-preUnpack}
Hook executed at the start of the unpack phase.

View file

@ -418,6 +418,12 @@
githubId = 1250775;
name = "Adolfo E. García Castro";
};
adriandole = {
email = "adrian@dole.tech";
github = "adriandole";
githubId = 25236206;
name = "Adrian Dole";
};
AdsonCicilioti = {
name = "Adson Cicilioti";
email = "adson.cicilioti@live.com";
@ -6063,6 +6069,12 @@
fingerprint = "D0CF 440A A703 E0F9 73CB A078 82BB 70D5 41AE 2DB4";
}];
};
gerg-l = {
email = "gregleyda@proton.me";
github = "Gerg-L";
githubId = 88247690;
name = "Greg Leyda";
};
geri1701 = {
email = "geri@sdf.org";
github = "geri1701";
@ -15547,6 +15559,12 @@
githubId = 3789764;
name = "skykanin";
};
slbtty = {
email = "shenlebantongying@gmail.com";
github = "shenlebantongying";
githubId = 20123683;
name = "Shenleban Tongying";
};
sleexyz = {
email = "freshdried@gmail.com";
github = "sleexyz";

View file

@ -76,6 +76,8 @@
- PHP now defaults to PHP 8.2, updated from 8.1.
- The ISC DHCP package and corresponding module have been removed, because they are end of life upstream. See https://www.isc.org/blogs/isc-dhcp-eol/ for details and switch to a different DHCP implementation like kea or dnsmasq.
- `util-linux` is now supported on Darwin and is no longer an alias to `unixtools`. Use the `unixtools.util-linux` package for access to the Apple variants of the utilities.
- `services.keyd` changed API. Now you can create multiple configuration files.
@ -112,6 +114,8 @@
- The default `kops` version is now 1.27.0 and support for 1.24 and older has been dropped.
- `pharo` has been updated to latest stable (PharoVM 10.0.5), which is compatible with the latest stable and oldstable images (Pharo 10 and 11). The VM in question is the 64bit Spur. The 32bit version has been dropped due to lack of maintenance. The Cog VM has been deleted because it is severily outdated. Finally, the `pharo-launcher` package has been deleted because it was not compatible with the newer VM, and due to lack of maintenance.
## Other Notable Changes {#sec-release-23.11-notable-changes}
- The Cinnamon module now enables XDG desktop integration by default. If you are experiencing collisions related to xdg-desktop-portal-gtk you can safely remove `xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];` from your NixOS configuration.
@ -158,6 +162,8 @@ The module update takes care of the new config syntax and the data itself (user
## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals}
- The use of `sourceRoot = "source";`, `sourceRoot = "source/subdir";`, and similar lines in package derivations using the default `unpackPhase` is deprecated as it requires `unpackPhase` to always produce a directory named "source". Use `sourceRoot = src.name`, `sourceRoot = "${src.name}/subdir";`, or `setSourceRoot = "sourceRoot=$(echo */subdir)";` or similar instead.
- The `qemu-vm.nix` module by default now identifies block devices via
persistent names available in `/dev/disk/by-*`. Because the rootDevice is
identfied by its filesystem label, it needs to be formatted before the VM is

View file

@ -15,8 +15,6 @@ files using the same mechanism.
import json
import sys
import shutil
import os
import tempfile
from pathlib import Path
@ -92,12 +90,13 @@ def main() -> None:
print("Partition config is empty.")
sys.exit(1)
temp = tempfile.mkdtemp()
shutil.copytree(repart_definitions, temp, dirs_exist_ok=True)
target_dir = Path("amended-repart.d")
target_dir.mkdir()
shutil.copytree(repart_definitions, target_dir, dirs_exist_ok=True)
for name, config in partition_config.items():
definition = Path(f"{temp}/{name}.conf")
os.chmod(definition, 0o644)
definition = target_dir.joinpath(f"{name}.conf")
definition.chmod(0o644)
contents = config.get("contents")
add_contents_to_definition(definition, contents)
@ -106,7 +105,7 @@ def main() -> None:
strip_nix_store_prefix = config.get("stripStorePaths")
add_closure_to_definition(definition, closure, strip_nix_store_prefix)
print(temp)
print(target_dir.absolute())
if __name__ == "__main__":

View file

@ -865,7 +865,6 @@
./services/networking/croc.nix
./services/networking/dante.nix
./services/networking/dhcpcd.nix
./services/networking/dhcpd.nix
./services/networking/dnscache.nix
./services/networking/dnscrypt-proxy2.nix
./services/networking/dnscrypt-wrapper.nix

View file

@ -114,6 +114,16 @@ in
(mkRemovedOptionModule [ "services" "rtsp-simple-server" ] "Package has been completely rebranded by upstream as mediamtx, and thus the service and the package were renamed in NixOS as well.")
(mkRemovedOptionModule [ "i18n" "inputMethod" "fcitx" ] "The fcitx module has been removed. Please use fcitx5 instead")
(mkRemovedOptionModule [ "services" "dhcpd4" ] ''
The dhcpd4 module has been removed because ISC DHCP reached its end of life.
See https://www.isc.org/blogs/isc-dhcp-eol/ for details.
Please switch to a different implementation like kea or dnsmasq.
'')
(mkRemovedOptionModule [ "services" "dhcpd6" ] ''
The dhcpd6 module has been removed because ISC DHCP reached its end of life.
See https://www.isc.org/blogs/isc-dhcp-eol/ for details.
Please switch to a different implementation like kea or dnsmasq.
'')
# Do NOT add any option renames here, see top of the file
];

View file

@ -451,6 +451,7 @@ in {
"eufylife_ble"
"esphome"
"fjaraskupan"
"gardena_bluetooth"
"govee_ble"
"homekit_controller"
"inkbird"

View file

@ -1,230 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg4 = config.services.dhcpd4;
cfg6 = config.services.dhcpd6;
writeConfig = postfix: cfg: pkgs.writeText "dhcpd.conf"
''
default-lease-time 600;
max-lease-time 7200;
${optionalString (!cfg.authoritative) "not "}authoritative;
ddns-update-style interim;
log-facility local1; # see dhcpd.nix
${cfg.extraConfig}
${lib.concatMapStrings
(machine: ''
host ${machine.hostName} {
hardware ethernet ${machine.ethernetAddress};
fixed-address${
optionalString (postfix == "6") postfix
} ${machine.ipAddress};
}
'')
cfg.machines
}
'';
dhcpdService = postfix: cfg:
let
configFile =
if cfg.configFile != null
then cfg.configFile
else writeConfig postfix cfg;
leaseFile = "/var/lib/dhcpd${postfix}/dhcpd.leases";
args = [
"@${pkgs.dhcp}/sbin/dhcpd" "dhcpd${postfix}" "-${postfix}"
"-pf" "/run/dhcpd${postfix}/dhcpd.pid"
"-cf" configFile
"-lf" leaseFile
] ++ cfg.extraFlags
++ cfg.interfaces;
in
optionalAttrs cfg.enable {
"dhcpd${postfix}" = {
description = "DHCPv${postfix} server";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
preStart = "touch ${leaseFile}";
serviceConfig = {
ExecStart = concatMapStringsSep " " escapeShellArg args;
Type = "forking";
Restart = "always";
DynamicUser = true;
User = "dhcpd";
Group = "dhcpd";
AmbientCapabilities = [
"CAP_NET_RAW" # to send ICMP messages
"CAP_NET_BIND_SERVICE" # to bind on DHCP port (67)
];
StateDirectory = "dhcpd${postfix}";
RuntimeDirectory = "dhcpd${postfix}";
PIDFile = "/run/dhcpd${postfix}/dhcpd.pid";
};
};
};
machineOpts = { ... }: {
options = {
hostName = mkOption {
type = types.str;
example = "foo";
description = lib.mdDoc ''
Hostname which is assigned statically to the machine.
'';
};
ethernetAddress = mkOption {
type = types.str;
example = "00:16:76:9a:32:1d";
description = lib.mdDoc ''
MAC address of the machine.
'';
};
ipAddress = mkOption {
type = types.str;
example = "192.168.1.10";
description = lib.mdDoc ''
IP address of the machine.
'';
};
};
};
dhcpConfig = postfix: {
enable = mkOption {
type = types.bool;
default = false;
description = lib.mdDoc ''
Whether to enable the DHCPv${postfix} server.
'';
};
extraConfig = mkOption {
type = types.lines;
default = "";
example = ''
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.5;
option domain-name-servers 130.161.158.4, 130.161.33.17, 130.161.180.1;
option domain-name "example.org";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.100 192.168.1.200;
}
'';
description = lib.mdDoc ''
Extra text to be appended to the DHCP server configuration
file. Currently, you almost certainly need to specify something
there, such as the options specifying the subnet mask, DNS servers,
etc.
'';
};
extraFlags = mkOption {
type = types.listOf types.str;
default = [];
description = lib.mdDoc ''
Additional command line flags to be passed to the dhcpd daemon.
'';
};
configFile = mkOption {
type = types.nullOr types.path;
default = null;
description = lib.mdDoc ''
The path of the DHCP server configuration file. If no file
is specified, a file is generated using the other options.
'';
};
interfaces = mkOption {
type = types.listOf types.str;
default = ["eth0"];
description = lib.mdDoc ''
The interfaces on which the DHCP server should listen.
'';
};
machines = mkOption {
type = with types; listOf (submodule machineOpts);
default = [];
example = [
{ hostName = "foo";
ethernetAddress = "00:16:76:9a:32:1d";
ipAddress = "192.168.1.10";
}
{ hostName = "bar";
ethernetAddress = "00:19:d1:1d:c4:9a";
ipAddress = "192.168.1.11";
}
];
description = lib.mdDoc ''
A list mapping Ethernet addresses to IPv${postfix} addresses for the
DHCP server.
'';
};
authoritative = mkOption {
type = types.bool;
default = true;
description = lib.mdDoc ''
Whether the DHCP server shall send DHCPNAK messages to misconfigured
clients. If this is not done, clients may be unable to get a correct
IP address after changing subnets until their old lease has expired.
'';
};
};
in
{
imports = [
(mkRenamedOptionModule [ "services" "dhcpd" ] [ "services" "dhcpd4" ])
] ++ flip map [ "4" "6" ] (postfix:
mkRemovedOptionModule [ "services" "dhcpd${postfix}" "stateDir" ] ''
The DHCP server state directory is now managed with the systemd's DynamicUser mechanism.
This means the directory is named after the service (dhcpd${postfix}), created under
/var/lib/private/ and symlinked to /var/lib/.
''
);
###### interface
options = {
services.dhcpd4 = dhcpConfig "4";
services.dhcpd6 = dhcpConfig "6";
};
###### implementation
config = mkIf (cfg4.enable || cfg6.enable) {
systemd.services = dhcpdService "4" cfg4 // dhcpdService "6" cfg6;
warnings = [
''
The dhcpd4 and dhcpd6 modules will be removed from NixOS 23.11, because ISC DHCP reached its end of life.
See https://www.isc.org/blogs/isc-dhcp-eol/ for details.
Please switch to a different implementation like kea, systemd-networkd or dnsmasq.
''
];
};
}

View file

@ -335,7 +335,7 @@ let
+ ";"))
+ "
listen ${addr}:${toString port} "
+ optionalString (ssl && vhost.http2) "http2 "
+ optionalString (ssl && vhost.http2 && oldHTTP2) "http2 "
+ optionalString ssl "ssl "
+ optionalString vhost.default "default_server "
+ optionalString vhost.reuseport "reuseport "
@ -380,6 +380,9 @@ let
server {
${concatMapStringsSep "\n" listenString hostListen}
server_name ${vhost.serverName} ${concatStringsSep " " vhost.serverAliases};
${optionalString (hasSSL && vhost.http2 && !oldHTTP2) ''
http2 on;
''}
${optionalString (hasSSL && vhost.quic) ''
http3 ${if vhost.http3 then "on" else "off"};
http3_hq ${if vhost.http3_hq then "on" else "off"};
@ -463,6 +466,8 @@ let
);
mkCertOwnershipAssertion = import ../../../security/acme/mk-cert-ownership-assertion.nix;
oldHTTP2 = versionOlder cfg.package.version "1.25.1";
in
{

View file

@ -32,7 +32,15 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
in
''
with subtest("Wait for login"):
machine.wait_for_x()
# wait_for_x() checks graphical-session.target, which is expected to be
# inactive on Budgie before #228946 (i.e. systemd managed gnome-session) is
# done on upstream.
# https://github.com/BuddiesOfBudgie/budgie-desktop/blob/v10.7.2/src/session/budgie-desktop.in#L16
#
# Previously this was unconditionally touched by xsessionWrapper but was
# changed in #233981 (we have Budgie:GNOME in XDG_CURRENT_DESKTOP).
# machine.wait_for_x()
machine.wait_until_succeeds('journalctl -t gnome-session-binary --grep "Entering running state"')
machine.wait_for_file("${user.home}/.Xauthority")
machine.succeed("xauth merge ${user.home}/.Xauthority")

View file

@ -4,7 +4,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
nodes.machine = { nodes, ... }:
let
user = nodes.machine.config.users.users.alice;
user = nodes.machine.users.users.alice;
in
{ imports = [ ./common/user-account.nix ];
@ -27,12 +27,20 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
};
testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
user = nodes.machine.users.users.alice;
uid = toString user.uid;
xauthority = "/run/user/${uid}/gdm/Xauthority";
in ''
with subtest("Login to GNOME Flashback with GDM"):
machine.wait_for_x()
# wait_for_x() checks graphical-session.target, which is expected to be
# inactive on gnome-flashback before #228946 (i.e. systemd managed
# gnome-session) is done.
# https://github.com/NixOS/nixpkgs/pull/208060
#
# Previously this was unconditionally touched by xsessionWrapper but was
# changed in #233981 (we have GNOME-Flashback:GNOME in XDG_CURRENT_DESKTOP).
# machine.wait_for_x()
machine.wait_until_succeeds('journalctl -t gnome-session-binary --grep "Entering running state"')
# Wait for alice to be logged in"
machine.wait_for_unit("default.target", "${user.name}")
machine.wait_for_file("${xauthority}")

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];
makeFlags = [ "DESTDIR=\${out}" "PREFIX=''" ];
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
nativeBuildInputs = [ pkg-config wrapGAppsHook4 ];
buildInputs = [ gtk4 alsa-lib ];
postInstall = ''

View file

@ -1,11 +1,13 @@
{ stdenv
, lib
, fetchFromGitHub
, gitUpdater
, pkg-config
, qmake
, qt5compat ? null
, qtbase
, qttools
, qtwayland
, rtaudio
, rtmidi
, wrapQtAppsHook
@ -13,16 +15,16 @@
assert lib.versionAtLeast qtbase.version "6.0" -> qt5compat != null;
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "bambootracker";
version = "0.6.1";
version = "0.6.2";
src = fetchFromGitHub {
owner = "BambooTracker";
repo = "BambooTracker";
rev = "v${version}";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-Ymi1tjJCgStF0Rtseelq/YuTtBs2PrbF898TlbjyYUw=";
hash = "sha256-rn6PNxVsLEXz8q3nvMMhKV1/Woq2CxROf0qsQJykyUs=";
};
postPatch = lib.optionalString (lib.versionAtLeast qtbase.version "6.0") ''
@ -41,14 +43,16 @@ stdenv.mkDerivation rec {
buildInputs = [
qtbase
rtaudio
rtmidi
] ++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland
] ++ lib.optionals (lib.versionAtLeast qtbase.version "6.0") [
qt5compat
];
] ++ rtaudio.buildInputs;
qmakeFlags = [
"CONFIG+=system_rtaudio"
# we don't have RtAudio 6 yet: https://github.com/NixOS/nixpkgs/pull/245075
# "CONFIG+=system_rtaudio"
"CONFIG+=system_rtmidi"
];
@ -64,6 +68,12 @@ stdenv.mkDerivation rec {
wrapQtApp $out/Applications/BambooTracker.app/Contents/MacOS/BambooTracker
'';
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
};
};
meta = with lib; {
description = "A tracker for YM2608 (OPNA) which was used in NEC PC-8801/9801 series computers";
homepage = "https://bambootracker.github.io/BambooTracker/";
@ -71,4 +81,4 @@ stdenv.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
};
}
})

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
sourceRoot = "source/src";
sourceRoot = "${finalAttrs.src.name}/src";
postPatch = ''
echo '#define GIT_REVISION "${finalAttrs.version}-NixOS"' > git-rev.h

View file

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1rasp2v1ds2aw296lbf27rzw0l9fjl0cvbvw85d5ycvh6wkm301p";
};
sourceRoot = "source/muse3";
sourceRoot = "${src.name}/muse3";
patches = [ ./fix-parallel-building.patch ];

View file

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
libjack2
];
sourceRoot = "source/picoloop";
sourceRoot = "${src.name}/picoloop";
makeFlags = [ "-f Makefile.PatternPlayer_debian_RtAudio_sdl20" ];

View file

@ -68,7 +68,7 @@ mkDerivation rec {
buildInputs = [ taglib ] ++ runtimeDeps;
# encoder plugins go to ${out}/lib so they're found by kbuildsycoca5
cmakeFlags = [ "-DCMAKE_INSTALL_PREFIX=$out" ];
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
# add runt-time deps to PATH
postInstall = ''
wrapProgram $out/bin/soundkonverter --prefix PATH : ${lib.makeBinPath runtimeDeps }

View file

@ -12,7 +12,7 @@ let
pname = "rnnoise-nu";
version = "unstable-07-10-2019";
src = speech-denoiser-src;
sourceRoot = "source/rnnoise";
sourceRoot = "${speech-denoiser-src.name}/rnnoise";
nativeBuildInputs = [ autoreconfHook ];
configureFlags = [ "--disable-examples" "--disable-doc" "--disable-shared" "--enable-static" ];
installTargets = [ "install-rnnoise-nu" ];

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-oY1aGl5CKVtpOfh8Wskio/huWYMiPuxWPqxlooTutcw=";
};
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
nativeBuildInputs = [
cmake

View file

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
hash = "sha256-zFwfKy8CVecGhgr48T+eDNHfMdctfrNGenc/XJctyw8=";
};
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
postPatch = ''
substituteInPlace Misc/Config.cpp --replace /usr $out

View file

@ -28,7 +28,7 @@ let
pname = "tsc";
commit = version;
sourceRoot = "source/core";
sourceRoot = "${src.name}/core";
recipe = writeText "recipe" ''
(tsc
@ -44,7 +44,7 @@ let
pname = "tsc-dyn";
nativeBuildInputs = [ rustPlatform.bindgenHook ];
sourceRoot = "source/core";
sourceRoot = "${src.name}/core";
postInstall = ''
LIB=($out/lib/libtsc_dyn.*)

View file

@ -96,12 +96,12 @@ if __name__ == "__main__":
drv_path = eval_drv(
nixpkgs,
"""
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "tsc-dyn";
version = "%s";
nativeBuildInputs = [ clang ];
src = fetchFromGitHub (lib.importJSON %s);
sourceRoot = "source/core";
sourceRoot = "${src.name}/core";
cargoHash = lib.fakeHash;
}
"""

View file

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, pkg-config, SDL2, gtk2, mpfr }:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "basiliskii";
version = "unstable-2022-09-30";
@ -9,7 +9,7 @@ stdenv.mkDerivation {
rev = "2fa17a0783cf36ae60b77b5ed930cda4dc1824af";
sha256 = "+jkns6H2YjlewbUzgoteGSQYWJL+OWVu178aM+BtABM=";
};
sourceRoot = "source/BasiliskII/src/Unix";
sourceRoot = "${finalAttrs.src.name}/BasiliskII/src/Unix";
patches = [ ./remove-redhat-6-workaround-for-scsi-sg.h.patch ];
nativeBuildInputs = [ autoconf automake pkg-config ];
buildInputs = [ SDL2 gtk2 mpfr ];
@ -25,4 +25,4 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ quag ];
platforms = platforms.linux;
};
}
})

View file

@ -7,13 +7,13 @@
stdenv.mkDerivation {
pname = "uxn";
version = "unstable-2023-07-26";
version = "unstable-2023-07-30";
src = fetchFromSourcehut {
owner = "~rabbits";
repo = "uxn";
rev = "e2e5e8653193e2797131813938cb0d633ca3f40c";
hash = "sha256-VZYvpHUyNeJMsX2ccLEBRuHgdgwOVuv+iakPiHnGAfg=";
rev = "9ca8e9623d0ab1c299f08d3dd9d54098557f5749";
hash = "sha256-K51YiLnBwFWgD3h3l2BhsvzhnHHolZPsjjUWJSe4sPQ=";
};
buildInputs = [

View file

@ -1,19 +1,19 @@
# Generated by ./update.sh - do not update manually!
# Last updated: 2023-07-31
# Last updated: 2023-08-02
{
compatList = {
rev = "c40af830523cf820b6a391a3ef420bcc1b68b367";
rev = "95617e06f8f19e3dcd76b694d6ba87408011cd4d";
hash = "sha256:1hdsza3wf9a0yvj6h55gsl7xqvhafvbz1i8paz9kg7l49b0gnlh1";
};
mainline = {
version = "1513";
hash = "sha256:0mqrdsl55aimm39rws7ap6rw9qq6m4pzp7zlyvp3dchh1x58zzgq";
version = "1515";
hash = "sha256:0w9kg2rq43x9khws2yx6p7qad4xw6vkd04adiw021hjv1scajrlm";
};
ea = {
version = "3783";
distHash = "sha256:01prkdximgypikgggq2y53hlpf7gmg1z7zfbc9yi18f6s5cncs18";
fullHash = "sha256:0pggknr2sxlc3pdy3jh423318z8rr8f0iz43zw85qwhqnj1h9q19";
version = "3788";
distHash = "sha256:0w8jm51b2fwfbr5rmqdagjkay4kams2g12qqkqla6n696zn302jx";
fullHash = "sha256:1fdv7645ijnl58749f4qa5ni7bag4chmm1c8gvji5408grfp0ldq";
};
}

View file

@ -51,7 +51,7 @@ in
rustPlatform.buildRustPackage {
inherit version src pname;
sourceRoot = "source/src-tauri";
sourceRoot = "${src.name}/src-tauri";
cargoLock = {
lockFile = ./Cargo.lock;

View file

@ -56,7 +56,7 @@ let
src = djvSrc;
sourceRoot = "source/etc/SuperBuild";
sourceRoot = "${src.name}/etc/SuperBuild";
nativeBuildInputs = [ cmake ];
buildInputs = [

View file

@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
ln -s $out/share/Grabber/Grabber-cli $out/bin/Grabber-cli
'';
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
meta = with lib; {
description = "Very customizable imageboard/booru downloader with powerful filenaming features";

View file

@ -4,6 +4,7 @@
, boost
, cairo
, cmake
, desktopToDarwinBundle
, fetchurl
, gettext
, ghostscript
@ -78,16 +79,15 @@ stdenv.mkDerivation rec {
# e.g., those from the "Effects" menu.
python3 = "${python3Env}/bin/python";
})
(substituteAll {
# Fix path to ps2pdf binary
src = ./fix-ps2pdf-path.patch;
inherit ghostscript;
})
];
postPatch = ''
patchShebangs share/extensions
substituteInPlace share/extensions/eps_input.inx \
--replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
substituteInPlace share/extensions/ps_input.inx \
--replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
substituteInPlace share/extensions/ps_input.py \
--replace "call('ps2pdf'" "call('${ghostscript}/bin/ps2pdf'"
patchShebangs share/templates
patchShebangs man/fix-roff-punct
@ -107,7 +107,9 @@ stdenv.mkDerivation rec {
] ++ (with perlPackages; [
perl
XMLParser
]);
]) ++ lib.optionals stdenv.isDarwin [
desktopToDarwinBundle
];
buildInputs = [
boehmgc

View file

@ -0,0 +1,36 @@
diff -Naur inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/eps_input.inx inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/eps_input.inx
--- inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/eps_input.inx 2023-08-02 22:22:32.000000000 +0400
+++ inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/eps_input.inx 2023-08-02 22:23:34.000000000 +0400
@@ -3,7 +3,7 @@
<name>EPS Input</name>
<id>org.inkscape.input.eps</id>
<dependency type="extension">org.inkscape.input.pdf</dependency>
- <dependency type="executable" location="path">ps2pdf</dependency>
+ <dependency type="executable" location="path">@ghostscript@/bin/ps2pdf</dependency>
<param name="crop" type="bool" gui-hidden="true">true</param>
<param name="autorotate" type="optiongroup" appearance="combo" gui-text="Determine page orientation from text direction"
gui-description="The PS/EPS importer can try to determine the page orientation such that the majority of the text runs left-to-right.">
diff -Naur inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/ps_input.inx inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/ps_input.inx
--- inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/ps_input.inx 2023-08-02 22:22:33.000000000 +0400
+++ inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/ps_input.inx 2023-08-02 22:24:00.000000000 +0400
@@ -3,7 +3,7 @@
<name>PostScript Input</name>
<id>org.inkscape.input.postscript_input</id>
<dependency type="extension">org.inkscape.input.pdf</dependency>
- <dependency type="executable" location="path">ps2pdf</dependency>
+ <dependency type="executable" location="path">@ghostscript@/bin/ps2pdf</dependency>
<param name="autorotate" type="optiongroup" appearance="combo" gui-text="Determine page orientation from text direction"
gui-description="The PS/EPS importer can try to determine the page orientation such that the majority of the text runs left-to-right.">
<option value="None">Disabled</option>
diff -Naur inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/ps_input.py inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/ps_input.py
--- inkscape-1.2.2_2022-12-01_b0a8486541.orig/share/extensions/ps_input.py 2023-08-02 22:22:32.000000000 +0400
+++ inkscape-1.2.2_2022-12-01_b0a8486541/share/extensions/ps_input.py 2023-08-02 22:23:48.000000000 +0400
@@ -79,7 +79,7 @@
else:
try:
call(
- "ps2pdf",
+ "@ghostscript@/bin/ps2pdf",
crop,
"-dAutoRotatePages=/" + self.options.autorotate,
input_file,

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, libevent, glew, glfw }:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "pixelnuke";
version = "unstable-2019-05-19";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "03dp0p00chy00njl4w02ahxqiwqpjsrvwg8j4yi4dgckkc3gbh40";
};
sourceRoot = "source/pixelnuke";
sourceRoot = "${finalAttrs.src.name}/pixelnuke";
buildInputs = [ libevent glew glfw ];
@ -26,4 +26,4 @@ stdenv.mkDerivation {
platforms = platforms.linux;
maintainers = with maintainers; [ mrVanDalo ];
};
}
})

View file

@ -37,6 +37,9 @@ let
sha256 = "sha256-N4U04znm5tULFzb7Ort28cFdG+P0wTzsbVNkEuI9pgM=";
};
arch = {
x86_64 = "amd64";
}.${stdenv.hostPlatform.parsed.cpu.name} or stdenv.hostPlatform.parsed.cpu.name;
in
stdenv.mkDerivation rec {
pname = "processing";
@ -50,16 +53,16 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ ant unzip makeWrapper wrapGAppsHook ];
buildInputs = [ jdk javaPackages.jogl_2_3_2 ant rsync ffmpeg batik ];
buildInputs = [ jdk javaPackages.jogl_2_4_0 ant rsync ffmpeg batik ];
dontWrapGApps = true;
buildPhase = ''
echo "tarring jdk"
tar --checkpoint=10000 -czf build/linux/jdk-17.0.6-amd64.tgz ${jdk}
tar --checkpoint=10000 -czf build/linux/jdk-17.0.6-${arch}.tgz ${jdk}
cp ${ant}/lib/ant/lib/{ant.jar,ant-launcher.jar} app/lib/
mkdir -p core/library
ln -s ${javaPackages.jogl_2_3_2}/share/java/* core/library/
ln -s ${javaPackages.jogl_2_4_0}/share/java/* core/library/
ln -s ${vaqua} app/lib/VAqua9.jar
ln -s ${flatlaf} app/lib/flatlaf.jar
ln -s ${lsp4j} java/mode/org.eclipse.lsp4j.jar

View file

@ -39,7 +39,7 @@ let
pname = "ETL";
inherit version src;
sourceRoot = "source/ETL";
sourceRoot = "${src.name}/ETL";
nativeBuildInputs = [
pkg-config
@ -54,7 +54,7 @@ let
pname = "synfig";
inherit version src;
sourceRoot = "source/synfig-core";
sourceRoot = "${src.name}/synfig-core";
configureFlags = [
"--with-boost=${boost.dev}"
@ -89,7 +89,7 @@ stdenv.mkDerivation {
pname = "synfigstudio";
inherit version src;
sourceRoot = "source/synfig-studio";
sourceRoot = "${src.name}/synfig-studio";
postPatch = ''
patchShebangs images/splash_screen_development.sh

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
cargoRoot = "src/fuzzy-finder";
cargoDeps = rustPlatform.fetchCargoTarball {
src = finalAttrs.src;
sourceRoot = "source/src/fuzzy-finder";
sourceRoot = "${finalAttrs.src.name}/src/fuzzy-finder";
hash = "sha256-CDKlmwA2Wj78xPaSiYPmIJ7xmiE5Co+oGGejZU3v1zI=";
};

View file

@ -21,5 +21,6 @@ stdenv.mkDerivation rec {
license = licenses.isc;
maintainers = with maintainers; [ SlothOfAnarchy ];
platforms = platforms.linux;
mainProgram = "batsignal";
};
}

View file

@ -13,7 +13,7 @@ mkDerivation rec {
nativeBuildInputs = [ qmake ];
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
installPhase = ''
runHook preInstall

View file

@ -0,0 +1,83 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, cmake
, libvorbis
, ffmpeg
, libeb
, hunspell
, opencc
, xapian
, libzim
, lzo
, xz
, tomlplusplus
, fmt
, bzip2
, libiconv
, libXtst
, qtbase
, qtsvg
, qtwebengine
, qttools
, qtwayland
, qt5compat
, qtmultimedia
, qtspeech
, wrapQtAppsHook
}:
stdenv.mkDerivation (finalAttrs: {
pname = "goldendict-ng";
version = "23.07.23";
src = fetchFromGitHub {
owner = "xiaoyifang";
repo = "goldendict-ng";
rev = "v${finalAttrs.version}";
hash = "sha256-ZKbrO5L4KFmr2NsGDihRWBeW0OXHoPRwZGj6kt1Anc8=";
};
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
buildInputs = [
qtbase
qtsvg
qttools
qtwebengine
qt5compat
qtmultimedia
qtspeech
libvorbis
tomlplusplus
fmt
hunspell
xz
lzo
libXtst
bzip2
libiconv
opencc
libeb
ffmpeg
xapian
libzim
];
cmakeFlags = [
"-DWITH_XAPIAN=ON"
"-DWITH_ZIM=ON"
"-DWITH_FFMPEG_PLAYER=ON"
"-DWITH_EPWING_SUPPORT=ON"
"-DUSE_SYSTEM_FMT=ON"
"-DUSE_SYSTEM_TOML=ON"
];
meta = with lib; {
homepage = "https://xiaoyifang.github.io/goldendict-ng/";
description = "Advanced multi-dictionary lookup program.";
platforms = platforms.linux;
maintainers = with maintainers; [ slbtty ];
license = licenses.gpl3Plus;
};
})

View file

@ -1,6 +1,8 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, guile
, guile-commonmark
, guile-reader
@ -17,7 +19,24 @@ stdenv.mkDerivation rec {
hash = "sha256-vPKLQ9hDJdimEAXwIBGgRRlefM8/77xFQoI+0J/lkNs=";
};
# Symbol not found: inotify_init
patches = [
(fetchpatch {
url = "https://git.dthompson.us/haunt.git/patch/?id=ab0b722b0719e3370a21359e4d511af9c4f14e60";
hash = "sha256-TPNJKGlbDkV9RpdN274qMLoN3HlwfH/yHpxlpqOPw58=";
})
(fetchpatch {
url = "https://git.dthompson.us/haunt.git/patch/?id=7d0b71f6a3f0e714da5a5c43e52408e27f44c383";
hash = "sha256-CW/h8CqsALKDuKRoN1bd/WEtFTvFj0VxtgmpatyrLm8=";
})
(fetchpatch {
url = "https://git.dthompson.us/haunt.git/patch/?id=1a91f3d0568fc095d8b0875c6553ef15b76efa4c";
hash = "sha256-+3wUlTuzbyGibAsCiYWKvzPqUrFs7VwdhnADjnPuWIY=";
})
];
nativeBuildInputs = [
autoreconfHook
makeWrapper
pkg-config
];

View file

@ -0,0 +1,40 @@
{ lib
, rustPlatform
, fetchFromGitHub
, installShellFiles
}:
rustPlatform.buildRustPackage rec {
pname = "hyprdim";
version = "2.0.1";
src = fetchFromGitHub {
owner = "donovanglover";
repo = pname;
rev = version;
hash = "sha256-0FSviEaKANTHBZa12NbNKnOfcbXQLQzJBGMDruq71+g=";
};
cargoHash = "sha256-eNtieSj4tr5CeH4BDclkp41QGQLkjYgLXil7sXQcfdU=";
nativeBuildInputs = [
installShellFiles
];
postInstall = ''
installManPage man/hyprdim.1
installShellCompletion --cmd hyprdim \
--bash <(cat completions/hyprdim.bash) \
--fish <(cat completions/hyprdim.fish) \
--zsh <(cat completions/_hyprdim)
'';
meta = with lib; {
description = "Automatically dim windows in Hyprland when switching between them";
homepage = "https://github.com/donovanglover/hyprdim";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ donovanglover ];
};
}

View file

@ -6,34 +6,32 @@
, makeWrapper
}:
let
sounds = fetchFromGitHub {
owner = "nivs1978";
repo = "Johnny-Castaway-Open-Source";
rev = "be6afefd43a3334acc66fc9d777c162c8bfb9558";
hash = "sha256-rtZVCn4KbEBVwaSQ4HZhMoDEI5Q9IPj9SZywgAx0MPY=";
};
resources = fetchzip {
name = "scrantic-source";
url = "https://archive.org/download/johnny-castaway-screensaver/scrantic-run.zip";
hash = "sha256-Q9chCYReOQEmkTyIkYo+D+OXYUqxPNOOEEmiFh8yaw4=";
stripRoot = false;
};
in
stdenvNoCC.mkDerivation {
pname = "johnny-reborn";
inherit (johnny-reborn-engine) version;
srcs =
let
sounds = fetchFromGitHub {
owner = "nivs1978";
repo = "Johnny-Castaway-Open-Source";
rev = "be6afefd43a3334acc66fc9d777c162c8bfb9558";
hash = "sha256-rtZVCn4KbEBVwaSQ4HZhMoDEI5Q9IPj9SZywgAx0MPY=";
};
resources = fetchzip {
name = "scrantic-source";
url = "https://archive.org/download/johnny-castaway-screensaver/scrantic-run.zip";
hash = "sha256-Q9chCYReOQEmkTyIkYo+D+OXYUqxPNOOEEmiFh8yaw4=";
stripRoot = false;
};
in
[
sounds
resources
];
srcs = [ sounds resources ];
nativeBuildInputs = [ makeWrapper ];
sourceRoot = "source";
sourceRoot = sounds.name;
dontConfigure = true;
dontBuild = true;

View file

@ -0,0 +1,59 @@
{ lib
, fetchFromGitHub
, atk
, gdk-pixbuf
, gobject-introspection
, gtk-layer-shell
, gtk3
, pango
, python310Packages
, wrapGAppsHook
}:
python310Packages.buildPythonApplication rec {
pname = "nwg-displays";
version = "0.3.7";
src = fetchFromGitHub {
owner = "nwg-piotr";
repo = "nwg-displays";
rev = "v${version}";
hash = "sha256-Y405ZeOSpc1aPKEzFdvlgJgpGAi9HUR+Hvx63uYdp88=";
};
nativeBuildInputs = [
gobject-introspection
wrapGAppsHook
];
buildInputs = [
gtk3
];
propagatedBuildInputs = [
atk
gdk-pixbuf
gtk-layer-shell
pango
python310Packages.gst-python
python310Packages.i3ipc
python310Packages.pygobject3
];
dontWrapGApps = true;
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}");
'';
# Upstream has no tests
doCheck = false;
meta = {
homepage = "https://github.com/nwg-piotr/nwg-displays";
description = "Output management utility for Sway and Hyprland";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = [ ];
};
}

View file

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
postPatch = ''
cp ${./Cargo.lock} Cargo.lock
'';
sourceRoot = "source/${cargoRoot}";
sourceRoot = "${src.name}/${cargoRoot}";
sha256 = "sha256-01MWuUUirsgpoprMArRp3qxKNayPHTkYWk31nXcIC34=";
};

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "pop";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitHub {
owner = "charmbracelet";
repo = "pop";
rev = "v${version}";
sha256 = "VzSPQZfapB44hzGumy8JKe+v+n6af9fRSlAq1F7olCo=";
hash = "sha256-ZGJkpa1EIw3tt1Ww2HFFoYsnnmnSAiv86XEB5TPf4/k=";
};
vendorSha256 = "VowqYygRKxpDJPfesJXBp00sBiHb57UMR/ZV//v7+90=";
vendorHash = "sha256-8YcJXvR0cdL9PlP74Qh6uN2XZoN16sz/yeeZlBsk5N8=";
GOWORK = "off";

View file

@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
hash = "sha256-v5yx8pE8+m+5CDy7X3CwitYhFQMX8Ynt8Y2k1lEZKpg=";
};
sourceRoot = "source/src-tauri";
sourceRoot = "${src.name}/src-tauri";
postPatch = ''
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \

View file

@ -17,7 +17,7 @@ mkDerivation rec {
sha256 = "06kg057vwkvafnk69m9rar4wih3vq4h36wbzwbfc2kndsnn47lfl";
};
sourceRoot = "source/src-qt5";
sourceRoot = "${src.name}/src-qt5";
nativeBuildInputs = [
qmake

View file

@ -67,5 +67,6 @@ buildPythonApplication rec {
license = licenses.gpl3;
maintainers = with maintainers; [ srghma ];
platforms = platforms.linux;
mainProgram = "safeeyes";
};
}

View file

@ -2,11 +2,9 @@
stdenv.mkDerivation {
pname = "spacenav-cube-example";
version = libspnav.version;
inherit (libspnav) version src;
src = libspnav.src;
sourceRoot = "source/examples/cube";
sourceRoot = "${libspnav.src.name}/examples/cube";
buildInputs = [ libX11 mesa_glu libspnav ];

View file

@ -44,7 +44,7 @@ let
src = subsurfaceSrc;
sourceRoot = "source/libdivecomputer";
sourceRoot = "${subsurfaceSrc.name}/libdivecomputer";
nativeBuildInputs = [ autoreconfHook pkg-config ];

View file

@ -22,14 +22,14 @@
stdenv.mkDerivation rec {
pname = "valent";
version = "unstable-2023-06-11";
version = "unstable-2023-07-31";
src = fetchFromGitHub {
owner = "andyholmes";
repo = "valent";
rev = "e6a121efa7eb7b432517d610de4deea6dfa876b0";
rev = "698f39b496957d50c68437f16e74a7ac41eb5147";
fetchSubmodules = true;
hash = "sha256-8X4Yu8VY5ehptJN1KtsCuoECtEZNLZMzOvU91j8UmDk=";
hash = "sha256-AdW6oMRVIgat8XlH342PEwe6BfkzKVLSadGOTLGwzwo=";
};
nativeBuildInputs = [

View file

@ -44,12 +44,15 @@ stdenv.mkDerivation (finalAttrs: {
outputs = [ "out" "man" ];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
bison
flex
meson
ninja
pkg-config
scdoc
wayland-scanner
];
@ -62,7 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
pipewire
pixman
pulseaudio
scdoc
tllist
udev
] ++ lib.optionals (waylandSupport) [

View file

@ -16,7 +16,7 @@ buildPythonApplication {
pname = "yubioath-flutter-helper";
inherit src version meta;
sourceRoot = "source/helper";
sourceRoot = "${src.name}/helper";
format = "pyproject";
postPatch = ''

View file

@ -18,7 +18,7 @@ buildGoModule rec {
pname = "browsh";
sourceRoot = "source/interfacer";
sourceRoot = "${src.name}/interfacer";
src = fetchFromGitHub {
owner = "browsh-org";

View file

@ -10,7 +10,7 @@
, nixosTests
}:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "ladybird";
version = "unstable-2023-01-17";
@ -21,7 +21,7 @@ stdenv.mkDerivation {
hash = "sha256-n2mLg9wNfdMGsJuGj+ukjto9qYjGOIz4cZjgvMGQUrY=";
};
sourceRoot = "source/Ladybird";
sourceRoot = "${finalAttrs.src.name}/Ladybird";
postPatch = ''
substituteInPlace CMakeLists.txt \
@ -70,4 +70,4 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ fgaz ];
platforms = platforms.unix;
};
}
})

View file

@ -6,16 +6,16 @@
buildGoModule rec {
pname = "kubecfg";
version = "0.31.4";
version = "0.32.0";
src = fetchFromGitHub {
owner = "kubecfg";
repo = "kubecfg";
rev = "v${version}";
hash = "sha256-1hjSuHGZ7NTsYLeV9Cw3wP5tUdAHRSmGlKkL54G/09U=";
hash = "sha256-qjXc/2QY0PukvhiudukZGhBkovQMutsLg3Juxg1mgTc=";
};
vendorHash = "sha256-0cpb5thhTJ7LPOYSd4WSPnS9OTXU608nk8xX5bsAm5w=";
vendorHash = "sha256-9kVFOEMFjix2WRwGi0jWHPagzXkISucGHmd88vcBJfk=";
ldflags = [
"-s"

View file

@ -20,13 +20,13 @@
buildGoModule rec {
pname = "kubernetes";
version = "1.27.3";
version = "1.27.4";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
hash = "sha256-g/YRwhhGjeBhbSFS/6xJbljTTMiwJHE3WRySwJlzKys=";
hash = "sha256-Tb+T7kJHyZPXwUcEATj3jBr9qa7Sk6b+wL8HhqFOhYM=";
};
vendorHash = null;

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "kubevpn";
version = "1.1.34";
version = "1.1.35";
src = fetchFromGitHub {
owner = "KubeNetworks";
repo = "kubevpn";
rev = "v${version}";
sha256 = "sha256-P4lROZ6UxsCtMwGWIDBkXjd8v/wtD7u9LBoUUzP9Tz0=";
sha256 = "sha256-fY0SKluJ1SG323rV7eDdhmDSMn49aITXYyFhR2ArFTw=";
};
vendorHash = "sha256-LihRVqVMrN45T9NLOQw/EsrEMTSLYYhWzVm+lYXtFRQ=";
vendorHash = "sha256-aU8/C/p/VQ3JYApgr/i5dE/nBs0QjsvXBSMnEmj/Sno=";
# TODO investigate why some config tests are failing
doCheck = false;

View file

@ -827,11 +827,11 @@
"vendorHash": "sha256-LRIfxQGwG988HE5fftGl6JmBG7tTknvmgpm4Fu1NbWI="
},
"oci": {
"hash": "sha256-GH8y9NkoNydzEpwl6wxmHIpaq6IfRv8cOz/NidiT488=",
"hash": "sha256-PLlgHUIQWxBCBmTRuQ6RSLuqkilqUb4svmklbSoYEtA=",
"homepage": "https://registry.terraform.io/providers/oracle/oci",
"owner": "oracle",
"repo": "terraform-provider-oci",
"rev": "v5.6.0",
"rev": "v5.7.0",
"spdx": "MPL-2.0",
"vendorHash": null
},
@ -980,13 +980,13 @@
"vendorHash": null
},
"scaleway": {
"hash": "sha256-NFBDqRVlSzEHTptAWg3OnK5zYm6JnvuzZnfh8mTtl2Q=",
"hash": "sha256-xllc6uQN0Pjak/8eFNWCn639Kpf2UQPoDUPnX9YhoOc=",
"homepage": "https://registry.terraform.io/providers/scaleway/scaleway",
"owner": "scaleway",
"repo": "terraform-provider-scaleway",
"rev": "v2.25.1",
"rev": "v2.26.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-rgM+TkygUIUXbw+QNsZOr003A/42iC52Zybw2zBJ15U="
"vendorHash": "sha256-39MrDm4v7UIYDK/KNt9ES0SstkxEQ73CHvnxpZq1K5g="
},
"secret": {
"hash": "sha256-MmAnA/4SAPqLY/gYcJSTnEttQTsDd2kEdkQjQj6Bb+A=",
@ -1025,11 +1025,11 @@
"vendorHash": "sha256-MIO0VHofPtKPtynbvjvEukMNr5NXHgk7BqwIhbc9+u0="
},
"signalfx": {
"hash": "sha256-ez9mmgzurLPBya6eJW2iWNtiTt8yg63Yavf6xiplZ9w=",
"hash": "sha256-zIXlrb/2g/N/slOfvyLmNG2keGXKTes0rHXJmZLV0Sg=",
"homepage": "https://registry.terraform.io/providers/splunk-terraform/signalfx",
"owner": "splunk-terraform",
"repo": "terraform-provider-signalfx",
"rev": "v8.0.0",
"rev": "v8.1.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-PQU4VC5wHcB70UkZaRT8jtz+qOAONU2SxtRrTmml9vY="
},
@ -1197,12 +1197,12 @@
"vendorHash": "sha256-ZOJ4J+t8YIWAFZe9dnVHezdXdjz5y2ho53wmyS4dJEo="
},
"vault": {
"hash": "sha256-XwM+WDfeWKwSz9pboaf5JfP2PrXevaRUw/YRnw8XXGw=",
"hash": "sha256-lnM52d7J36wu9MYh13IFSR15rMfJpXP4tw47LzRy4o4=",
"homepage": "https://registry.terraform.io/providers/hashicorp/vault",
"owner": "hashicorp",
"proxyVendor": true,
"repo": "terraform-provider-vault",
"rev": "v3.18.0",
"rev": "v3.19.0",
"spdx": "MPL-2.0",
"vendorHash": "sha256-xd2tsJ5k/8PCSegHqeyJ1ePFBS0ho8SD+4m4QyFMTL0="
},

View file

@ -12,7 +12,7 @@ let
hash = "sha256-xhBIJcEtxDdMXSgQtLAV0UWzPtrvKEil0WV76K5ycBc=";
};
sourceRoot = "source/frontend";
sourceRoot = "${src.name}/frontend";
npmDepsHash = "sha256-acNIMKHc4q7eiFLPBtKZBNweEsrt+//0VR6dqwXHTvA=";

View file

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "flexget";
version = "3.7.11";
version = "3.8.0";
format = "pyproject";
# Fetch from GitHub in order to use `requirements.in`
@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "Flexget";
repo = "Flexget";
rev = "refs/tags/v${version}";
hash = "sha256-rrxY5liF4IzuaZ3kjJ2zEUzK1p7jGbS/T/bM1HQGzbA=";
hash = "sha256-sAA01/Hs8yGFJM+ttwhonrBqTpGsEoWrYDU8w/YmE6A=";
};
postPatch = ''

View file

@ -59,7 +59,7 @@ in
pname = "gephgui";
inherit version src;
sourceRoot = "source/gephgui-wry/gephgui";
sourceRoot = "${src.name}/gephgui-wry/gephgui";
postPatch = "ln -s ${./package-lock.json} ./package-lock.json";
@ -79,7 +79,7 @@ in
pname = "gephgui-wry";
inherit version src;
sourceRoot = "source/gephgui-wry";
sourceRoot = "${src.name}/gephgui-wry";
cargoHash = "sha256-lidlUUfHXKPUlICdaVv/SFlyyWsZ7cYHyTJ3kkMn3L4=";

View file

@ -14,7 +14,7 @@ in rustPlatform.buildRustPackage rec {
hash = pinData.srcHash;
};
sourceRoot = "source/seshat-node/native";
sourceRoot = "${src.name}/seshat-node/native";
nativeBuildInputs = [ nodejs python3 yarn ];
buildInputs = [ sqlcipher ] ++ lib.optional stdenv.isDarwin CoreServices;

View file

@ -113,7 +113,7 @@ stdenv.mkDerivation rec {
daemon = stdenv.mkDerivation {
pname = "jami-daemon";
inherit src version meta;
sourceRoot = "source/daemon";
sourceRoot = "${src.name}/daemon";
nativeBuildInputs = [
autoreconfHook

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-VWsoyFG+Ro+Y6ngSTMQ7yBYf6awCMNOc6U0WqNeg/jU=";
};
sourceRoot = "source/steam-mobile";
sourceRoot = "${src.name}/steam-mobile";
installFlags = [
"PLUGIN_DIR_PURPLE=${placeholder "out"}/lib/purple-2"

View file

@ -1,8 +1,8 @@
{ callPackage }: builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
signal-desktop = {
dir = "Signal";
version = "6.23.0";
hash = "sha256-WZe1fJ6H+h7QcXn+gR7OJ+KSOgd9NxTDLMs7UOFeq70=";
version = "6.27.1";
hash = "sha256-nEOt6bep6SqhAab8yD9NlRrDGU2IvZeOxSqPj2u1bio=";
};
signal-desktop-beta = {
dir = "Signal Beta";

View file

@ -13,7 +13,7 @@ let
fs-repo-common = pname: version: buildGoModule {
inherit pname version;
inherit (kubo-migrator-unwrapped) src;
sourceRoot = "source/${pname}";
sourceRoot = "${kubo-migrator-unwrapped.src.name}/${pname}";
vendorSha256 = null;
# Fix build on Go 1.17 and later: panic: qtls.ClientHelloInfo doesn't match
# See https://github.com/ipfs/fs-repo-migrations/pull/163

View file

@ -19,7 +19,7 @@ buildGoModule rec {
hash = "sha256-y0IYSKKZlFbPrTUC6XqYKhS3a79rieNGBL58teWMlC4=";
};
sourceRoot = "source/fs-repo-migrations";
sourceRoot = "${src.name}/fs-repo-migrations";
vendorHash = "sha256-/DqkBBtR/nU8gk3TFqNKY5zQU6BFMc3N8Ti+38mi/jk=";

View file

@ -11,7 +11,7 @@ buildGoModule {
src
;
sourceRoot = "source/wireguard/libwg";
sourceRoot = "${mullvad.src.name}/wireguard/libwg";
vendorSha256 = "QNde5BqkSuqp3VJQOhn7aG6XknRDZQ62PE3WGhEJ5LU=";

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
hash = "sha256-wbdamPi2XSLWeprrYZtBUDH1A2gdp6/5geFZv+ZqSWk=";
};
sourceRoot = "source/client";
sourceRoot = "${src.name}/client";
nativeBuildInputs = [ cmake wrapQtAppsHook ];
buildInputs = [ qtbase ];

View file

@ -10,13 +10,13 @@
stdenv.mkDerivation rec {
pname = "dayon";
version = "11.0.7";
version = "12.0.1";
src = fetchFromGitHub {
owner = "RetGal";
repo = "dayon";
rev = "v${version}";
hash = "sha256-3TbJVM5po4aUAOsY7JJs/b5tUzH3WGnca/H83IeMQ2s=";
hash = "sha256-SCInonMTvBXtiDxWlN8QWNS+8MFB52vloonqfLcAEis=";
};
# https://github.com/RetGal/Dayon/pull/66

View file

@ -1,7 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, gitUpdater
, nix-update-script
, makeWrapper
, openssh
, libxcrypt
@ -11,26 +11,23 @@
buildGoModule rec {
pname = "shellhub-agent";
version = "0.12.3";
version = "0.12.4";
src = fetchFromGitHub {
owner = "shellhub-io";
repo = "shellhub";
rev = "v${version}";
hash = "sha256-WKMy2JttXFRcW1yb5aQ6xe8BoSoN65K8Hlmac62+QPc=";
hash = "sha256-OvXbc3feCatyubbRZlaiXvGP59ApyAS0b0Z6SeJsZnE=";
};
modRoot = "./agent";
vendorHash = "sha256-BqzpQcL3U6SIrDW5NfBG0D2zyvv1zNu7uoOBYmKbF4Y=";
vendorHash = "sha256-qQRi4GeepRpYPhE5ftUj01tMCqBh5txbizfkVXmrgOQ=";
ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
passthru = {
updateScript = gitUpdater {
rev-prefix = "v";
ignoredVersions = ".(rc|beta).*";
};
updateScript = nix-update-script { };
tests.version = testers.testVersion {
package = shellhub-agent;

View file

@ -11,7 +11,7 @@ buildPythonPackage rec {
pname = "openpaperwork-core";
inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
sourceRoot = "source/openpaperwork-core";
sourceRoot = "${src.name}/openpaperwork-core";
# Python 2.x is not supported.
disabled = !isPy3k && !isPyPy;

View file

@ -17,7 +17,7 @@ buildPythonPackage rec {
pname = "openpaperwork-gtk";
inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
sourceRoot = "source/openpaperwork-gtk";
sourceRoot = "${src.name}/openpaperwork-gtk";
# Python 2.x is not supported.
disabled = !isPy3k && !isPyPy;

View file

@ -30,7 +30,7 @@ buildPythonPackage rec {
pname = "paperwork-backend";
inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
sourceRoot = "source/paperwork-backend";
sourceRoot = "${src.name}/paperwork-backend";
patches = [
# disables a flaky test https://gitlab.gnome.org/World/OpenPaperwork/paperwork/-/issues/1035#note_1493700

View file

@ -41,7 +41,7 @@ python3Packages.buildPythonApplication rec {
src = sample_documents;
};
sourceRoot = "source/paperwork-gtk";
sourceRoot = "${src.name}/paperwork-gtk";
# Patch out a few paths that assume that we're using the FHS:
postPatch = ''

View file

@ -20,7 +20,7 @@ buildPythonPackage rec {
pname = "paperwork-shell";
inherit (import ./src.nix { inherit fetchFromGitLab; }) version src;
sourceRoot = "source/paperwork-shell";
sourceRoot = "${src.name}/paperwork-shell";
# Python 2.x is not supported.
disabled = !isPy3k && !isPyPy;

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "11r5ag2l5xn4pr7ycicm30w9c3ldn9yiqj1sqnjc79csxl2vrcfw";
};
sourceRoot = "source/host";
sourceRoot = "${src.name}/host";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libbtbb libpcap libusb1 bluez ];

View file

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
hash = "sha256-NpnJziZXga/T5OavUt3nQ5np8kJ9CFcSmwyg4m6IJsk=";
};
sourceRoot = "source/src";
sourceRoot = "${src.name}/src";
installPhase = ''
install -m755 -D Linux/muscle $out/bin/muscle

View file

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-58Y4lzqXwBhRlXcionUg2IhAg5znNUuyr/FsuNZd+5Q=";
};
sourceRoot = "source/source";
sourceRoot = "${src.name}/source";
postPatch = ''
substituteInPlace Makefile --replace "/bin/rm" "rm"

View file

@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
})
];
sourceRoot = "source/tandem_aligner";
sourceRoot = "${finalAttrs.src.name}/tandem_aligner";
nativeBuildInputs = [ cmake ];

View file

@ -12,7 +12,7 @@ buildPythonPackage {
format = "pyproject";
sourceRoot = "source/build/python";
sourceRoot = "${autodock-vina.src.name}/build/python";
postPatch = ''
# wildcards are not allowed

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
src = z3.src;
sourceRoot = "source/examples/tptp";
sourceRoot = "${src.name}/examples/tptp";
nativeBuildInputs = [cmake];
buildInputs = [z3];

View file

@ -11,8 +11,8 @@
let
inherit (pkgs) symlinkJoin callPackage nodePackages;
python3 = pkgs.python3.override {
packageOverrides = self: super: {
python3 = pkgs.python3 // {
pkgs = pkgs.python3.pkgs.overrideScope (self: super: {
# `sagelib`, i.e. all of sage except some wrappers and runtime dependencies
sagelib = self.callPackage ./sagelib.nix {
inherit flint arb;
@ -29,7 +29,7 @@ let
sage-setup = self.callPackage ./python-modules/sage-setup.nix {
inherit sage-src;
};
};
});
};
jupyter-kernel-definition = {

View file

@ -44,6 +44,5 @@ mavenJdk11.buildMavenPackage rec {
];
license = licenses.gpl3;
maintainers = [ maintainers.taeer ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -43,16 +43,16 @@ let
in
rustPlatform.buildRustPackage rec {
pname = "rio";
version = "0.0.9";
version = "0.0.16";
src = fetchFromGitHub {
owner = "raphamorim";
repo = "rio";
rev = "v${version}";
hash = "sha256-faK0KShbMUuvFbR2m9oCeWSwwrSxyXNWreODtHFyp5U=";
hash = "sha256-jyfobmwDCsvhpKcAD0ivxfRENaTVjjauRBMDNPgvjVY=";
};
cargoHash = "sha256-54uyqk6fW3pHCK7JC5T7c8C/0Hcq0K/PBn71tNwnA0g=";
cargoHash = "sha256-efMw07KH8Nic76MWTyf16Gg/8PyM9gZKSNs5cuIKBJQ=";
nativeBuildInputs = [
autoPatchelfHook

View file

@ -14,7 +14,7 @@ buildGoModule rec {
sha256 = data.repo_hash;
};
sourceRoot = "source/workhorse";
sourceRoot = "${src.name}/workhorse";
vendorSha256 = "sha256-lKl/V2fti0eqrEoeJNNwvJbZO7z7v+5HlES+dyxxcP4=";
buildInputs = [ git ];

View file

@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
# Upstream splitted the project into gitlint and gitlint-core to
# simplify the dependency handling
sourceRoot = "source/gitlint-core";
sourceRoot = "${src.name}/gitlint-core";
nativeBuildInputs = with python3.pkgs; [
hatch-vcs

View file

@ -6,48 +6,52 @@
, gitUpdater
}:
mkDerivation rec {
let
pname = "gitqlient";
version = "1.5.0";
srcs = [
(fetchFromGitHub {
owner = "francescmm";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Mq29HbmPABrRIJjWC5AAKIOKbGngeJdkZkWeJw8BFuw=";
})
(fetchFromGitHub rec {
owner = "francescmm";
repo = "AuxiliarCustomWidgets";
rev = "835f538b4a79e4d6bb70eef37a32103e7b2a1fd1";
sha256 = "sha256-b1gb/7UcLS6lI92dBfTenGXA064t4dZufs3S9lu/lQA=";
name = repo;
})
(fetchFromGitHub rec {
owner = "francescmm";
repo = "QLogger";
rev = "d1ed24e080521a239d5d5e2c2347fe211f0f3e4f";
sha256 = "sha256-NVlFYmm7IIkf8LhQrAYXil9kH6DFq1XjOEHQiIWmER4=";
name = repo;
})
(fetchFromGitHub rec {
owner = "francescmm";
repo = "QPinnableTabWidget";
rev = "cc937794e910d0452f0c07b4961c6014a7358831";
sha256 = "sha256-2KzzBv/s2t665axeBxWrn8aCMQQArQLlUBOAlVhU+wE=";
name = repo;
})
(fetchFromGitHub rec {
owner = "francescmm";
repo = "git";
rev = "b62750f4da4b133faff49e6f53950d659b18c948";
sha256 = "sha256-4FqA+kkHd0TqD6ZuB4CbJ+IhOtQG9uWN+qhSAT0dXGs=";
name = repo;
})
];
main_src = fetchFromGitHub {
owner = "francescmm";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Mq29HbmPABrRIJjWC5AAKIOKbGngeJdkZkWeJw8BFuw=";
};
aux_src = fetchFromGitHub rec {
owner = "francescmm";
repo = "AuxiliarCustomWidgets";
rev = "835f538b4a79e4d6bb70eef37a32103e7b2a1fd1";
sha256 = "sha256-b1gb/7UcLS6lI92dBfTenGXA064t4dZufs3S9lu/lQA=";
name = repo;
};
qlogger_src = fetchFromGitHub rec {
owner = "francescmm";
repo = "QLogger";
rev = "d1ed24e080521a239d5d5e2c2347fe211f0f3e4f";
sha256 = "sha256-NVlFYmm7IIkf8LhQrAYXil9kH6DFq1XjOEHQiIWmER4=";
name = repo;
};
qpinnabletab_src = fetchFromGitHub rec {
owner = "francescmm";
repo = "QPinnableTabWidget";
rev = "cc937794e910d0452f0c07b4961c6014a7358831";
sha256 = "sha256-2KzzBv/s2t665axeBxWrn8aCMQQArQLlUBOAlVhU+wE=";
name = repo;
};
git_src = fetchFromGitHub rec {
owner = "francescmm";
repo = "git";
rev = "b62750f4da4b133faff49e6f53950d659b18c948";
sha256 = "sha256-4FqA+kkHd0TqD6ZuB4CbJ+IhOtQG9uWN+qhSAT0dXGs=";
name = repo;
};
in
sourceRoot = "source";
mkDerivation rec {
inherit pname version;
srcs = [ main_src aux_src qlogger_src qpinnabletab_src git_src ];
sourceRoot = main_src.name;
nativeBuildInputs = [
qmake

View file

@ -96,7 +96,7 @@ python3Packages.buildPythonApplication {
pname = "sapling";
inherit src version;
sourceRoot = "source/eden/scm";
sourceRoot = "${src.name}/eden/scm";
# Upstream does not commit Cargo.lock
cargoDeps = rustPlatform.importCargoLock {

View file

@ -30,7 +30,7 @@ let
buildsrht-worker = buildGoModule {
inherit src version;
sourceRoot = "source/worker";
sourceRoot = "${src.name}/worker";
pname = "buildsrht-worker";
vendorHash = "sha256-y5RFPbtaGmgPpiV2Q3njeWORGZF1TJRjAbY6VgC1hek=";
};

View file

@ -49,7 +49,7 @@ buildNpmPackage rec {
npmDepsHash = "sha256-a/cDPABWI4lPxvSOI4D90O71A9lm8icPMak/g6DPYQY=";
npmRootPath = "";
sourceRoot = "source/client";
sourceRoot = "${src.name}/client";
NODE_OPTIONS = "--openssl-legacy-provider";
};

View file

@ -7,7 +7,7 @@ buildNpmPackage {
pname = "frigate-web";
inherit version src;
sourceRoot = "source/web";
sourceRoot = "${src.name}/web";
postPatch = ''
substituteInPlace package.json \

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation {
pname = "tinywl";
inherit (wlroots) version src;
sourceRoot = "source/tinywl";
sourceRoot = "${wlroots.src.name}/tinywl";
nativeBuildInputs = [ pkg-config wayland-scanner ];
buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, libX11, xorgproto }:
stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "wmderlandc";
version = "unstable-2020-07-17";
@ -11,7 +11,7 @@ stdenv.mkDerivation {
sha256 = "0npmlnybblp82mfpinjbz7dhwqgpdqc1s63wc1zs8mlcs19pdh98";
};
sourceRoot = "source/ipc-client";
sourceRoot = "${finalAttrs.src.name}/ipc-client";
nativeBuildInputs = [
cmake
@ -29,4 +29,4 @@ stdenv.mkDerivation {
platforms = platforms.all;
maintainers = with maintainers; [ takagiy ];
};
}
})

View file

@ -21,7 +21,7 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-quBSH8hx3gD7y1JNWAKQdTk3CmO4t1kVo4cOGbeWlNE=";
};
sourceRoot = "source/themes/catppuccin-${variant}";
sourceRoot = "${src.name}/themes/catppuccin-${variant}";
installPhase = ''
runHook preInstall

View file

@ -21,8 +21,27 @@
}:
let
pname = "mojave-gtk-theme";
version = "2023-06-13";
main_src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
hash = "sha256-0jb/VQ6Z0BGaEka57BWM0pBweP08cr4jfPRdEN/BJ1M=";
};
wallpapers_src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "0c4ae6ddff7e3fab4959469461c4d4042deb1b2f";
hash = "sha256-7LSZSsRt6zTVPLWzuBgwRC1q1MHp5pN/pMl3x2wR8Ow=";
name = "wallpapers";
};
in
lib.checkListOfEnum "${pname}: button size variants" [ "standard" "small" ] buttonSizeVariants
lib.checkListOfEnum "${pname}: button variants" [ "standard" "alt" ] buttonVariants
lib.checkListOfEnum "${pname}: color variants" [ "light" "dark" ] colorVariants
@ -30,29 +49,11 @@ lib.checkListOfEnum "${pname}: opacity variants" [ "standard" "solid" ] opacityV
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "2023-06-13";
inherit pname version;
srcs = [
(fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
hash = "sha256-0jb/VQ6Z0BGaEka57BWM0pBweP08cr4jfPRdEN/BJ1M=";
})
]
++
lib.optional wallpapers
(fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "0c4ae6ddff7e3fab4959469461c4d4042deb1b2f";
hash = "sha256-7LSZSsRt6zTVPLWzuBgwRC1q1MHp5pN/pMl3x2wR8Ow=";
name = "wallpapers";
})
;
srcs = [ main_src ] ++ lib.optional wallpapers wallpapers_src;
sourceRoot = "source";
sourceRoot = main_src.name;
nativeBuildInputs = [
glib

View file

@ -16,17 +16,17 @@
stdenv.mkDerivation rec {
pname = "deepin-clone";
version = "5.0.11";
version = "5.0.15";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "sha256-ZOJc8R82R9q87Qpf/J4CXE+xL6nvbsXRIs0boNY+2uk=";
hash = "sha256-yxYmRSiw/pjgHftu75S9yx0ZXrWRz0VbU8jPjl4baqQ=";
};
postPatch = ''
substituteInPlace app/{deepin-clone-ionice,deepin-clone-pkexec,deepin-clone.desktop,com.deepin.pkexec.deepin-clone.policy.tmp} \
substituteInPlace app/{deepin-clone-ionice,deepin-clone-pkexec,com.deepin.pkexec.deepin-clone.policy.tmp} \
--replace "/usr" "$out"
substituteInPlace app/src/corelib/ddevicediskinfo.cpp \

View file

@ -11,7 +11,7 @@ mkDerivation rec {
sha256 = "1238d1m0mjkwkdpgq165a4ql9aql0aji5f41rzdzny6m7ws9nm2y";
};
sourceRoot = "source/src-qt5";
sourceRoot = "${src.name}/src-qt5";
nativeBuildInputs = [ qmake qttools ];

View file

@ -11,7 +11,7 @@ mkDerivation rec {
sha256 = "08caj4nashp79fbvj94rabn0iaa1hymifqmb782x03nb2vkn38r6";
};
sourceRoot = "source/src-qt5";
sourceRoot = "${src.name}/src-qt5";
nativeBuildInputs = [ qmake qttools ];

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, appstream
, desktop-file-utils
@ -9,7 +8,6 @@
, ninja
, pkg-config
, polkit
, python3
, vala
, wrapGAppsHook
, editorconfig-core-c
@ -28,24 +26,15 @@
stdenv.mkDerivation rec {
pname = "elementary-code";
version = "7.0.0";
version = "7.1.0";
src = fetchFromGitHub {
owner = "elementary";
repo = "code";
rev = version;
sha256 = "sha256-6ZOdlOCIDy5aWQre15+SrTH/vhY9OeTffY/uTSroELc=";
sha256 = "sha256-Dtm0+NqDwfn5HUQEYtHTiyrpM3mHp1wUFOGaxH86YUo=";
};
patches = [
# Fix global search action disabled at startup
# https://github.com/elementary/code/pull/1254
(fetchpatch {
url = "https://github.com/elementary/code/commit/1e75388b07c060cc10ecd612076f235b1833fab8.patch";
sha256 = "sha256-8Djh1orMcmICdYwQFENJCaYlXK0E52NhCmuhlHCz7oM=";
})
];
nativeBuildInputs = [
appstream
desktop-file-utils
@ -53,7 +42,6 @@ stdenv.mkDerivation rec {
ninja
pkg-config
polkit # needed for ITS rules
python3
vala
wrapGAppsHook
];
@ -79,11 +67,6 @@ stdenv.mkDerivation rec {
)
'';
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
passthru = {
updateScript = nix-update-script { };
};

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