Merge master into haskell-updates

This commit is contained in:
github-actions[bot]
2023-11-19 00:13:48 +00:00
committed by GitHub
198 changed files with 3850 additions and 1029 deletions
+36
View File
@@ -2477,6 +2477,12 @@
githubId = 50839; githubId = 50839;
name = "Brian Jones"; name = "Brian Jones";
}; };
boltzmannrain = {
email = "boltzmannrain@gmail.com";
github = "boltzmannrain";
githubId = 150560585;
name = "Dmitry Ivankov";
};
booklearner = { booklearner = {
name = "booklearner"; name = "booklearner";
email = "booklearner@proton.me"; email = "booklearner@proton.me";
@@ -2682,6 +2688,12 @@
githubId = 61636; githubId = 61636;
name = "Brad Langhorst"; name = "Brad Langhorst";
}; };
bycEEE = {
email = "bycEEE@gmail.com";
github = "bycEEE";
githubId = 8891115;
name = "Brian Choy";
};
bzizou = { bzizou = {
email = "Bruno@bzizou.net"; email = "Bruno@bzizou.net";
github = "bzizou"; github = "bzizou";
@@ -7793,6 +7805,12 @@
githubId = 4458; githubId = 4458;
name = "Ivan Kozik"; name = "Ivan Kozik";
}; };
ivan770 = {
email = "ivan@ivan770.me";
github = "ivan770";
githubId = 14003886;
name = "Ivan Leshchenko";
};
ivan-babrou = { ivan-babrou = {
email = "nixpkgs@ivan.computer"; email = "nixpkgs@ivan.computer";
name = "Ivan Babrou"; name = "Ivan Babrou";
@@ -10968,6 +10986,12 @@
githubId = 1651325; githubId = 1651325;
name = "maralorn"; name = "maralorn";
}; };
marcovergueira = {
email = "vergueira.marco@gmail.com";
github = "marcovergueira";
githubId = 929114;
name = "Marco Vergueira";
};
marcus7070 = { marcus7070 = {
email = "marcus@geosol.com.au"; email = "marcus@geosol.com.au";
github = "marcus7070"; github = "marcus7070";
@@ -14041,6 +14065,12 @@
githubId = 301903; githubId = 301903;
name = "Chip Collier"; name = "Chip Collier";
}; };
phrogg = {
name = "Phil Roggenbuck";
email = "nixpkgs@phrogg.de";
github = "phrogg";
githubId = 1367949;
};
phryneas = { phryneas = {
email = "mail@lenzw.de"; email = "mail@lenzw.de";
github = "phryneas"; github = "phryneas";
@@ -14810,6 +14840,12 @@
githubId = 1016742; githubId = 1016742;
name = "Rafael García"; name = "Rafael García";
}; };
rafaelrc = {
email = "contact@rafaelrc.com";
name = "Rafael Carvalho";
github = "rafaelrc7";
githubId = 5376043;
};
ragge = { ragge = {
email = "r.dahlen@gmail.com"; email = "r.dahlen@gmail.com";
github = "ragnard"; github = "ragnard";
@@ -30,6 +30,9 @@
[`sudo-rs`]: https://github.com/memorysafety/sudo-rs/ [`sudo-rs`]: https://github.com/memorysafety/sudo-rs/
- `linuxPackages_testing_bcachefs` is now soft-deprecated by `linuxPackages_testing`.
- Please consider changing your NixOS configuration's `boot.kernelPackages` to `linuxPackages_testing` until a stable kernel with bcachefs support is released.
- All [ROCm](https://rocm.docs.amd.com/en/latest/) packages have been updated to 5.7.0. - All [ROCm](https://rocm.docs.amd.com/en/latest/) packages have been updated to 5.7.0.
- [ROCm](https://rocm.docs.amd.com/en/latest/) package attribute sets are versioned: `rocmPackages` -> `rocmPackages_5`. - [ROCm](https://rocm.docs.amd.com/en/latest/) package attribute sets are versioned: `rocmPackages` -> `rocmPackages_5`.
+6
View File
@@ -23,6 +23,12 @@ in {
'' + optionalString (def.vlanConfig != { }) '' '' + optionalString (def.vlanConfig != { }) ''
[VLAN] [VLAN]
${attrsToSection def.vlanConfig} ${attrsToSection def.vlanConfig}
'' + optionalString (def.ipvlanConfig != { }) ''
[IPVLAN]
${attrsToSection def.ipvlanConfig}
'' + optionalString (def.ipvtapConfig != { }) ''
[IPVTAP]
${attrsToSection def.ipvtapConfig}
'' + optionalString (def.macvlanConfig != { }) '' '' + optionalString (def.macvlanConfig != { }) ''
[MACVLAN] [MACVLAN]
${attrsToSection def.macvlanConfig} ${attrsToSection def.macvlanConfig}
+1 -1
View File
@@ -68,7 +68,7 @@ services.forgejo = {
database.user = "gitea"; database.user = "gitea";
}; };
users.users,gitea = { users.users.gitea = {
home = "/var/lib/gitea"; home = "/var/lib/gitea";
useDefaultShell = true; useDefaultShell = true;
group = "gitea"; group = "gitea";
-11
View File
@@ -436,17 +436,6 @@ in
]; ];
}; };
# Work around 'pq: permission denied for schema public' with postgres v15, until a
# solution for `services.postgresql.ensureUsers` is found.
# See https://github.com/NixOS/nixpkgs/issues/216989
systemd.services.postgresql.postStart = lib.mkIf (
usePostgresql
&& cfg.database.createDatabase
&& lib.strings.versionAtLeast config.services.postgresql.package.version "15.0"
) (lib.mkAfter ''
$PSQL -tAc 'ALTER DATABASE "${cfg.database.name}" OWNER TO "${cfg.database.user}";'
'');
services.mysql = optionalAttrs (useMysql && cfg.database.createDatabase) { services.mysql = optionalAttrs (useMysql && cfg.database.createDatabase) {
enable = mkDefault true; enable = mkDefault true;
package = mkDefault pkgs.mariadb; package = mkDefault pkgs.mariadb;
@@ -65,7 +65,9 @@ with lib;
pkgs.iproute2 pkgs.iproute2
# Needed for ping # Needed for ping
"/run/wrappers" "/run/wrappers"
]; # See https://github.com/NixOS/nixpkgs/issues/262681
] ++ (lib.optional config.networking.resolvconf.enable
config.networking.resolvconf.package);
startLimitBurst = 5; startLimitBurst = 5;
startLimitIntervalSec = 20; startLimitIntervalSec = 20;
serviceConfig = { serviceConfig = {
@@ -277,7 +277,7 @@ def install_bootloader(args: argparse.Namespace) -> None:
if installed_version < available_version: if installed_version < available_version:
print("updating systemd-boot from %s to %s" % (installed_version, available_version)) print("updating systemd-boot from %s to %s" % (installed_version, available_version))
subprocess.check_call(["@systemd@/bin/bootctl", "--esp-path=@efiSysMountPoint@", "update"]) subprocess.check_call(["@systemd@/bin/bootctl", "--esp-path=@efiSysMountPoint@"] + bootctl_flags + ["update"])
os.makedirs("@efiSysMountPoint@/efi/nixos", exist_ok=True) os.makedirs("@efiSysMountPoint@/efi/nixos", exist_ok=True)
os.makedirs("@efiSysMountPoint@/loader/entries", exist_ok=True) os.makedirs("@efiSysMountPoint@/loader/entries", exist_ok=True)
+38
View File
@@ -122,6 +122,16 @@ let
(assertValueOneOf "PacketInfo" boolValues) (assertValueOneOf "PacketInfo" boolValues)
(assertValueOneOf "VNetHeader" boolValues) (assertValueOneOf "VNetHeader" boolValues)
]; ];
# See https://www.freedesktop.org/software/systemd/man/latest/systemd.netdev.html#%5BIPVTAP%5D%20Section%20Options
ipVlanVtapChecks = [
(assertOnlyFields [
"Mode"
"Flags"
])
(assertValueOneOf "Mode" ["L2" "L3" "L3S" ])
(assertValueOneOf "Flags" ["private" "vepa" "bridge" ])
];
in { in {
sectionNetdev = checkUnitConfig "Netdev" [ sectionNetdev = checkUnitConfig "Netdev" [
@@ -146,6 +156,7 @@ let
"ip6gretap" "ip6gretap"
"ipip" "ipip"
"ipvlan" "ipvlan"
"ipvtap"
"macvlan" "macvlan"
"macvtap" "macvtap"
"sit" "sit"
@@ -191,6 +202,10 @@ let
(assertValueOneOf "ReorderHeader" boolValues) (assertValueOneOf "ReorderHeader" boolValues)
]; ];
sectionIPVLAN = checkUnitConfig "IPVLAN" ipVlanVtapChecks;
sectionIPVTAP = checkUnitConfig "IPVTAP" ipVlanVtapChecks;
sectionMACVLAN = checkUnitConfig "MACVLAN" [ sectionMACVLAN = checkUnitConfig "MACVLAN" [
(assertOnlyFields [ (assertOnlyFields [
"Mode" "Mode"
@@ -615,6 +630,7 @@ let
"VRF" "VRF"
"VLAN" "VLAN"
"IPVLAN" "IPVLAN"
"IPVTAP"
"MACVLAN" "MACVLAN"
"MACVTAP" "MACVTAP"
"VXLAN" "VXLAN"
@@ -1277,6 +1293,7 @@ let
"FirewallMark" "FirewallMark"
"Wash" "Wash"
"SplitGSO" "SplitGSO"
"AckFilter"
]) ])
(assertValueOneOf "AutoRateIngress" boolValues) (assertValueOneOf "AutoRateIngress" boolValues)
(assertInt "OverheadBytes") (assertInt "OverheadBytes")
@@ -1309,6 +1326,7 @@ let
(assertRange "FirewallMark" 1 4294967295) (assertRange "FirewallMark" 1 4294967295)
(assertValueOneOf "Wash" boolValues) (assertValueOneOf "Wash" boolValues)
(assertValueOneOf "SplitGSO" boolValues) (assertValueOneOf "SplitGSO" boolValues)
(assertValueOneOf "AckFilter" (boolValues ++ ["aggressive"]))
]; ];
sectionControlledDelay = checkUnitConfig "ControlledDelay" [ sectionControlledDelay = checkUnitConfig "ControlledDelay" [
@@ -1623,6 +1641,26 @@ let
''; '';
}; };
ipvlanConfig = mkOption {
default = {};
example = { Mode = "L2"; Flags = "private"; };
type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionIPVLAN;
description = lib.mdDoc ''
Each attribute in this set specifies an option in the `[IPVLAN]` section of the unit.
See {manpage}`systemd.netdev(5)` for details.
'';
};
ipvtapConfig = mkOption {
default = {};
example = { Mode = "L3"; Flags = "vepa"; };
type = types.addCheck (types.attrsOf unitOption) check.netdev.sectionIPVTAP;
description = lib.mdDoc ''
Each attribute in this set specifies an option in the `[IPVTAP]` section of the unit.
See {manpage}`systemd.netdev(5)` for details.
'';
};
macvlanConfig = mkOption { macvlanConfig = mkOption {
default = {}; default = {};
example = { Mode = "private"; }; example = { Mode = "private"; };
+31 -10
View File
@@ -1,10 +1,8 @@
{ config, lib, pkgs, utils, ... }: { config, lib, pkgs, utils, ... }:
with lib;
let let
bootFs = filterAttrs (n: fs: (fs.fsType == "bcachefs") && (utils.fsNeededForBoot fs)) config.fileSystems; bootFs = lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (utils.fsNeededForBoot fs)) config.fileSystems;
commonFunctions = '' commonFunctions = ''
prompt() { prompt() {
@@ -56,7 +54,7 @@ let
# remove this adaptation when bcachefs implements mounting by filesystem uuid # remove this adaptation when bcachefs implements mounting by filesystem uuid
# also, implement automatic waiting for the constituent devices when that happens # also, implement automatic waiting for the constituent devices when that happens
# bcachefs does not support mounting devices with colons in the path, ergo we don't (see #49671) # bcachefs does not support mounting devices with colons in the path, ergo we don't (see #49671)
firstDevice = fs: head (splitString ":" fs.device); firstDevice = fs: lib.head (lib.splitString ":" fs.device);
openCommand = name: fs: '' openCommand = name: fs: ''
tryUnlock ${name} ${firstDevice fs} tryUnlock ${name} ${firstDevice fs}
@@ -90,22 +88,45 @@ let
}; };
}; };
assertions = [
{
assertion = let
kernel = config.boot.kernelPackages.kernel;
in (
kernel.kernelAtLeast "6.7" || (
lib.elem (kernel.structuredExtraConfig.BCACHEFS_FS or null) [
lib.kernel.module
lib.kernel.yes
lib.kernel.option.yes
]
)
);
message = "Linux 6.7-rc1 at minimum or a custom linux kernel with bcachefs support is required";
}
];
in in
{ {
config = mkIf (elem "bcachefs" config.boot.supportedFilesystems) (mkMerge [ config = lib.mkIf (lib.elem "bcachefs" config.boot.supportedFilesystems) (lib.mkMerge [
{ {
inherit assertions;
# needed for systemd-remount-fs # needed for systemd-remount-fs
system.fsPackages = [ pkgs.bcachefs-tools ]; system.fsPackages = [ pkgs.bcachefs-tools ];
# use kernel package with bcachefs support until it's in mainline # FIXME: Replace this with `linuxPackages_testing` after NixOS 23.11 is released
# TODO replace with requireKernelConfig # FIXME: Replace this with `linuxPackages_latest` when 6.7 is released, remove this line when the LTS version is at least 6.7
boot.kernelPackages = pkgs.linuxPackages_testing_bcachefs; boot.kernelPackages = lib.mkDefault (
# FIXME: Remove warning after NixOS 23.11 is released
lib.warn "Please upgrade to Linux 6.7-rc1 or later: 'linuxPackages_testing_bcachefs' is deprecated. Use 'boot.kernelPackages = pkgs.linuxPackages_testing;' to silence this warning"
pkgs.linuxPackages_testing_bcachefs
);
systemd.services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems); systemd.services = lib.mapAttrs' (mkUnits "") (lib.filterAttrs (n: fs: (fs.fsType == "bcachefs") && (!utils.fsNeededForBoot fs)) config.fileSystems);
} }
(mkIf ((elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) { (lib.mkIf ((lib.elem "bcachefs" config.boot.initrd.supportedFilesystems) || (bootFs != {})) {
inherit assertions;
# chacha20 and poly1305 are required only for decryption attempts # chacha20 and poly1305 are required only for decryption attempts
boot.initrd.availableKernelModules = [ "bcachefs" "sha256" "chacha20" "poly1305" ]; boot.initrd.availableKernelModules = [ "bcachefs" "sha256" "chacha20" "poly1305" ];
boot.initrd.systemd.extraBin = { boot.initrd.systemd.extraBin = {
@@ -121,7 +142,7 @@ in
$out/bin/bcachefs version $out/bin/bcachefs version
''; '';
boot.initrd.postDeviceCommands = lib.mkIf (!config.boot.initrd.systemd.enable) (commonFunctions + concatStrings (mapAttrsToList openCommand bootFs)); boot.initrd.postDeviceCommands = lib.mkIf (!config.boot.initrd.systemd.enable) (commonFunctions + lib.concatStrings (lib.mapAttrsToList openCommand bootFs));
boot.initrd.systemd.services = lib.mapAttrs' (mkUnits "/sysroot") bootFs; boot.initrd.systemd.services = lib.mapAttrs' (mkUnits "/sysroot") bootFs;
}) })
@@ -56,6 +56,11 @@ in
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
}; };
fileSystems."/boot" = mkIf cfg.efi {
device = "/dev/disk/by-label/ESP";
fsType = "vfat";
};
system.build.googleComputeImage = import ../../lib/make-disk-image.nix { system.build.googleComputeImage = import ../../lib/make-disk-image.nix {
name = "google-compute-image"; name = "google-compute-image";
postVM = '' postVM = ''
+62
View File
@@ -991,6 +991,68 @@ in {
''; '';
}; };
bcachefsLinuxTesting = makeInstallerTest "bcachefs-linux-testing" {
extraInstallerConfig = {
imports = [ no-zfs-module ];
boot = {
supportedFilesystems = [ "bcachefs" ];
kernelPackages = pkgs.linuxPackages_testing;
};
};
extraConfig = ''
boot.kernelPackages = pkgs.linuxPackages_testing;
'';
createPartitions = ''
machine.succeed(
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
+ " mkpart primary ext2 1M 100MB" # /boot
+ " mkpart primary linux-swap 100M 1024M" # swap
+ " mkpart primary 1024M -1s", # /
"udevadm settle",
"mkswap /dev/vda2 -L swap",
"swapon -L swap",
"mkfs.bcachefs -L root /dev/vda3",
"mount -t bcachefs /dev/vda3 /mnt",
"mkfs.ext3 -L boot /dev/vda1",
"mkdir -p /mnt/boot",
"mount /dev/vda1 /mnt/boot",
)
'';
};
bcachefsUpgradeToLinuxTesting = makeInstallerTest "bcachefs-upgrade-to-linux-testing" {
extraInstallerConfig = {
imports = [ no-zfs-module ];
boot.supportedFilesystems = [ "bcachefs" ];
# We don't have network access in the VM, we need this for `nixos-install`
system.extraDependencies = [ pkgs.linux_testing ];
};
extraConfig = ''
boot.kernelPackages = pkgs.linuxPackages_testing;
'';
createPartitions = ''
machine.succeed(
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
+ " mkpart primary ext2 1M 100MB" # /boot
+ " mkpart primary linux-swap 100M 1024M" # swap
+ " mkpart primary 1024M -1s", # /
"udevadm settle",
"mkswap /dev/vda2 -L swap",
"swapon -L swap",
"mkfs.bcachefs -L root /dev/vda3",
"mount -t bcachefs /dev/vda3 /mnt",
"mkfs.ext3 -L boot /dev/vda1",
"mkdir -p /mnt/boot",
"mount /dev/vda1 /mnt/boot",
)
'';
};
# Test using labels to identify volumes in grub # Test using labels to identify volumes in grub
simpleLabels = makeInstallerTest "simpleLabels" { simpleLabels = makeInstallerTest "simpleLabels" {
createPartitions = '' createPartitions = ''
+2 -2
View File
@@ -5,12 +5,12 @@
python3.pkgs.buildPythonPackage rec { python3.pkgs.buildPythonPackage rec {
pname = "ledfx"; pname = "ledfx";
version = "2.0.69"; version = "2.0.78";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-gkO6XYiPMkU/zRLvc0yd3jJXVcAgAkR1W1ELTSN461o="; hash = "sha256-IalfA/nfQrnE90ycOnPEZ4A/L8rwi08ECNA/8YxeAgQ=";
}; };
postPatch = '' postPatch = ''
@@ -38,20 +38,21 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cudatext"; pname = "cudatext";
version = "1.201.0"; version = "1.201.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Alexey-T"; owner = "Alexey-T";
repo = "CudaText"; repo = "CudaText";
rev = version; rev = version;
hash = "sha256-Do2JPNZtoi7zbUnJomQAZ8zR/WPB6+G051xZWmeUBP4="; hash = "sha256-ke7i0eeZHEsVhtzaS0AeLQOrYE1F+ppCwjR2TWeJQPA=";
}; };
patches = [ ./proc_globdata.patch ];
postPatch = '' postPatch = ''
substituteInPlace app/proc_globdata.pas \ substituteInPlace app/proc_globdata.pas \
--replace "/usr/share/cudatext" "$out/share/cudatext" \ --subst-var out \
--replace "libpython3.so" "${python3}/lib/libpython${python3.pythonVersion}.so" \ --subst-var-by python3 ${python3}
--replace "AllowProgramUpdates:= true;" "AllowProgramUpdates:= false;"
''; '';
nativeBuildInputs = [ lazarus fpc ] nativeBuildInputs = [ lazarus fpc ]
@@ -0,0 +1,30 @@
diff --git i/app/proc_globdata.pas w/app/proc_globdata.pas
index d161b09c7..0fcfbdc09 100644
--- i/app/proc_globdata.pas
+++ w/app/proc_globdata.pas
@@ -1342,6 +1342,7 @@ begin
{$ifdef unix}
for Dir in [
+ '@python3@/lib',
'/usr/lib64',
'/usr/lib',
'/usr/lib/x86_64-linux-gnu'
@@ -1364,7 +1365,7 @@ var
function GetDirPrecopy: string;
begin
{$ifdef linux}
- exit('/usr/share/cudatext');
+ exit('@out@/share/cudatext');
{$endif}
{$ifdef darwin}
@@ -2056,7 +2057,7 @@ begin
FindWrapAtEdge_Delay:= 350;
FindWrapAtEdge_ThemeItem:= ''; //'EdMarkedRangeBg';
- AllowProgramUpdates:= true;
+ AllowProgramUpdates:= false;
EscapeClose:= false;
EscapeCloseConsole:= true;
EscapeCloseFinder:= true;
@@ -90,6 +90,7 @@
, withXinput2 ? withX && lib.versionAtLeast version "29" , withXinput2 ? withX && lib.versionAtLeast version "29"
, withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk) , withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk)
, withSmallJaDic ? false , withSmallJaDic ? false
, withCompressInstall ? true
# Options # Options
, siteStart ? ./site-start.el , siteStart ? ./site-start.el
@@ -339,6 +340,7 @@ mkDerivation (finalAttrs: {
++ lib.optional withXinput2 "--with-xinput2" ++ lib.optional withXinput2 "--with-xinput2"
++ lib.optional withXwidgets "--with-xwidgets" ++ lib.optional withXwidgets "--with-xwidgets"
++ lib.optional withSmallJaDic "--with-small-ja-dic" ++ lib.optional withSmallJaDic "--with-small-ja-dic"
++ lib.optional (!withCompressInstall) "--without-compress-install"
; ;
env = lib.optionalAttrs withNativeCompilation { env = lib.optionalAttrs withNativeCompilation {
@@ -12,6 +12,17 @@ rustPlatform.buildRustPackage rec {
stripRoot = false; stripRoot = false;
}; };
patches = [
# Fixes implicit int error in rescript grammar when building with clang 16.
# https://github.com/nkrkv/tree-sitter-rescript/pull/227.
(fetchpatch {
url = "https://github.com/nkrkv/tree-sitter-rescript/commit/ea93cbf7d9c52f925ed296b4714737e8088f3a19.patch";
hash = "sha256-gpGPiy+yEs+dMJEnE5O3WC7iSB/6PLJYBYRcdTx//+o=";
extraPrefix = "runtime/grammars/sources/rescript/";
stripLen = 1;
})
];
cargoHash = "sha256-B8RO6BADDbPchowSfNVgviGvVgH23iF42DdhEBKBQzs="; cargoHash = "sha256-B8RO6BADDbPchowSfNVgviGvVgH23iF42DdhEBKBQzs=";
nativeBuildInputs = [ git installShellFiles makeWrapper ]; nativeBuildInputs = [ git installShellFiles makeWrapper ];
@@ -1,13 +1,13 @@
{ {
"version": "3.178.4", "version": "3.181.23",
"deb": { "deb": {
"x86_64-linux": { "x86_64-linux": {
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.178.4/standard-notes-3.178.4-linux-amd64.deb", "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-amd64.deb",
"hash": "sha512-6er/a9PqhKU4aagAxsbVdoXbRBNUr3Fa8BPWfuQ74Q4ai+iYlPjd4q50cTJQ4wJ5ucGyopgBEJq4/xYNunw6Ig==" "hash": "sha512-zWjST3guI0qifvZIwSLJ0nIpU12Mu3+m25Xdoqv0BQC7tscChEdCGUAJRUKHEf0b8l4uvp8qBGHiBOfbrIi//w=="
}, },
"aarch64-linux": { "aarch64-linux": {
"url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.178.4/standard-notes-3.178.4-linux-arm64.deb", "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.181.23/standard-notes-3.181.23-linux-arm64.deb",
"hash": "sha512-lvvXCK3XOIH9HS1EU5eVBo4W8VoE4iM1Ve1XkZ/CysYBYLaXojXyybeN5Iw1Rmuk3trq/7RebjkNx/rxhsU0LQ==" "hash": "sha512-7R5Ym44mrVgUiqdt6NL8F9uUUOroQRxwn30xKThyIQm2HGRUJivRfOws98El9zV8bKG1khk4DZaMiLQSMjrtaQ=="
} }
} }
} }
@@ -1,4 +1,5 @@
{ stdenv, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qt5compat, quazip { stdenv, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qt5compat, quazip
, qtwayland
, hunspell , hunspell
, wrapQtAppsHook, poppler, zlib, pkg-config }: , wrapQtAppsHook, poppler, zlib, pkg-config }:
@@ -27,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: {
qttools qttools
quazip quazip
zlib zlib
] ++ lib.optionals stdenv.isLinux [
qtwayland
]; ];
postInstall = lib.optionalString stdenv.isDarwin '' postInstall = lib.optionalString stdenv.isDarwin ''
+8 -3
View File
@@ -37,8 +37,11 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
# The Wine preloader must _not_ be linked to any system libraries, but `NIX_LDFLAGS` will link # The Wine preloader must _not_ be linked to any system libraries, but `NIX_LDFLAGS` will link
# to libintl, libiconv, and CoreFoundation no matter what. Delete the one that was built and # to libintl, libiconv, and CoreFoundation no matter what. Delete the one that was built and
# rebuild it with empty NIX_LDFLAGS. # rebuild it with empty NIX_LDFLAGS.
rm loader/wine64-preloader for preloader in wine-preloader wine64-preloader; do
make loader/wine64-preloader NIX_LDFLAGS="" NIX_LDFLAGS_${stdenv.cc.suffixSalt}="" rm loader/$preloader &> /dev/null \
&& ( echo "Relinking loader/$preloader"; make loader/$preloader NIX_LDFLAGS="" NIX_LDFLAGS_${stdenv.cc.suffixSalt}="" ) \
|| echo "loader/$preloader not built, skipping relink."
done
''; '';
}) // rec { }) // rec {
inherit version src; inherit version src;
@@ -109,7 +112,8 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
# uses property syntax in one place. The first patch is necessary only with older # uses property syntax in one place. The first patch is necessary only with older
# versions of Wine. The second is needed on all versions of Wine. # versions of Wine. The second is needed on all versions of Wine.
(lib.optional (lib.versionOlder version "8.12") ./darwin-metal-compat-pre8.12.patch) (lib.optional (lib.versionOlder version "8.12") ./darwin-metal-compat-pre8.12.patch)
./darwin-metal-compat.patch (lib.optional (lib.versionOlder version "8.18") ./darwin-metal-compat-pre8.18.patch)
(lib.optional (lib.versionAtLeast version "8.18") ./darwin-metal-compat.patch)
# Wine requires `qos.h`, which is not included by default on the 10.12 SDK in nixpkgs. # Wine requires `qos.h`, which is not included by default on the 10.12 SDK in nixpkgs.
./darwin-qos.patch ./darwin-qos.patch
] ]
@@ -203,6 +207,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (buildScript != null) {
fromSource fromSource
binaryNativeCode # mono, gecko binaryNativeCode # mono, gecko
]; ];
broken = stdenv.isDarwin && !supportFlags.mingwSupport;
description = if supportFlags.waylandSupport then "An Open Source implementation of the Windows API on top of OpenGL and Unix (with experimental Wayland support)" else "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix"; description = if supportFlags.waylandSupport then "An Open Source implementation of the Windows API on top of OpenGL and Unix (with experimental Wayland support)" else "An Open Source implementation of the Windows API on top of X, OpenGL, and Unix";
platforms = if supportFlags.waylandSupport then (lib.remove "x86_64-darwin" prevPlatforms) else prevPlatforms; platforms = if supportFlags.waylandSupport then (lib.remove "x86_64-darwin" prevPlatforms) else prevPlatforms;
maintainers = with lib.maintainers; [ avnik raskin bendlas jmc-figueira reckenrode ]; maintainers = with lib.maintainers; [ avnik raskin bendlas jmc-figueira reckenrode ];
@@ -0,0 +1,12 @@
diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m
--- a/dlls/winemac.drv/cocoa_display.m
+++ b/dlls/winemac.drv/cocoa_display.m
@@ -354,7 +354,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp
device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease];
if (device && [device respondsToSelector:@selector(registryID)])
- ret = macdrv_get_gpu_info_from_registry_id(gpu, device.registryID);
+ ret = macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]);
done:
[pool release];
@@ -1,12 +1,13 @@
diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m diff --git a/dlls/winemac.drv/cocoa_display.m b/dlls/winemac.drv/cocoa_display.m
index fbbe16efcbf..2db375ff3d5 100644
--- a/dlls/winemac.drv/cocoa_display.m --- a/dlls/winemac.drv/cocoa_display.m
+++ b/dlls/winemac.drv/cocoa_display.m +++ b/dlls/winemac.drv/cocoa_display.m
@@ -354,7 +354,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp @@ -387,7 +387,7 @@ static int macdrv_get_gpu_info_from_display_id_using_metal(struct macdrv_gpu* gp
device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease]; device = [CGDirectDisplayCopyCurrentMetalDevice(display_id) autorelease];
if (device && [device respondsToSelector:@selector(registryID)]) if (device && [device respondsToSelector:@selector(registryID)])
- ret = macdrv_get_gpu_info_from_registry_id(gpu, device.registryID); - return macdrv_get_gpu_info_from_registry_id(gpu, device.registryID);
+ ret = macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]); + return macdrv_get_gpu_info_from_registry_id(gpu, [device registryID]);
else
done: return -1;
[pool release]; }
+9 -9
View File
@@ -69,9 +69,9 @@ in rec {
unstable = fetchurl rec { unstable = fetchurl rec {
# NOTE: Don't forget to change the hash for staging as well. # NOTE: Don't forget to change the hash for staging as well.
version = "8.17"; version = "8.20";
url = "https://dl.winehq.org/wine/source/8.x/wine-${version}.tar.xz"; url = "https://dl.winehq.org/wine/source/8.x/wine-${version}.tar.xz";
hash = "sha256-8BeFvTFix05l3rE6oK3XEeN8SERUcZvt0OjCsaNGm34="; hash = "sha256-SNa3a9ZDBaICBX+8GdkiwfSWJfbRqYJZJ8ChhXJzmYI=";
inherit (stable) patches; inherit (stable) patches;
## see http://wiki.winehq.org/Gecko ## see http://wiki.winehq.org/Gecko
@@ -88,9 +88,9 @@ in rec {
## see http://wiki.winehq.org/Mono ## see http://wiki.winehq.org/Mono
mono = fetchurl rec { mono = fetchurl rec {
version = "8.0.0"; version = "8.1.0";
url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi"; url = "https://dl.winehq.org/wine/wine-mono/${version}/wine-mono-${version}-x86.msi";
hash = "sha256-dbP0XcodyJhX/p6TLaeHEPZMxtSe8asMcjoXcIW0cRs="; hash = "sha256-DtPsUzrvebLzEhVZMc97EIAAmsDFtMK8/rZ4rJSOCBA=";
}; };
updateScript = writeShellScript "update-wine-unstable" '' updateScript = writeShellScript "update-wine-unstable" ''
@@ -116,8 +116,8 @@ in rec {
staging = fetchFromGitHub rec { staging = fetchFromGitHub rec {
# https://github.com/wine-staging/wine-staging/releases # https://github.com/wine-staging/wine-staging/releases
version = "8.17.1"; version = "8.20";
hash = "sha256-h36NDFYsI0y8TG41IH10IdF4QEuBkBewQ3knZ9iwDpg="; hash = "sha256-CiWTXjUR1+GY+MO7djHfVUH71zSo3lpH9IaqS5zCeJ8=";
owner = "wine-staging"; owner = "wine-staging";
repo = "wine-staging"; repo = "wine-staging";
rev = "v${version}"; rev = "v${version}";
@@ -127,12 +127,12 @@ in rec {
wayland = fetchFromGitLab { wayland = fetchFromGitLab {
# https://gitlab.collabora.com/alf/wine/-/tree/wayland # https://gitlab.collabora.com/alf/wine/-/tree/wayland
version = "8.0"; version = "8.2";
hash = "sha256-whRnm21UyKZ4AQufNmctzivISVobnCeidmpYz65vlyk="; hash = "sha256-Eb2SFBIeQQ3cVZkUQcwNT5mcYe0ShFxBdMc3BlqkwTo=";
domain = "gitlab.collabora.com"; domain = "gitlab.collabora.com";
owner = "alf"; owner = "alf";
repo = "wine"; repo = "wine";
rev = "2f80bd757739f2dd8da41abceae6b87d2c568152"; rev = "b2547ddf9e08cafce98cf7734d5c4ec926ef3536";
inherit (unstable) gecko32 gecko64; inherit (unstable) gecko32 gecko64;
+2 -2
View File
@@ -56,13 +56,13 @@ let
python = python2.withPackages (pp: [ pp.pygtk ]); python = python2.withPackages (pp: [ pp.pygtk ]);
in stdenv.mkDerivation (finalAttrs: { in stdenv.mkDerivation (finalAttrs: {
pname = "gimp"; pname = "gimp";
version = "2.10.34"; version = "2.10.36";
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
src = fetchurl { src = fetchurl {
url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor finalAttrs.version}/gimp-${finalAttrs.version}.tar.bz2"; url = "http://download.gimp.org/pub/gimp/v${lib.versions.majorMinor finalAttrs.version}/gimp-${finalAttrs.version}.tar.bz2";
sha256 = "hABGQtNRs5ikKTzX/TWSBEqUTwW7UoUO5gaPJHxleqM="; sha256 = "sha256-PTvDxppL2zrqm6LVOF7ZjqA5U/OFeq/R1pdgEe1827I=";
}; };
patches = [ patches = [
@@ -9,25 +9,25 @@
let let
pname = "1password"; pname = "1password";
version = if channel == "stable" then "8.10.18" else "8.10.20-1.BETA"; version = if channel == "stable" then "8.10.20" else "8.10.20-1.BETA";
sources = { sources = {
stable = { stable = {
x86_64-linux = { x86_64-linux = {
url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz"; url = "https://downloads.1password.com/linux/tar/stable/x86_64/1password-${version}.x64.tar.gz";
hash = "sha256-3oK8Jzz4+TY4IW8oAenzHo7KQeP58iZ+on5PNliBn7I="; hash = "sha256-KOKqI64uI454ryLy/zdD0jxgY3GekBFoh028ftt1Twg=";
}; };
aarch64-linux = { aarch64-linux = {
url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz"; url = "https://downloads.1password.com/linux/tar/stable/aarch64/1password-${version}.arm64.tar.gz";
hash = "sha256-OsmgHPlAt9K7ytXMM8BANGcKcD3U1OLd2MLfOS4lc6Q="; hash = "sha256-8MDJFG5d81Alxs1hqLw7DP+Pte+haGKfiZ/erGvks5A=";
}; };
x86_64-darwin = { x86_64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-x86_64.zip";
hash = "sha256-wozym2QOLLUf4F+MwdIZfwN+VHkNewB+ZJZEkVNnb/c="; hash = "sha256-T+f19Q/pzsC6lh8OF/w/pzRLBfAdlk1gwQz8funkx8Q=";
}; };
aarch64-darwin = { aarch64-darwin = {
url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip"; url = "https://downloads.1password.com/mac/1Password-${version}-aarch64.zip";
hash = "sha256-v1FZIsvFyIx81BORgDtZBP9jTRY6/0p537trOGf8mcM="; hash = "sha256-kmal5wfqCKAlg7c+xVHM39qrucr+Kaxr4pNBYwKfs5g=";
}; };
}; };
beta = { beta = {
+5 -5
View File
@@ -12,12 +12,12 @@ let
if extension == "zip" then fetchzip args else fetchurl args; if extension == "zip" then fetchzip args else fetchurl args;
pname = "1password-cli"; pname = "1password-cli";
version = "2.22.0"; version = "2.23.0";
sources = rec { sources = rec {
aarch64-linux = fetch "linux_arm64" "sha256-MWNbwCJ5ltAV1qmy8LPYkb6VTH0UVi2S5QEZZfpcnGM=" "zip"; aarch64-linux = fetch "linux_arm64" "sha256-WBUHS1qoKHGJb6ktw8BD3V0H0419BO3EyTh675UnZRA=" "zip";
i686-linux = fetch "linux_386" "sha256-lqwEm7fCiM2WNZvlAt/HeqI2zxnal/OMbTMGvvmXkvY=" "zip"; i686-linux = fetch "linux_386" "sha256-pulMvdE8COwRBk3IBBXqYPk2+A1XuCN9TxtGqm1HFeM=" "zip";
x86_64-linux = fetch "linux_amd64" "sha256-GfQ441a5mIgCTtxnk6L9UXodNGXek7f/jxJXWYJUb+0=" "zip"; x86_64-linux = fetch "linux_amd64" "sha256-w0ieg9MxjmkABc4LRZIGyfDjbOter0pKRigLZBhosz4=" "zip";
aarch64-darwin = fetch "apple_universal" "sha256-yF0dy4MUgvSJUremXFfxCIHcGmYrCcjofcv1sBD9qyI=" "pkg"; aarch64-darwin = fetch "apple_universal" "sha256-fRkvkLnhr0oZCcCGhQd53Oj8uTxsgaSUkxD7p7CPOwI=" "pkg";
x86_64-darwin = aarch64-darwin; x86_64-darwin = aarch64-darwin;
}; };
platforms = builtins.attrNames sources; platforms = builtins.attrNames sources;
+9 -5
View File
@@ -3,7 +3,7 @@
, libjpeg, libpng, libsamplerate, libsndfile , libjpeg, libpng, libsamplerate, libsndfile
, libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio, openjpeg, python310Packages , libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio, openjpeg, python310Packages
, openvdb, libXxf86vm, tbb, alembic , openvdb, libXxf86vm, tbb, alembic
, zlib, zstd, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath , zlib, zstd, fftw, fftwFloat, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
, jackaudioSupport ? false, libjack2 , jackaudioSupport ? false, libjack2
, cudaSupport ? config.cudaSupport, cudaPackages ? { } , cudaSupport ? config.cudaSupport, cudaPackages ? { }
, hipSupport ? false, rocmPackages # comes with a significantly larger closure size , hipSupport ? false, rocmPackages # comes with a significantly larger closure size
@@ -30,15 +30,19 @@ let
url = "https://developer.download.nvidia.com/redist/optix/v7.3/OptiX-7.3.0-Include.zip"; url = "https://developer.download.nvidia.com/redist/optix/v7.3/OptiX-7.3.0-Include.zip";
sha256 = "0max1j4822mchj0xpz9lqzh91zkmvsn4py0r174cvqfz8z8ykjk8"; sha256 = "0max1j4822mchj0xpz9lqzh91zkmvsn4py0r174cvqfz8z8ykjk8";
}; };
libdecor' = libdecor.overrideAttrs (old: {
# Blender uses private APIs, need to patch to expose them
patches = (old.patches or [ ]) ++ [ ./libdecor.patch ];
});
in in
stdenv.mkDerivation (finalAttrs: rec { stdenv.mkDerivation (finalAttrs: rec {
pname = "blender"; pname = "blender";
version = "3.6.5"; version = "4.0.1";
src = fetchurl { src = fetchurl {
url = "https://download.blender.org/source/${pname}-${version}.tar.xz"; url = "https://download.blender.org/source/${pname}-${version}.tar.xz";
hash = "sha256-QAHA/pn22HLsfH6VX4Sp7r25raFxAPS1Gergjez38kM="; hash = "sha256-/jLU0noX5RxhQ+26G16nGFylm65Lzfm9s11oCWCC43Q=";
}; };
patches = [ patches = [
@@ -53,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: rec {
buildInputs = buildInputs =
[ boost ffmpeg gettext glew ilmbase [ boost ffmpeg gettext glew ilmbase
freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp
opencolorio openexr openimageio openjpeg python zlib zstd fftw jemalloc opencolorio openexr openimageio openjpeg python zlib zstd fftw fftwFloat jemalloc
alembic alembic
(opensubdiv.override { inherit cudaSupport; }) (opensubdiv.override { inherit cudaSupport; })
tbb tbb
@@ -65,7 +69,7 @@ stdenv.mkDerivation (finalAttrs: rec {
openpgl openpgl
] ]
++ lib.optionals waylandSupport [ ++ lib.optionals waylandSupport [
wayland wayland-protocols libffi libdecor libxkbcommon dbus wayland wayland-protocols libffi libdecor' libxkbcommon dbus
] ]
++ lib.optionals (!stdenv.isAarch64) [ ++ lib.optionals (!stdenv.isAarch64) [
openimagedenoise openimagedenoise
@@ -0,0 +1,34 @@
diff --git a/src/libdecor-plugin.h b/src/libdecor-plugin.h
index ba80ce6..59199dd 100644
--- a/src/libdecor-plugin.h
+++ b/src/libdecor-plugin.h
@@ -132,12 +132,6 @@ struct libdecor_plugin_interface {
struct wl_surface *
libdecor_frame_get_wl_surface(struct libdecor_frame *frame);
-int
-libdecor_frame_get_content_width(struct libdecor_frame *frame);
-
-int
-libdecor_frame_get_content_height(struct libdecor_frame *frame);
-
enum libdecor_window_state
libdecor_frame_get_window_state(struct libdecor_frame *frame);
diff --git a/src/libdecor.h b/src/libdecor.h
index af67e2f..b5eba41 100644
--- a/src/libdecor.h
+++ b/src/libdecor.h
@@ -532,6 +532,12 @@ bool
libdecor_configuration_get_window_state(struct libdecor_configuration *configuration,
enum libdecor_window_state *window_state);
+int
+libdecor_frame_get_content_width(struct libdecor_frame *frame);
+
+int
+libdecor_frame_get_content_height(struct libdecor_frame *frame);
+
#ifdef __cplusplus
}
#endif
@@ -18,17 +18,10 @@ let
maintainers = with maintainers; [ mjanczyk svsdep mgregoire ]; maintainers = with maintainers; [ mjanczyk svsdep mgregoire ];
}; };
pluginFilename = "KeePassRPC.plgx"; dontUnpack = true;
unpackCmd = ''
mkdir deps/
cp -p $src deps/$pluginFilename
'';
sourceRoot = "deps";
installPhase = '' installPhase = ''
mkdir -p $out/lib/dotnet/keepass/ mkdir -p $out/lib/dotnet/keepass/
cp $pluginFilename $out/lib/dotnet/keepass/$pluginFilename cp $src $out/lib/dotnet/keepass/
''; '';
}; };
in in
+8 -14
View File
@@ -1,27 +1,19 @@
{ stdenv, lib, substituteAll, makeWrapper, fetchFromGitHub, fetchpatch, ocaml, pkg-config, mupdf, libX11, jbig2dec, openjpeg, libjpeg , lcms2, harfbuzz, { stdenv, lib, substituteAll, makeWrapper, fetchFromGitHub, fetchpatch, ocaml, pkg-config, mupdf, libX11, jbig2dec, openjpeg, libjpeg , lcms2, harfbuzz,
libGLU, libGL, gumbo, freetype, zlib, xclip, inotify-tools, procps }: libGLU, libGL, gumbo, freetype, zlib, xclip, inotify-tools, procps, darwin }:
assert lib.versionAtLeast (lib.getVersion ocaml) "4.07"; assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "llpp"; pname = "llpp";
version = "41"; version = "42";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "criticic"; owner = "criticic";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Doj0zLYI1pi7eK01+29xFLYPtc8+fWzj10292+PmToE="; hash = "sha256-B/jKvBtBwMOErUVmGFGXXIT8FzMl1DFidfDCHIH41TU=";
}; };
patches = [
(fetchpatch {
name = "system-makedeps-and-ocaml5.patch";
url = "https://aur.archlinux.org/cgit/aur.git/plain/system-makedeps-and-ocaml5.patch?h=llpp&id=32955e115f914bb96348d288f9af9c6e3e80a02b";
hash = "sha256-3rcPsR+M8Jx7M8GHUIsw0WNBvp6aE7BcPr4yk2vT9Ik=";
})
];
postPatch = '' postPatch = ''
sed -i "2d;s/ver=.*/ver=${version}/" build.bash sed -i "2d;s/ver=.*/ver=${version}/" build.bash
''; '';
@@ -29,7 +21,9 @@ stdenv.mkDerivation rec {
strictDeps = true; strictDeps = true;
nativeBuildInputs = [ makeWrapper ocaml pkg-config ]; nativeBuildInputs = [ makeWrapper ocaml pkg-config ];
buildInputs = [ mupdf libX11 libGLU libGL freetype zlib gumbo jbig2dec openjpeg libjpeg lcms2 harfbuzz ]; buildInputs = [ mupdf libX11 freetype zlib gumbo jbig2dec openjpeg libjpeg lcms2 harfbuzz ]
++ lib.optionals stdenv.isLinux [ libGLU libGL ]
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.OpenGL darwin.apple_sdk.frameworks.Cocoa ];
dontStrip = true; dontStrip = true;
@@ -46,7 +40,7 @@ stdenv.mkDerivation rec {
install -d $out/bin install -d $out/bin
install build/llpp $out/bin install build/llpp $out/bin
install misc/llpp.inotify $out/bin/llpp.inotify install misc/llpp.inotify $out/bin/llpp.inotify
'' + lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/llpp \ wrapProgram $out/bin/llpp \
--prefix PATH ":" "${xclip}/bin" --prefix PATH ":" "${xclip}/bin"
@@ -59,7 +53,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
homepage = "https://repo.or.cz/w/llpp.git"; homepage = "https://repo.or.cz/w/llpp.git";
description = "A MuPDF based PDF pager written in OCaml"; description = "A MuPDF based PDF pager written in OCaml";
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
license = licenses.gpl3; license = licenses.gpl3;
}; };
+2 -2
View File
@@ -21,11 +21,11 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ulauncher"; pname = "ulauncher";
version = "5.15.4"; version = "5.15.6";
src = fetchurl { src = fetchurl {
url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz"; url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz";
sha256 = "sha256-5pEpYnJFHQKEfTve07ngFVDAOM9+kwrx6hc30gEwsko="; sha256 = "sha256-WOWDekh9rcXeiN/ejiYC4BELhJwd98GkmyDOLN26ayU=";
}; };
nativeBuildInputs = with python3Packages; [ nativeBuildInputs = with python3Packages; [
@@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "arkade"; pname = "arkade";
version = "0.10.13"; version = "0.10.15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alexellis"; owner = "alexellis";
repo = "arkade"; repo = "arkade";
rev = version; rev = version;
hash = "sha256-DhMoNI1eRzP9FK752Z8sAcuj5dpu2vRqXRv4tbSYmLE="; hash = "sha256-1r/f3CoTaOA2ZfM9UBGftZDZdCL9JIrs6SvaSO8BI6w=";
}; };
CGO_ENABLED = 0; CGO_ENABLED = 0;
@@ -2,16 +2,16 @@
builtins.mapAttrs (pname: { doCheck ? true, mainProgram ? pname, subPackages }: buildGoModule rec { builtins.mapAttrs (pname: { doCheck ? true, mainProgram ? pname, subPackages }: buildGoModule rec {
inherit pname; inherit pname;
version = "3.26.3"; version = "3.26.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "projectcalico"; owner = "projectcalico";
repo = "calico"; repo = "calico";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-KbtQ5oMZ1ygYwbaKpyAKTprPZ6+ikDbGLafwOShVd6w="; hash = "sha256-idpvGgtvjtLuW+eQIldWihqgzWIFEM0bK0Ux61dD//w=";
}; };
vendorHash = "sha256-1PBdDpc/cvI5uN6/msxXoMXbx7Osgq12W1VqtZ7XtGE="; vendorHash = "sha256-Dl0YLXrw/roKLmp8cZUa1v2n/UwzOGoL0AN8fNVMknU=";
inherit doCheck subPackages; inherit doCheck subPackages;
@@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "cilium-cli"; pname = "cilium-cli";
version = "0.15.11"; version = "0.15.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cilium"; owner = "cilium";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-czU5o6QS4MsXyyedQ0nzwDiCQacHcDsbm2iDk7nU+Y8="; hash = "sha256-Js//4dB8b3w9AOvMhXt91G87FzQ8jHq3W3pJHzLbluA=";
}; };
vendorHash = null; vendorHash = null;
@@ -8,18 +8,18 @@
buildGoModule rec { buildGoModule rec {
pname = "cmctl"; pname = "cmctl";
version = "1.13.1"; version = "1.13.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cert-manager"; owner = "cert-manager";
repo = "cert-manager"; repo = "cert-manager";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-l0D7uVoYTwiVI+b8yYpsJk/eAG5XYidR9CaQ595aTjw="; hash = "sha256-TfFdHKXbbi0yqvyQjZArY9GbkwjUq1Z00UuNAldyDuc=";
}; };
sourceRoot = "${src.name}/cmd/ctl"; sourceRoot = "${src.name}/cmd/ctl";
vendorHash = "sha256-3Ws2ObyBVYog7oVqHeEgIeWeRQpV1Z+Clilp8wI/PUA="; vendorHash = "sha256-63XxGvVsIRDpQ0ri6VkjciyD+k7eEMBcg0w8NU8ypYs=";
ldflags = [ ldflags = [
"-s" "-s"
@@ -20,13 +20,13 @@
buildGoModule rec { buildGoModule rec {
pname = "kubernetes"; pname = "kubernetes";
version = "1.28.3"; version = "1.28.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = "kubernetes"; repo = "kubernetes";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-lb9FAk3b6J92viyHzLCzbYRxhQS94/FQvDr1m1kdTq8="; hash = "sha256-aaGcAIyy0hFJGFfOq5FaF0qAlygXcs2WcwgvMe5dkbo=";
}; };
vendorHash = null; vendorHash = null;
@@ -1,14 +1,14 @@
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }: { branch ? "stable", callPackage, fetchurl, lib, stdenv }:
let let
versions = if stdenv.isLinux then { versions = if stdenv.isLinux then {
stable = "0.0.33"; stable = "0.0.35";
ptb = "0.0.53"; ptb = "0.0.56";
canary = "0.0.173"; canary = "0.0.184";
development = "0.0.1"; development = "0.0.0";
} else { } else {
stable = "0.0.282"; stable = "0.0.284";
ptb = "0.0.84"; ptb = "0.0.87";
canary = "0.0.329"; canary = "0.0.340";
development = "0.0.2"; development = "0.0.2";
}; };
version = versions.${branch}; version = versions.${branch};
@@ -16,33 +16,33 @@ let
x86_64-linux = { x86_64-linux = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"; url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
hash = "sha256-UVgufPNIS7fa3VDzjCWwgK3xxmqNivq461qWLgirClc="; hash = "sha256-VcSRV9LDiUXduRt20kVeAnwinl6FmACQgn//W6eFyys=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
hash = "sha256-g2NhwkfNi5Yf+n9vHq/MJ0kylPF3MPocgF/zYfCvoZM="; hash = "sha256-RDXApmhlu2aQTjWVXMyRp0CL29btsQufIPuxjjtJGIU=";
}; };
canary = fetchurl { canary = fetchurl {
url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz";
hash = "sha256-YFjGUAaZMy1JhtKhAqLbfYTKQSgS9TKWqR078cERNUI="; hash = "sha256-Pu0kei/ls9yrDEpRQcgDAaEkRbYkFmp/jTwOkljoy18=";
}; };
development = fetchurl { development = fetchurl {
url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz"; url = "https://dl-development.discordapp.net/apps/linux/${version}/discord-development-${version}.tar.gz";
hash = "sha256-ogLOZZ9pTXB01TqdnmdORIzZ8GbGzskUzbG4E68gZwY="; hash = "sha256-/+9NyreRkXu2++uhwCh3/C1Cos39hfzB0Yjf0Otg9pk=";
}; };
}; };
x86_64-darwin = { x86_64-darwin = {
stable = fetchurl { stable = fetchurl {
url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg";
hash = "sha256-3WeC+4W9+tpXNXqETorQfnE1HZWCqRkBqW0JM7whRCw="; hash = "sha256-TTzhc6P0hFG9BFMviNx8CCg1cVEKDiB3gtb8oR/slNA=";
}; };
ptb = fetchurl { ptb = fetchurl {
url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg";
hash = "sha256-e2gvjXUw0Yx8UY6utg1SdX8/buewuVYPl5I8fS3QtrI="; hash = "sha256-cl6+kTth/7j+HJHPU4Oy1N5EnmMbpdvltKzrU1by+Ik=";
}; };
canary = fetchurl { canary = fetchurl {
url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; url = "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg";
hash = "sha256-B4LPFts+sx8GpZp9iRbwapUYrK4c9unH+mAoODGqDgU="; hash = "sha256-LfixXyCoTnifw2GVAnCDnBla757JyGzbvUJwY4UhgGI=";
}; };
development = fetchurl { development = fetchurl {
url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg"; url = "https://dl-development.discordapp.net/apps/osx/${version}/DiscordDevelopment.dmg";
@@ -8,12 +8,12 @@
}: }:
let let
version = "1.11.3"; version = "1.11.4";
pname = "session-desktop"; pname = "session-desktop";
src = fetchurl { src = fetchurl {
url = "https://github.com/oxen-io/session-desktop/releases/download/v${version}/session-desktop-linux-x86_64-${version}.AppImage"; url = "https://github.com/oxen-io/session-desktop/releases/download/v${version}/session-desktop-linux-x86_64-${version}.AppImage";
hash = "sha256-HdgW7Ls0h75BXKXGzzf37K9w4bgkfA9eAUEmBrSDT+U="; hash = "sha256-fSa113BYpTZ4jvxroQsoslAkWfQr4/ROkgVOFyiVsKQ=";
}; };
appimage = appimageTools.wrapType2 { appimage = appimageTools.wrapType2 {
inherit version pname src; inherit version pname src;
@@ -1,12 +1,12 @@
{ callPackage }: builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) { { callPackage }: builtins.mapAttrs (pname: attrs: callPackage ./generic.nix (attrs // { inherit pname; })) {
signal-desktop = { signal-desktop = {
dir = "Signal"; dir = "Signal";
version = "6.38.0"; version = "6.39.0";
hash = "sha256-y2mwO7Qc01vuIeJUcAxYDD97DXOwXCd8wNZmkG4maF0="; hash = "sha256-cG8ZFWpx92haTgMkpMMcFDV0OB7lmU540g9fNj4ofy8=";
}; };
signal-desktop-beta = { signal-desktop-beta = {
dir = "Signal Beta"; dir = "Signal Beta";
version = "6.39.0-beta.2"; version = "6.40.0-beta.1";
hash = "sha256-1+1wvkMtEovBBs2bS9zUV5kpSxkPy0EqBAU01el8uko="; hash = "sha256-daXh1Uh2lHw0NA/j7qhQK7nrVljbr/fP2iLjcqnuvns=";
}; };
} }
@@ -82,15 +82,15 @@ stdenv.mkDerivation {
}) })
]; ];
postPatch = lib.optionalString stdenv.isLinux '' postPatch = ''
rm -r src/third_party/libsrtp
cp -r --no-preserve=mode ${libsrtp} src/third_party/libsrtp
'' + lib.optionalString stdenv.isLinux ''
substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \ substituteInPlace src/modules/desktop_capture/linux/egl_dmabuf.cc \
--replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' \ --replace '"libEGL.so.1"' '"${libGL}/lib/libEGL.so.1"' \
--replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' \ --replace '"libGL.so.1"' '"${libGL}/lib/libGL.so.1"' \
--replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' \ --replace '"libgbm.so.1"' '"${mesa}/lib/libgbm.so.1"' \
--replace '"libdrm.so.2"' '"${libdrm}/lib/libdrm.so.2"' --replace '"libdrm.so.2"' '"${libdrm}/lib/libdrm.so.2"'
rm -r src/third_party/libsrtp
cp -r --no-preserve=mode ${libsrtp} src/third_party/libsrtp
''; '';
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
@@ -1,40 +1,48 @@
{ lib, python3Packages, fetchPypi, notmuch }: { lib, python3Packages, fetchPypi, pkgs }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "afew"; pname = "afew";
version = "3.0.1"; version = "3.0.1";
pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0wpfqbqjlfb9z0hafvdhkm7qw56cr9kfy6n8vb0q42dwlghpz1ff"; sha256 = "0wpfqbqjlfb9z0hafvdhkm7qw56cr9kfy6n8vb0q42dwlghpz1ff";
}; };
nativeBuildInputs = with python3Packages; [ sphinx setuptools-scm ]; nativeBuildInputs = with python3Packages; [
sphinxHook
setuptools
setuptools-scm
];
sphinxBuilders = [
"html"
"man"
];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
python3Packages.setuptools python3Packages.notmuch chardet dkimpy chardet
dkimpy
notmuch
]; ];
nativeCheckInputs = with python3Packages; [ nativeCheckInputs = [
freezegun notmuch pkgs.notmuch
]; ] ++ (with python3Packages; [
freezegun
pytestCheckHook
]);
makeWrapperArgs = [ makeWrapperArgs = [
''--prefix PATH ':' "${notmuch}/bin"'' ''--prefix PATH ':' "${pkgs.notmuch}/bin"''
]; ];
outputs = [ "out" "doc" ]; outputs = [
"out"
postBuild = '' "doc"
${python3Packages.python.pythonOnBuildForHost.interpreter} setup.py build_sphinx -b html,man "man"
''; ];
postInstall = ''
install -D -v -t $out/share/man/man1 build/sphinx/man/*
mkdir -p $out/share/doc/afew
cp -R build/sphinx/html/* $out/share/doc/afew
'';
meta = with lib; { meta = with lib; {
homepage = "https://github.com/afewmail/afew"; homepage = "https://github.com/afewmail/afew";
@@ -3,12 +3,12 @@ electron, libsecret }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "tutanota-desktop"; pname = "tutanota-desktop";
version = "3.118.13"; version = "3.118.27";
src = fetchurl { src = fetchurl {
url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz"; url = "https://github.com/tutao/tutanota/releases/download/tutanota-desktop-release-${version}/${pname}-${version}-unpacked-linux.tar.gz";
name = "tutanota-desktop-${version}.tar.gz"; name = "tutanota-desktop-${version}.tar.gz";
hash = "sha256-3kpfF/XG7w6qUooS5UsntMKnggG1LhmV9f+R35kkmb0="; hash = "sha256-z2Ir8O7IDiE7cYuLshpMQMnOJanaECUvKlUEyPayIPo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -22,14 +22,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "pan"; pname = "pan";
version = "0.154"; version = "0.155";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "GNOME"; owner = "GNOME";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-o+JFUraSoQ0HDmldHvTX+X7rl2L4n4lJmI4UFZrsfkQ="; hash = "sha256-DsoTqZLcZOc3HlpCC8rmu/rcFeHkb9IWd4PSLwxKqJI=";
}; };
nativeBuildInputs = [ autoreconfHook pkg-config gettext intltool itstool libxml2 makeWrapper ]; nativeBuildInputs = [ autoreconfHook pkg-config gettext intltool itstool libxml2 makeWrapper ];
@@ -8,6 +8,8 @@
, flask , flask
, flask-httpauth , flask-httpauth
, flask-socketio , flask-socketio
, gevent-socketio
, gevent-websocket
, cepa , cepa
, psutil , psutil
, pyqt5 , pyqt5
@@ -80,6 +82,8 @@ rec {
flask flask
flask-httpauth flask-httpauth
flask-socketio flask-socketio
gevent-socketio
gevent-websocket
cepa cepa
psutil psutil
pycrypto pycrypto
@@ -5,12 +5,12 @@
}: }:
let let
version = "6.5.0"; version = "6.6.0";
pname = "timeular"; pname = "timeular";
src = fetchurl { src = fetchurl {
url = "https://s3.amazonaws.com/timeular-desktop-packages/linux/production/Timeular-${version}.AppImage"; url = "https://s3.amazonaws.com/timeular-desktop-packages/linux/production/Timeular-${version}.AppImage";
sha256 = "sha256-RO8PhEjvDye6p6vgqNexIJ1ymTlVtF8yWQAUbJGaZYk="; sha256 = "sha256-RmWRNKy2w3BM/ipQyFpkNC3+XXsJXjN6VYWNo8OKpy0=";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {
+3 -3
View File
@@ -25,13 +25,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "freedv"; pname = "freedv";
version = "1.9.4"; version = "1.9.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "drowe67"; owner = "drowe67";
repo = "freedv-gui"; repo = "freedv-gui";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-3SQ3a1gg4/cXy8BJXazTgh6nkS/KQpM0fCA6JcbHOPc="; hash = "sha256-uCWdDmHzNx1vkZFttQZLD4YfXoXz5VZQfir9sGOoDhw=";
}; };
postPatch = lib.optionalString stdenv.isDarwin '' postPatch = lib.optionalString stdenv.isDarwin ''
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
--replace "-Wl,-ld_classic" "" --replace "-Wl,-ld_classic" ""
substituteInPlace src/CMakeLists.txt \ substituteInPlace src/CMakeLists.txt \
--replace "\''${CMAKE_SOURCE_DIR}/macdylibbundler/dylibbundler" "dylibbundler" --replace "\''${CMAKE_SOURCE_DIR}/macdylibbundler/dylibbundler" "dylibbundler"
sed -i "/hdiutil/d" src/CMakeLists.txt sed -i "/codesign/d;/hdiutil/d" src/CMakeLists.txt
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
@@ -1,69 +1,69 @@
{ {
"x86_64-linux": { "x86_64-linux": {
"libpicocv": { "libpicocv": {
"sha256": "feddc1cb9082005e80c4e2c2732ee4c537915c463ea327aa53a642aab95b8691", "sha256": "c0c5bec33c2c7fdd0f26b035ed942175f87012e33d6764c3abf1da31b5626037",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libpicocv/libpicocv_1.1.33-beta2r167_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libpicocv/libpicocv_1.1.34-beta2r172_amd64.deb",
"version": "1.1.33-beta2r167" "version": "1.1.34-beta2r172"
}, },
"libpicoipp": { "libpicoipp": {
"sha256": "2d749b8fd5dbd811c270e4aa78c5ee9cd33832b90d089ae386b0f85aed2d0204", "sha256": "4a84f0af7f4e8cba91fad620eac0cd23c36b2fdda4637904be564286b10ffe1d",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libpicoipp/libpicoipp_1.4.0-4r136_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libpicoipp/libpicoipp_1.4.0-4r161_amd64.deb",
"version": "1.4.0-4r136" "version": "1.4.0-4r161"
}, },
"libps2000": { "libps2000": {
"sha256": "d306890d1e87651ae83ef00143c8e62b82fae2be39886b6884408751cb910fa4", "sha256": "473b065e79a7414c1e2b8c8468c8d2654333ac28f3a8c33b535626b33c60d2ca",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps2000/libps2000_3.0.89-3r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps2000/libps2000_3.0.127-3r5552_amd64.deb",
"version": "3.0.89-3r3163" "version": "3.0.127-3r5552"
}, },
"libps2000a": { "libps2000a": {
"sha256": "38391dfbe6c6c04ba5b5c99bd53404d5342e40c9eca703e3d95cbc6302114270", "sha256": "8eba0052f9c7ef327710f2fba5aa11bec0c20225b39d77bb7b69cf80055c039c",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps2000a/libps2000a_2.1.89-5r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps2000a/libps2000a_2.1.127-5r5552_amd64.deb",
"version": "2.1.89-5r3163" "version": "2.1.127-5r5552"
}, },
"libps3000": { "libps3000": {
"sha256": "39b4b56a839eb5d7abcf1de2bab472c2de2d8aa5ffc3ba445e99d5aa8178ba07", "sha256": "4e786036b8de0dd0f922aed947f30a53d31bed46b2df5132e8c9480c8a5d93e9",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps3000/libps3000_4.0.89-3r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps3000/libps3000_4.0.127-3r5552_amd64.deb",
"version": "4.0.89-3r3163" "version": "4.0.127-3r5552"
}, },
"libps3000a": { "libps3000a": {
"sha256": "ea96735b90d02c72c9c7b517413fed0d366ac634100e22467a39c780985669e4", "sha256": "d2bb1e5bb151b0953ed30ca5421bb93d05dab898c33cdc89927e943ea991867a",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps3000a/libps3000a_2.1.89-6r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps3000a/libps3000a_2.1.127-6r5552_amd64.deb",
"version": "2.1.89-6r3163" "version": "2.1.127-6r5552"
}, },
"libps4000": { "libps4000": {
"sha256": "7177cd4debf811fa7d7105703a4fc546fe1a79fc3275e3f36326b014c1334f55", "sha256": "4c127e67949835b5ab5c5c8caa55f73c69df354d761aa53d6df99c8f8ac39009",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps4000/libps4000_2.1.89-2r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps4000/libps4000_2.1.127-2r5552_amd64.deb",
"version": "2.1.89-2r3163" "version": "2.1.127-2r5552"
}, },
"libps4000a": { "libps4000a": {
"sha256": "ebe94d6d9f349e5082dcbed55d059ac77c0129b967467786d1cef3f662ebac99", "sha256": "26df82bc946e5bb30d599c4c365247bdbaa01e830d4d00630b46a6abcc1eef04",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps4000a/libps4000a_2.1.89-2r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps4000a/libps4000a_2.1.127-2r5552_amd64.deb",
"version": "2.1.89-2r3163" "version": "2.1.127-2r5552"
}, },
"libps5000": { "libps5000": {
"sha256": "732164658acb4bdfdbf3fc785419ea6a4944ed2892be9dde134b345a976c3318", "sha256": "106ef17862e98c3621f95c377f271c843664f481f84ef918d9eadd013561cd1b",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000/libps5000_2.1.89-3r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000/libps5000_2.1.127-3r5552_amd64.deb",
"version": "2.1.89-3r3163" "version": "2.1.127-3r5552"
}, },
"libps5000a": { "libps5000a": {
"sha256": "3438f51c8646e3ac5a479c88aa7a89b3dfcce2090720317b4efb8db538372cdb", "sha256": "fe9def134ef9df6654485911f14ece7b2ee3d79113aeee7826dd6e36bb5de3b4",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000a/libps5000a_2.1.89-5r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000a/libps5000a_2.1.127-5r5552_amd64.deb",
"version": "2.1.89-5r3163" "version": "2.1.127-5r5552"
}, },
"libps6000": { "libps6000": {
"sha256": "fe4165ab0d323728b473347b61439b074486809d673e47f169d0062cf917191c", "sha256": "9b08c5b7fb2d34b0e2e98f2e0452a59105f612cd445a9e45d3cac14d931d18f2",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps6000/libps6000_2.1.89-6r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps6000/libps6000_2.1.127-6r5552_amd64.deb",
"version": "2.1.89-6r3163" "version": "2.1.127-6r5552"
}, },
"libps6000a": { "libps6000a": {
"sha256": "0552811f92a015ef47b09947631f5f5d8c30b122425de083bea79df88957a9c7", "sha256": "2a23ccad72b9be83b87d449b6bb8ded23fd29c85ec9f78a45b6d45b38ccf335b",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps6000a/libps6000a_1.0.89-0r3163_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps6000a/libps6000a_1.0.127-0r5552_amd64.deb",
"version": "1.0.89-0r3163" "version": "1.0.127-0r5552"
}, },
"picoscope": { "picoscope": {
"sha256": "b060edb02bc2de5d10a45d31d4b7f9c767d18511e2f65a1ebdd70cc3e8780262", "sha256": "d95f269171da7273b596dae95452789e889f12ef0f15c3baea26dd1b3a8117fc",
"url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/p/picoscope/picoscope_7.0.100-1r11387_amd64.deb", "url": "https://labs.picotech.com/rc/picoscope7/debian/pool/main/p/picoscope/picoscope_7.1.17-1r17318_amd64.deb",
"version": "7.0.100-1r11387" "version": "7.1.17-1r17318"
} }
} }
} }
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "eigenmath"; pname = "eigenmath";
version = "unstable-2023-10-26"; version = "unstable-2023-11-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "georgeweigt"; owner = "georgeweigt";
repo = pname; repo = pname;
rev = "043895fbaed27a4baace7c7c0c1f69ea5a9f3d1a"; rev = "b0d822f10243ad5b1c88efb5a82b43a0bbf1bfbc";
hash = "sha256-roPyRaT89I3HbyvBK/owiigMus1EeKEhhKHFsgfzp10="; hash = "sha256-eJ/EmzV5UZGxwZNIna/XXkYY+vkLc610KcywBFPRfyM=";
}; };
checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in '' checkPhase = let emulator = stdenv.hostPlatform.emulator buildPackages; in ''
@@ -1,4 +1,6 @@
{ lib { lib
, stdenv
, darwin
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, nixosTests , nixosTests
@@ -14,18 +16,21 @@
, vulkan-loader , vulkan-loader
, libxkbcommon , libxkbcommon
, withX11 ? true , withX11 ? !stdenv.isDarwin
, libX11 , libX11
, libXcursor , libXcursor
, libXi , libXi
, libXrandr , libXrandr
, libxcb , libxcb
, withWayland ? true , withWayland ? !stdenv.isDarwin
, wayland , wayland
}: }:
let let
rlinkLibs = [ rlinkLibs = if stdenv.isDarwin then [
darwin.libobjc
darwin.apple_sdk.frameworks.AppKit
] else [
(lib.getLib gcc-unwrapped) (lib.getLib gcc-unwrapped)
fontconfig fontconfig
libGL libGL
@@ -55,9 +60,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-XD+/DaaJEJ9jHZITTUma/wfsbduPUTc/SralPOx46Yo="; cargoHash = "sha256-XD+/DaaJEJ9jHZITTUma/wfsbduPUTc/SralPOx46Yo=";
nativeBuildInputs = [ nativeBuildInputs = [
autoPatchelfHook
ncurses ncurses
] ++ lib.optionals stdenv.isLinux [
pkg-config pkg-config
autoPatchelfHook
]; ];
runtimeDependencies = rlinkLibs; runtimeDependencies = rlinkLibs;
@@ -67,10 +73,9 @@ rustPlatform.buildRustPackage rec {
outputs = [ "out" "terminfo" ]; outputs = [ "out" "terminfo" ];
buildNoDefaultFeatures = true; buildNoDefaultFeatures = true;
buildFeatures = [ buildFeatures = [ ]
(lib.optionalString withX11 "x11") ++ lib.optional withX11 "x11"
(lib.optionalString withWayland "wayland") ++ lib.optional withWayland "wayland";
];
checkFlags = [ checkFlags = [
# Fail to run in sandbox environment. # Fail to run in sandbox environment.
@@ -86,6 +91,11 @@ rustPlatform.buildRustPackage rec {
tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo tic -xe rio,rio-direct -o "$terminfo/share/terminfo" misc/rio.terminfo
mkdir -p $out/nix-support mkdir -p $out/nix-support
echo "$terminfo" >> $out/nix-support/propagated-user-env-packages echo "$terminfo" >> $out/nix-support/propagated-user-env-packages
'' + lib.optionalString stdenv.isDarwin ''
mkdir $out/Applications/
mv misc/osx/Rio.app/ $out/Applications/
mkdir $out/Applications/Rio.app/Contents/MacOS/
ln -s $out/bin/rio $out/Applications/Rio.app/Contents/MacOS/
''; '';
passthru = { passthru = {
@@ -7,19 +7,20 @@
, json-glib , json-glib
, libinput , libinput
, gtk4 , gtk4
, libadwaita
, wrapGAppsHook4 , wrapGAppsHook4
, libxkbcommon , libxkbcommon
, pkg-config , pkg-config
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "showmethekey"; pname = "showmethekey";
version = "1.8.1"; version = "1.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AlynxZhou"; owner = "AlynxZhou";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-IfegYHHFbZbMTA8JWXAun9Gl3BpykH/5RqUIrlYlLhk="; hash = "sha256-eeObomb4Gv/vpvViHsi3+O0JR/rYamrlZNZaXKL6KJw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -32,6 +33,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
gtk4 gtk4
libadwaita
libevdev libevdev
libinput libinput
libxkbcommon libxkbcommon
@@ -11,13 +11,13 @@
buildGoModule rec { buildGoModule rec {
pname = "containerd"; pname = "containerd";
version = "1.7.8"; version = "1.7.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containerd"; owner = "containerd";
repo = "containerd"; repo = "containerd";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-p16qHJD0i0ZNEFGEbfmbxiedX9/uHkZxhCeB3x/5iLM="; hash = "sha256-/kCnzOL8CJuJJglHzmev3alt8cMwTUbIiZhNft9zwps=";
}; };
vendorHash = null; vendorHash = null;
@@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "amazon-ecs-agent"; pname = "amazon-ecs-agent";
version = "1.78.0"; version = "1.78.1";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
hash = "sha256-/FppBl25AgwZhNcwWmUc0ThaTm1U4lhaoCTTJ/R/srI="; hash = "sha256-8/hHv5veTQXNg8c5oew+5FWLAQkytTD2+Gdb30sY9lo=";
}; };
vendorHash = null; vendorHash = null;
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "nixpacks"; pname = "nixpacks";
version = "1.18.0"; version = "1.19.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "railwayapp"; owner = "railwayapp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-GmIrz23z/vV6Ut31pajUmPfT9V37Ajs5JaIMD1Ociu8="; sha256 = "sha256-yeZGhE+ImWXW3HPpAo+E1GOSEwPr7yK78XVmCocGqH4=";
}; };
cargoHash = "sha256-AwDaIHuD/0H/SkhxT/V0/4K/5yp+s5DI34e8JQgajgc="; cargoHash = "sha256-xqKYd80PCM7Rnj+9dV2XjigE4sweOnL4HfOQiOYzCEQ=";
# skip test due FHS dependency # skip test due FHS dependency
doCheck = false; doCheck = false;
@@ -6,6 +6,7 @@
, libevdev , libevdev
, libinput , libinput
, libxkbcommon , libxkbcommon
, xcbutilwm
, makeWrapper , makeWrapper
, mesa , mesa
, meson , meson
@@ -24,13 +25,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cagebreak"; pname = "cagebreak";
version = "1.9.1"; version = "2.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "project-repo"; owner = "project-repo";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-pU1QHYOqnkb3L4iSKbZY9Vo60Z6EaX9mp2Nw48NSPic="; hash = "sha256-cJEJ8V9lDbNb07eY3nWmNcT7ULGlcmOeyb9UDOLGWfI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -48,6 +49,7 @@ stdenv.mkDerivation rec {
libevdev libevdev
libinput libinput
libxkbcommon libxkbcommon
xcbutilwm
mesa # for libEGL headers mesa # for libEGL headers
pango pango
pixman pixman
@@ -69,6 +71,8 @@ stdenv.mkDerivation rec {
# Patch cagebreak to read its default configuration from $out/share/cagebreak # Patch cagebreak to read its default configuration from $out/share/cagebreak
sed -i "s|/etc/xdg/cagebreak|$out/share/cagebreak|" meson.build cagebreak.c sed -i "s|/etc/xdg/cagebreak|$out/share/cagebreak|" meson.build cagebreak.c
substituteInPlace meson.build \
--replace "/usr/share/licenses" "$out/share/licenses"
''; '';
postFixup = lib.optionalString withXwayland '' postFixup = lib.optionalString withXwayland ''
@@ -21,11 +21,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "e16"; pname = "e16";
version = "1.0.28"; version = "1.0.29";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/enlightenment/e16-${version}.tar.xz"; url = "mirror://sourceforge/enlightenment/e16-${version}.tar.xz";
hash = "sha256-k3W2IoBc75DNQ2QSjChsC/yVRO/aZT3E31Tl/njgH30="; hash = "sha256-LvLiw6+hduAl8dNBTtBwqvgKBRwojBUd5tNm1hZl5Hs=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
+32
View File
@@ -0,0 +1,32 @@
{
lib,
stdenv,
fetchzip,
zlib,
}:
stdenv.mkDerivation rec {
pname = "braa";
version = "0.82";
src = fetchzip {
url = "http://s-tech.elsat.net.pl/${pname}/${pname}-${version}.tar.gz";
hash = "sha256-GS3kk432BdGx/sLzzjXvotD9Qn4S3U4XtMmM0fWMhGA=";
};
buildInputs = [zlib];
installPhase = ''
runHook preInstall
install -Dm755 braa $out/bin/braa
runHook postInstall
'';
meta = with lib; {
description = "A mass snmp scanner";
homepage = "http://s-tech.elsat.net.pl";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [bycEEE];
mainProgram = "braa";
};
}
+52
View File
@@ -0,0 +1,52 @@
{
lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
, coreutils
}:
buildGoModule rec {
pname = "devdash";
version = "0.5.0";
src = fetchFromGitHub {
owner = "Phantas0s";
repo = "devdash";
rev = "refs/tags/v${version}";
hash = "sha256-RUPpgMVl9Cm8uhztdfKnuQ6KdMn9m9PewlT59NnTSiY=";
};
vendorHash = "sha256-xuc8rAkyCInNFxs5itwabqBe4CPg/sAuhcTJsapx7Q8=";
ldflags = [
"-s -w"
"-X github.com/Phantas0s/devdash/cmd.current=${version}"
"-X github.com/Phantas0s/devdash/cmd.buildDate=1970-01-01-00:00:01"
];
patchPhase = ''
runHook prePatch
shopt -s globstar
substituteInPlace **/*.go --replace '"/bin/' '"/usr/bin/env '
shopt -u globstar
runHook postPatch
'';
runtimeDependencies = [
coreutils
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Highly configurable terminal dashboard for developers and creators";
homepage = "https://github.com/Phantas0s/devdash";
changelog = "https://github.com/Phantas0s/devdash/blob/v${version}/CHANGELOG.md";
maintainers = with lib.maintainers; [ h7x4 ];
license = lib.licenses.asl20;
mainProgram = "devdash";
};
}
+2 -2
View File
@@ -6,13 +6,13 @@
buildGoModule rec { buildGoModule rec {
pname = "eksctl"; pname = "eksctl";
version = "0.163.0"; version = "0.164.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "weaveworks"; owner = "weaveworks";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-rpyLjoHMSgEHTILeEQpUKD7BOJHn/uT3GK6Fquirzdk="; hash = "sha256-ENlMcwk4bMbIzV353vt+EG776+/ajrg5la3JeA81QS4=";
}; };
vendorHash = "sha256-NOhssVWEkvoXpmnsCVVT7Li0ePGWDSGIlB2MyFtMnpI="; vendorHash = "sha256-NOhssVWEkvoXpmnsCVVT7Li0ePGWDSGIlB2MyFtMnpI=";
@@ -1,22 +1,22 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, makeDesktopItem
, copyDesktopItems
, pkg-config
, gtk3
, alsa-lib , alsa-lib
, copyDesktopItems
, gtk3
, makeDesktopItem
, pkg-config
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "free42"; pname = "free42";
version = "3.0.21"; version = "3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thomasokken"; owner = "thomasokken";
repo = pname; repo = "free42";
rev = "v${version}"; rev = "v${finalAttrs.version}";
hash = "sha256-zRO0buYfKtybUisWZJRkvLJVLJYZwLcDnT04rnQWy+s="; hash = "sha256-v3nZMjV9KnoTefeu2jl3k1B7efnJnNVOAfDVLyce6QI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -35,6 +35,27 @@ stdenv.mkDerivation rec {
dontConfigure = true; dontConfigure = true;
desktopItems = [
(makeDesktopItem {
name = "com.thomasokken.free42bin";
desktopName = "Free42Bin";
genericName = "Calculator";
exec = "free42bin";
type = "Application";
comment = finalAttrs.meta.description;
categories = [ "Utility" "Calculator" ];
})
(makeDesktopItem {
name = "com.thomasokken.free42dec";
desktopName = "Free42Dec";
genericName = "Calculator";
exec = "free42dec";
type = "Application";
comment = finalAttrs.meta.description;
categories = [ "Utility" "Calculator" ];
})
];
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild
@@ -50,48 +71,28 @@ stdenv.mkDerivation rec {
runHook preInstall runHook preInstall
install --directory $out/bin \ install --directory $out/bin \
$out/share/doc/${pname} \ $out/share/doc/free42 \
$out/share/${pname}/skins \ $out/share/free42/skins \
$out/share/icons/hicolor/48x48/apps \ $out/share/icons/hicolor/48x48/apps \
$out/share/icons/hicolor/128x128/apps $out/share/icons/hicolor/128x128/apps
install -m755 gtk/free42dec gtk/free42bin $out/bin install -m755 gtk/free42dec gtk/free42bin $out/bin
install -m644 gtk/README $out/share/doc/${pname}/README-GTK install -m644 gtk/README $out/share/doc/free42/README-GTK
install -m644 README $out/share/doc/${pname}/README install -m644 README $out/share/doc/free42/README
install -m644 gtk/icon-48x48.xpm $out/share/icons/hicolor/48x48/apps install -m644 gtk/icon-48x48.xpm $out/share/icons/hicolor/48x48/apps
install -m644 gtk/icon-128x128.xpm $out/share/icons/hicolor/128x128/apps install -m644 gtk/icon-128x128.xpm $out/share/icons/hicolor/128x128/apps
install -m644 skins/* $out/share/${pname}/skins install -m644 skins/* $out/share/free42/skins
runHook postInstall runHook postInstall
''; '';
desktopItems = [ meta = {
(makeDesktopItem {
name = "com.thomasokken.free42bin";
desktopName = "Free42Bin";
genericName = "Calculator";
exec = "free42bin";
type = "Application";
comment = meta.description;
categories = [ "Utility" "Calculator" ];
})
(makeDesktopItem {
name = "com.thomasokken.free42dec";
desktopName = "Free42Dec";
genericName = "Calculator";
exec = "free42dec";
type = "Application";
comment = meta.description;
categories = [ "Utility" "Calculator" ];
})
];
meta = with lib; {
homepage = "https://github.com/thomasokken/free42"; homepage = "https://github.com/thomasokken/free42";
description = "A software clone of HP-42S Calculator"; description = "A software clone of HP-42S Calculator";
license = licenses.gpl2Only; license = with lib.licenses; [ gpl2Only ];
maintainers = with maintainers; [ AndersonTorres plabadens ]; maintainers = with lib.maintainers; [ AndersonTorres ];
platforms = with platforms; unix; mainProgram = "free42dec";
platforms = with lib.platforms; unix;
}; };
} })
+40
View File
@@ -0,0 +1,40 @@
{ lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
}:
buildGoModule rec {
pname = "hof";
version = "0.6.9-beta.1";
src = fetchFromGitHub {
owner = "hofstadter-io";
repo = "hof";
rev = "v${version}";
hash = "sha256-4yVP6DRHrsp52VxBhr7qppPhInYEsvPbIfxxQcRwHTw=";
};
nativeBuildInputs = [ installShellFiles ];
vendorHash = "sha256-cDUcYwcxPn+9TEP5lhVJXofijCZX94Is+Qt41PqUgjI=";
subPackages = [ "./cmd/hof/main.go" ];
postInstall = ''
mv $out/bin/main $out/bin/hof
local INSTALL="$out/bin/hof"
installShellCompletion --cmd hof \
--bash <($out/bin/hof completion bash) \
--fish <($out/bin/hof completion fish) \
--zsh <($out/bin/hof completion zsh)
'';
meta = with lib; {
homepage = "https://github.com/hofstadter-io/hof";
description = "Framework that joins data models, schemas, code generation, and a task engine. Language and technology agnostic";
license = licenses.asl20;
maintainers = with maintainers; [ jfvillablanca ];
mainProgram = "hof";
};
}
@@ -1,14 +1,15 @@
{ { fetchFromSourcehut
fetchFromSourcehut, , file
installShellFiles, , installShellFiles
less, , less
lib, , lib
offpunk, , offpunk
python3Packages, , python3Packages
testers, , testers
timg, , timg
xdg-utils, , xdg-utils
xsel, , xsel
,
}: }:
let let
@@ -23,6 +24,7 @@ let
setproctitle setproctitle
]; ];
otherDependencies = [ otherDependencies = [
file
less less
timg timg
xdg-utils xdg-utils
@@ -31,7 +33,7 @@ let
in in
python3Packages.buildPythonPackage rec { python3Packages.buildPythonPackage rec {
pname = "offpunk"; pname = "offpunk";
version = "1.10"; version = "2.0";
format = "pyproject"; format = "pyproject";
disabled = python3Packages.pythonOlder "3.7"; disabled = python3Packages.pythonOlder "3.7";
@@ -40,23 +42,21 @@ python3Packages.buildPythonPackage rec {
owner = "~lioploum"; owner = "~lioploum";
repo = "offpunk"; repo = "offpunk";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-+jGKPPnKZHn+l6VAwuae6kICwR7ymkYJjsM2OHQAEmU="; hash = "sha256-6ftc2goCNgvXf5kszvjeSHn24Hn73jq26Irl5jiN6pk=";
}; };
nativeBuildInputs = [ python3Packages.flit-core installShellFiles ]; nativeBuildInputs = [ python3Packages.hatchling installShellFiles ];
propagatedBuildInputs = otherDependencies ++ pythonDependencies; propagatedBuildInputs = otherDependencies ++ pythonDependencies;
postInstall = '' postInstall = ''
installManPage man/*.1 installManPage man/*.1
''; '';
passthru.tests.version = testers.testVersion { package = offpunk; };
meta = with lib; { meta = with lib; {
description = "An Offline-First browser for the smolnet "; description = "An Offline-First browser for the smolnet ";
homepage = src.meta.homepage; homepage = src.meta.homepage;
maintainers = with maintainers; [ DamienCassou ]; maintainers = with maintainers; [ DamienCassou ];
platforms = platforms.linux; platforms = platforms.linux;
license = licenses.bsd2; license = licenses.agpl3Plus;
}; };
} }
+58
View File
@@ -0,0 +1,58 @@
{ lib
, stdenv
, fetchFromGitHub
, php
, makeWrapper
, imagemagick
, librsvg
, potrace
, pdftk
, ghostscript
}:
stdenv.mkDerivation rec {
pname = "signaturepdf";
version = "1.5.0";
src = fetchFromGitHub {
owner = "24eme";
repo = "${pname}";
rev = "v${version}";
hash = "sha256-7yhvTxpjxHcmRxTE7avM+dN+yz9iVr8Ea/e2yfkBURA=";
};
nativeBuildInputs = [ makeWrapper ];
dontConfigure = true;
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/signaturepdf $out/bin
cp --target-directory=$out/share/signaturepdf --recursive \
app.php config locale public templates vendor
makeWrapper ${lib.getExe php} $out/bin/signaturepdf \
--inherit-argv0 \
--chdir $out/share/signaturepdf \
--prefix PATH : ${lib.makeBinPath [ imagemagick librsvg potrace pdftk ghostscript ]} \
--run 'port=$1' \
--run '[ $# -ge 1 ] || ( echo "Usage $0 <port> -d upload_max_filesize=24M -d post_max_size=24M -d max_file_uploads=201" >&2 && exit 1 )' \
--run 'shift' \
--run 'echo "You may now open a web browser on http://localhost:$port"' \
--add-flags '-S "localhost:$port" -t public'
runHook preInstall
'';
meta = with lib; {
description = "Web software for signing PDFs and also organize pages, edit metadata and compress pdf";
homepage = "https://pdf.24eme.fr/";
changelog =
"https://github.com/24eme/signaturepdf/releases/tag/v${version}";
license = licenses.agpl3;
platforms = platforms.all;
maintainers = with maintainers; [ DamienCassou ];
};
}
@@ -0,0 +1,27 @@
{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "soundfont-arachno";
version = "1.0";
src = fetchzip {
# Linked on http://www.arachnosoft.com/main/download.php?id=soundfont-sf2:
url = "https://www.dropbox.com/s/2rnpya9ecb9m4jh/arachno-soundfont-${builtins.replaceStrings ["."] [""] version}-sf2.zip";
hash = "sha256-Z5ETe0AKPCi4KlM2xOlNcyQn1xvCuor3S/tcrF+AwNQ=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -Dm444 Arachno*.sf2 $out/share/soundfonts/arachno.sf2
runHook postInstall
'';
meta = with lib; {
description = "General MIDI-compliant bank, aimed at enhancing the realism of your MIDI files and arrangements";
homepage = "http://www.arachnosoft.com/main/soundfont.php";
license = licenses.unfree;
platforms = platforms.all;
maintainers = with maintainers; [ mrtnvgr ];
};
}
@@ -0,0 +1,39 @@
{ stdenv
, lib
, fetchFromGitHub
, meson
, ninja
, pkg-config
, libpulseaudio
, wayland
, wayland-protocols
}:
stdenv.mkDerivation {
pname = "sway-audio-idle-inhibit";
version = "unstable-2023-08-09";
src = fetchFromGitHub {
owner = "ErikReider";
repo = "SwayAudioIdleInhibit";
rev = "c850bc4812216d03e05083c69aa05326a7fab9c7";
sha256 = "sha256-MKzyF5xY0uJ/UWewr8VFrK0y7ekvcWpMv/u9CHG14gs=";
};
nativeBuildInputs = [
meson ninja pkg-config
];
buildInputs = [
libpulseaudio wayland wayland-protocols
];
meta = with lib; {
description = "Prevents swayidle from sleeping while any application is outputting or receiving audio";
homepage = "https://github.com/ErikReider/SwayAudioIdleInhibit";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ rafaelrc ];
mainProgram = "sway-audio-idle-inhibit";
};
}
@@ -0,0 +1,30 @@
{ fetchFromGitHub, lib, nix-update-script, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "sway-overfocus";
version = "0.2.3-fix";
src = fetchFromGitHub {
owner = "korreman";
repo = pname;
rev = "v${version}";
hash = "sha256-KHbYlxgrrZdNKJ7R9iVflbbP1c6qohM/NHBSYuzxEt4=";
};
cargoHash = "sha256-zp6PSu8P+ZUhrqi5Vxpe+z9zBaSkdVQBMGNP0FVOviQ=";
# Crate without tests.
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = ''"Better" focus navigation for sway and i3.'';
homepage = "https://github.com/korreman/sway-overfocus";
changelog = "https://github.com/korreman/sway-overfocus/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = [ maintainers.ivan770 ];
mainProgram = "sway-overfocus";
};
}
+2 -2
View File
@@ -2,11 +2,11 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "clash-geoip"; pname = "clash-geoip";
version = "20231012"; version = "20231112";
src = fetchurl { src = fetchurl {
url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb"; url = "https://github.com/Dreamacro/maxmind-geoip/releases/download/${version}/Country.mmdb";
sha256 = "sha256-KXmHaoIZ01M6Nu2LlVgTZarUp+5VPpLfnkc7d/Xl4z0="; sha256 = "sha256-CTygf2/CbxNO/9e8OfxeGZFaSrKXdlQdvUgywZX1U9o=";
}; };
dontUnpack = true; dontUnpack = true;
@@ -1,7 +1,6 @@
{ lib { lib
, stdenvNoCC , stdenvNoCC
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, nix-update-script , nix-update-script
, gettext , gettext
, meson , meson
@@ -12,24 +11,15 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "elementary-gtk-theme"; pname = "elementary-gtk-theme";
version = "7.2.0"; version = "7.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "elementary"; owner = "elementary";
repo = "stylesheet"; repo = "stylesheet";
rev = version; rev = version;
sha256 = "sha256-ZR0FJ8DkPlO1Zatvxv3NghAVBPo2j+1m0k4C+gvYPVA="; sha256 = "sha256-KrpeDQH43n7seeSPVYKETxy1g0JuUowZerjgktLQg/4=";
}; };
patches = [
# Headerbars: fix missing default-decoration
# https://github.com/elementary/stylesheet/pull/1258
(fetchpatch {
url = "https://github.com/elementary/stylesheet/commit/9cea2383bec8f90d25f1e9b854b5221737487521.patch";
sha256 = "sha256-6komROS4+nxwoGoKoiDmnrTfLNZAvnTU6hIEOQQfmxc=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
gettext gettext
meson meson
-2
View File
@@ -8,7 +8,6 @@
, flatpak , flatpak
, fwupd , fwupd
, ostree , ostree
, packagekit-qt
, pcre , pcre
, util-linux , util-linux
, qtquickcontrols2 , qtquickcontrols2
@@ -42,7 +41,6 @@ mkDerivation {
flatpak flatpak
fwupd fwupd
ostree ostree
packagekit-qt
pcre pcre
util-linux util-linux
qtquickcontrols2 qtquickcontrols2
@@ -52,7 +52,11 @@ stdenv.mkDerivation rec {
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [
darwin.libobjc darwin.libobjc
darwin.apple_sdk.libs.xpc darwin.apple_sdk.libs.xpc
darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.apple_sdk.frameworks.Foundation
darwin.bootstrap_cmds
darwin.apple_sdk.frameworks.Carbon
darwin.apple_sdk.frameworks.Cocoa
darwin.apple_sdk.frameworks.DebugSymbols
]; ];
CXXFLAGS = "-fno-rtti"; CXXFLAGS = "-fno-rtti";
@@ -5,24 +5,18 @@
buildGoModule rec { buildGoModule rec {
pname = "cel-go"; pname = "cel-go";
version = "0.18.1"; version = "0.18.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "cel-go"; repo = "cel-go";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-eXltZkg5QjdCrL9sk2ngVtirSnjBBqk+OdNLY4QtVx4="; hash = "sha256-c4MVOHkDaUGlRVYb9YS9BH4ld2zS3SR5efP6amLhTig=";
}; };
modRoot = "repl"; modRoot = "repl";
vendorHash = "sha256-kalTHpyMYrKZHayxNKLc8vtogiDKyyQLExOQhqp1MUY="; vendorHash = "sha256-Oj/XUUmuj5scD5WT6zBxnU1hSapDyRBBz75rbIdY4Ho=";
patches = [
# repl/go.mod and repl/go.sum are outdated
# ran `go mod tidy` in the repl directory
./go-mod-tidy.patch
];
subPackages = [ subPackages = [
"main" "main"
@@ -1,52 +0,0 @@
--- a/repl/go.mod
+++ b/repl/go.mod
@@ -6,16 +6,16 @@ require (
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1
github.com/chzyer/readline v1.5.1
github.com/google/cel-go v0.14.0
- google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9
- google.golang.org/protobuf v1.30.0
+ google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5
+ google.golang.org/protobuf v1.31.0
)
require (
github.com/stoewer/go-strcase v1.3.0 // indirect
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 // indirect
- golang.org/x/sys v0.7.0 // indirect
+ golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
)
replace github.com/google/cel-go => ../.
--- a/repl/go.sum
+++ b/repl/go.sum
@@ -26,18 +26,18 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
golang.org/x/exp v0.0.0-20230321023759-10a507213a29 h1:ooxPy7fPvB4kwsA2h+iBNHkAbp/4JxTSwCmvdjEYmug=
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU=
-golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
+golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9 h1:m8v1xLLLzMe1m5P+gCTF8nJB9epwZQUBERm20Oy1poQ=
-google.golang.org/genproto/googleapis/api v0.0.0-20230525234035-dd9d682886f9/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 h1:0nDDozoAU19Qb2HwhXadU8OcsiO/09cnTqhUtq2MEOM=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19/go.mod h1:66JfowdXAEgad5O9NnYcsNPLCPZJD++2L9X0PCMODrA=
+google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 h1:nIgk/EEq3/YlnmVVXVnm14rC2oxgs1o0ong4sD/rd44=
+google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5/go.mod h1:5DZzOUPCLYL3mNkQ0ms0F3EuUNZ7py1Bqeq6sxzI7/Q=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 h1:eSaPbMR4T7WfH9FvABk36NBMacoTUKdWCvV0dx+KfOg=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5/go.mod h1:zBEcrKX2ZOcEkHWxBPAIvYUWOKKMIhYcmNiUIu2ji3I=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
-google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
-google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
+google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
+google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
@@ -5,18 +5,18 @@
buildGoModule rec { buildGoModule rec {
pname = "expr"; pname = "expr";
version = "1.15.3"; version = "1.15.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "antonmedv"; owner = "antonmedv";
repo = "expr"; repo = "expr";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-r+XlcDvCQarzh8wO3NL87PJThnioeVC73OZdJ8kW4RM="; hash = "sha256-x96I6HHhm3RIrlg1/KVCIbFkelazGt0H2nk8juUWjKg=";
}; };
sourceRoot = "${src.name}/repl"; sourceRoot = "${src.name}/repl";
vendorHash = "sha256-WxYqP8L64U5MAYG7XTpKrRW1aaqGB4hJr+e/RKdb1lU="; vendorHash = "sha256-ZVB6P0WdjyDK9OlEgKjR3D3IVBkDbDx9bOpLC/H2JLs=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];
@@ -0,0 +1,30 @@
import pkg_resources
import collections
import sys
do_abort = False
packages = collections.defaultdict(list)
for f in sys.path:
for req in pkg_resources.find_distributions(f):
if req not in packages[req.project_name]:
# some exceptions inside buildPythonPackage
if req.project_name in ['setuptools', 'pip', 'wheel']:
continue
packages[req.project_name].append(req)
for name, duplicates in packages.items():
if len(duplicates) > 1:
do_abort = True
print("Found duplicated packages in closure for dependency '{}': ".format(name))
for dup in duplicates:
print(" " + repr(dup))
if do_abort:
print("")
print(
'Package duplicates found in closure, see above. Usually this '
'happens if two packages depend on different version '
'of the same dependency.')
sys.exit(1)
@@ -106,9 +106,16 @@ in {
pythonCatchConflictsHook = callPackage ({ makePythonHook, setuptools }: pythonCatchConflictsHook = callPackage ({ makePythonHook, setuptools }:
makePythonHook { makePythonHook {
name = "python-catch-conflicts-hook"; name = "python-catch-conflicts-hook";
substitutions = { substitutions = let
useLegacyHook = lib.versionOlder python.version "3.10";
in {
inherit pythonInterpreter pythonSitePackages; inherit pythonInterpreter pythonSitePackages;
catchConflicts=../catch_conflicts/catch_conflicts.py; catchConflicts = if useLegacyHook then
../catch_conflicts/catch_conflicts_py2.py
else
../catch_conflicts/catch_conflicts.py;
} // lib.optionalAttrs useLegacyHook {
inherit setuptools;
}; };
} ./python-catch-conflicts-hook.sh) {}; } ./python-catch-conflicts-hook.sh) {};
@@ -57,8 +57,7 @@
# Raise an error if two packages are installed with the same name # Raise an error if two packages are installed with the same name
# TODO: For cross we probably need a different PYTHONPATH, or not # TODO: For cross we probably need a different PYTHONPATH, or not
# add the runtime deps until after buildPhase. # add the runtime deps until after buildPhase.
# FIXME: disabled for Python 2 because broken , catchConflicts ? (python.stdenv.hostPlatform == python.stdenv.buildPlatform)
, catchConflicts ? false
# Additional arguments to pass to the makeWrapper function, which wraps # Additional arguments to pass to the makeWrapper function, which wraps
# generated binaries. # generated binaries.
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zef"; pname = "zef";
version = "0.20.0"; version = "0.21.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ugexe"; owner = "ugexe";
repo = "zef"; repo = "zef";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-IWOgbKYaWKjC2+dc2P3THAVy23F3iQXh2D6od/0e0Jw="; sha256 = "sha256-QVUnn9G28epoUEcK8mwm8S2wDQ/tv5B3Zds7bTUFwlw=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@@ -9,14 +9,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xmlada"; pname = "xmlada";
version = "23.0.0"; version = "24.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
name = "xmlada-${version}-src"; name = "xmlada-${version}-src";
owner = "AdaCore"; owner = "AdaCore";
repo = "xmlada"; repo = "xmlada";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-covcSwlQQjRKTv0DdMEgahXXlch0TeKnvSyOsGO9+e0="; sha256 = "sha256-vvM7bdf3dAa3zKgxbGeAGlBT6fvafzmleimJHyRdlvc=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -15,13 +15,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "duckdb"; pname = "duckdb";
version = "0.9.1"; version = "0.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-UG/vV/6WxVLq9mdze8pSDFJIekOgGsg93dzMq6eP6Dg="; hash = "sha256-QFK8mEMcqQwALFNvAdD8yWixwMYHSbeo6xqx86PvejU=";
}; };
patches = [ ./version.patch ]; patches = [ ./version.patch ];
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "imgui"; pname = "imgui";
version = "1.89.9"; version = "1.90";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ocornut"; owner = "ocornut";
repo = "imgui"; repo = "imgui";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-0k9jKrJUrG9piHNFQaBBY3zgNIKM23ZA879NY+MNYTU="; sha256 = "sha256-rJMWCPVhho34NcPvJZaB5d6EbZkJyLXEfeotplOOaiA=";
}; };
dontBuild = true; dontBuild = true;
+29 -8
View File
@@ -1,30 +1,51 @@
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk-doc, glib, avahi, gnutls, libuuid, libsoup, gtk3, gnome }: { stdenv
, lib
, fetchurl
, autoreconfHook
, pkg-config
, intltool
, gtk-doc
, glib
, avahi
, gnutls
, libuuid
, libsoup
, gtk3
, gnome
}:
let stdenv.mkDerivation (finalAttrs: {
avahiWithGtk = avahi.override { gtk3Support = true; };
in stdenv.mkDerivation rec {
pname = "libepc"; pname = "libepc";
version = "0.4.6"; version = "0.4.6";
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/libepc/${lib.versions.majorMinor finalAttrs.version}/libepc-${finalAttrs.version}.tar.xz";
sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91"; sha256 = "1s3svb2slqjsrqfv50c2ymnqcijcxb5gnx6bfibwh9l5ga290n91";
}; };
patches = [
# Remove dependency that is only needed by uninstalled examples.
./no-avahi-ui.patch
];
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook
gnome.gnome-common
pkg-config pkg-config
intltool intltool
gtk-doc gtk-doc
]; ];
buildInputs = [ buildInputs = [
glib glib
libuuid libuuid
gtk3 gtk3
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
avahiWithGtk avahi
gnutls gnutls
libsoup libsoup
]; ];
@@ -33,7 +54,7 @@ in stdenv.mkDerivation rec {
passthru = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = pname; packageName = "libepc";
versionPolicy = "odd-unstable"; versionPolicy = "odd-unstable";
}; };
}; };
@@ -45,4 +66,4 @@ in stdenv.mkDerivation rec {
maintainers = teams.gnome.members; maintainers = teams.gnome.members;
platforms = platforms.linux; platforms = platforms.linux;
}; };
} })
@@ -0,0 +1,36 @@
diff --git a/Makefile.am b/Makefile.am
index acf0d25..13022d1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -32,8 +32,6 @@ noinst_PROGRAMS = \
examples/lookup-resource \
examples/service-browser \
examples/simple-publisher \
- examples/consumer-ui \
- examples/publisher-ui \
examples/server-credentials \
$(TESTS)
TESTS = \
@@ -155,10 +153,6 @@ examples_service_browser_LDADD = $(example_epc_libs)
examples_simple_publisher_CFLAGS = $(example_epc_cflags)
examples_simple_publisher_LDADD = $(example_epc_libs)
-examples_consumer_ui_CFLAGS = $(example_epc_ui_cflags) $(AVAHI_UI_CFLAGS)
-examples_consumer_ui_LDADD = $(example_epc_ui_libs) $(AVAHI_UI_LIBS)
-examples_publisher_ui_CFLAGS = $(example_epc_ui_cflags) $(AVAHI_UI_CFLAGS) -rdynamic
-examples_publisher_ui_LDADD = $(example_epc_ui_libs) $(AVAHI_UI_LIBS)
examples_server_credentials_CFLAGS = $(example_epc_ui_cflags)
examples_server_credentials_LDADD = $(example_epc_ui_libs)
diff --git a/configure.ac b/configure.ac
index d68bf94..89bd471 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,6 @@ PKG_CHECK_EXISTS([$GIO_REQUIREMENT],
GIO=$GIO_REQUIREMENT],
[AC_MSG_RESULT([no])])
-PKG_CHECK_MODULES(AVAHI_UI, [avahi-ui-gtk3 >= 0.6])
PKG_CHECK_MODULES(LIBEPC, [avahi-client >= 0.6
avahi-glib >= 0.6
glib-2.0 >= 2.36
@@ -32,6 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "Extensible spatial index library in C++"; description = "Extensible spatial index library in C++";
homepage = "https://libspatialindex.org"; homepage = "https://libspatialindex.org";
license = licenses.mit; license = licenses.mit;
maintainers = teams.geospatial.members;
platforms = platforms.unix; platforms = platforms.unix;
}; };
}) })
@@ -9,13 +9,13 @@
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn # https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "oneDNN"; pname = "oneDNN";
version = "3.3"; version = "3.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "oneapi-src"; owner = "oneapi-src";
repo = "oneDNN"; repo = "oneDNN";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-dC4Z1OvqIF8YhuSeVo+E0CohdXYIfkeTEw3/QuYA/90="; hash = "sha256-br2ssI4MRk9O6u+5voBmxBZtmTFPKoJJe3ZEN2blq7Y=";
}; };
outputs = [ "out" "dev" "doc" ]; outputs = [ "out" "dev" "doc" ];
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "simdjson"; pname = "simdjson";
version = "3.4.0"; version = "3.6.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "simdjson"; owner = "simdjson";
repo = "simdjson"; repo = "simdjson";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-d1tJJCHbx+7klS918Db7S2N8zCdvd9MhI5ybxJpncUw="; sha256 = "sha256-g1jrjRls9tJWh0koMg7MsUgRSNaty8YI+ivlwL6FCsk=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@@ -11,6 +11,7 @@
, gexiv2 , gexiv2
, tracker , tracker
, meson , meson
, mesonEmulatorHook
, ninja , ninja
, pkg-config , pkg-config
, vala , vala
@@ -68,6 +69,7 @@ stdenv.mkDerivation rec {
docbook-xsl-nons docbook-xsl-nons
docbook_xml_dtd_45 docbook_xml_dtd_45
gettext gettext
glib
itstool itstool
libxslt libxslt
meson meson
@@ -75,6 +77,8 @@ stdenv.mkDerivation rec {
pkg-config pkg-config
vala vala
wrapGAppsNoGuiHook wrapGAppsNoGuiHook
] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
]; ];
# TODO: add libenca, libosinfo # TODO: add libenca, libosinfo
@@ -83,7 +87,6 @@ stdenv.mkDerivation rec {
dbus dbus
exempi exempi
giflib giflib
glib
gexiv2 gexiv2
totem-pl-parser totem-pl-parser
tracker tracker
File diff suppressed because it is too large Load Diff
@@ -22,7 +22,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aioesphomeapi"; pname = "aioesphomeapi";
version = "18.4.1"; version = "18.5.2";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "esphome"; owner = "esphome";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-o1Yv4/wSM2k+L2/JP3teUj129QlyLjoShCRWJ3lIN98="; hash = "sha256-kj4FHsNsGsMxK+EI1jgqBfvldkyAoBkCTGT1yiZMmzY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -17,8 +17,8 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "appthreat-vulnerability-db"; pname = "appthreat-vulnerability-db";
version = "5.5.2"; version = "5.5.3";
format = "pyproject"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "AppThreat"; owner = "AppThreat";
repo = "vulnerability-db"; repo = "vulnerability-db";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-ioFTayuPkxXIaaKKVHBLyU47jID6dGWCX1G9kVkD5Yo="; hash = "sha256-6kfkHLW5PftzrhKjywc670HpKCrrU0POEiJ3u2doBTk=";
}; };
postPatch = '' postPatch = ''
@@ -2,6 +2,7 @@
, fetchFromGitHub , fetchFromGitHub
, fetchNpmDeps , fetchNpmDeps
, buildPythonPackage , buildPythonPackage
, nix-update-script
# build-system # build-system
, gettext , gettext
@@ -19,14 +20,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "django-hijack"; pname = "django-hijack";
version = "3.4.1"; version = "3.4.2";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "django-hijack"; owner = "django-hijack";
repo = "django-hijack"; repo = "django-hijack";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-y8KT/Fbk2eQDbGzcJtLdwS6jPCNoTWXousvqY+GlFnQ="; hash = "sha256-E5gM/5MIB65gdyv/I+Kuw8rbjPvtUnbCPXpasaIDzyo=";
}; };
postPatch = '' postPatch = ''
@@ -39,7 +40,7 @@ buildPythonPackage rec {
npmDeps = fetchNpmDeps { npmDeps = fetchNpmDeps {
inherit src; inherit src;
hash = "sha256-FLfMCn2jsLlTTsC+LRMX0dmVCCbNAr2pQUsSQRKgo6E="; hash = "sha256-4ZVb+V/oYfflIZdme6hbpoSBFVV7lk5wLfEzzBqZv/Y=";
}; };
SETUPTOOLS_SCM_PRETEND_VERSION = version; SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -67,6 +68,9 @@ buildPythonPackage rec {
"-W" "ignore::DeprecationWarning" "-W" "ignore::DeprecationWarning"
]; ];
# needed for npmDeps update
passthru.updateScript = nix-update-script { };
meta = with lib; { meta = with lib; {
description = "Allows superusers to hijack (=login as) and work on behalf of another user"; description = "Allows superusers to hijack (=login as) and work on behalf of another user";
homepage = "https://github.com/arteria/django-hijack"; homepage = "https://github.com/arteria/django-hijack";
@@ -0,0 +1,63 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, setuptools
, setuptools-scm
, libxcrypt
, numpy
, qt6
, qtpy
, pyqt6
, pytestCheckHook
, pytest-cov
}:
buildPythonPackage rec {
pname = "echo";
version = "0.8.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "glue-viz";
repo = pname;
rev = "v${version}";
sha256 = "sha256-0FmUA7kOFSRZXwbj8d7asujBPOjE2pFhu6TDNSGD4r0=";
};
nativeBuildInputs = [ setuptools setuptools-scm qt6.wrapQtAppsHook ];
buildInputs = lib.optionals (pythonOlder "3.9") [
libxcrypt
];
propagatedBuildInputs = [
qt6.qtconnectivity
qt6.qtbase
qt6.qttools
pyqt6
numpy
qtpy
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
# collecting ... qt.qpa.xcb: could not connect to display
# qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
doCheck = false;
nativeCheckInputs = [
pytestCheckHook
pytest-cov
];
pythonImportsCheck = [ "echo" ];
meta = with lib; {
homepage = "https://github.com/glue-viz/echo";
description = "Callback Properties in Python";
license = licenses.mit;
maintainers = with maintainers; [ ifurther ];
};
}
@@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, pytestCheckHook
, fetchFromGitHub
, python
, pythonOlder
, setuptools
, setuptools-scm
, numpy
, wheel
, hypothesis
, pytest-cov
}:
buildPythonPackage rec {
pname = "fast-histogram";
version = "0.12";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "astrofrog";
repo = pname;
rev = "v${version}";
sha256 = "sha256-Cz4BgbtxbUPxL2NSzvZYjbYIN4KUuliUV0bXRRtyvfM=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [
pytestCheckHook
hypothesis
pytest-cov
];
pytestFlagsArray = [ "${builtins.placeholder "out"}/${python.sitePackages}" ];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
pythonImportsCheck = [ "fast_histogram" ];
meta = with lib; {
homepage = "https://github.com/astrofrog/fast-histogram";
description = "Fast 1D and 2D histogram functions in Python";
license = licenses.bsd2;
maintainers = with maintainers; [ ifurther ];
};
}
@@ -0,0 +1,87 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, dill
, astropy
, numpy
, pandas
, qt6
, pyqt6
, pyqt-builder
, qtconsole
, setuptools
, setuptools-scm
, scipy
, ipython
, ipykernel
, h5py
, matplotlib
, xlrd
, mpl-scatter-density
, pvextractor
, openpyxl
, echo
, pytest
, pytest-flakes
, pytest-cov
}:
buildPythonPackage rec {
pname = "glueviz";
version = "1.14.1";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "glue-viz";
repo = "glue";
rev = "refs/tags/v${version}";
sha256 = "sha256-pHUcvyDziE7l0foEz7cygMuAwggnIWzsQy9SFZCDkXA=";
};
buildInputs = [ pyqt-builder ];
nativeBuildInputs = [ setuptools setuptools-scm qt6.wrapQtAppsHook ];
propagatedBuildInputs = [
astropy
dill
setuptools
scipy
numpy
matplotlib
pandas
pyqt6
qtconsole
ipython
ipykernel
h5py
xlrd
mpl-scatter-density
pvextractor
openpyxl
echo
];
dontConfigure = true;
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
# collecting ... qt.qpa.xcb: could not connect to display
# qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
doCheck = false;
nativeCheckInputs = [ pytest pytest-flakes pytest-cov ];
pythonImportsCheck = [ "glue" ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
meta = with lib; {
homepage = "https://glueviz.org";
description = "Linked Data Visualizations Across Multiple Files";
license = licenses.bsd3; # https://github.com/glue-viz/glue/blob/main/LICENSE
maintainers = with maintainers; [ ifurther ];
};
}
@@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "google-cloud-org-policy"; pname = "google-cloud-org-policy";
version = "1.8.2"; version = "1.8.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-SJpjS72keOf9QF1imsWLbgMSzxCDloO4tuc4vUy8ZBk="; hash = "sha256-VU+vB+x2DElwzl1cO7qTdV91Mn1i2Dsq2safnMrwuqI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "hcloud"; pname = "hcloud";
version = "1.31.0"; version = "1.32.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-hF+gptNLAeLtpZGrwOezwFeihDt1smCp4QkK5lENMHo="; hash = "sha256-vX85fDFNGJ8zJe6YCPn7VFOdvPkT35VbM3Do+cP2b/Y=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools
, cbor2
, click
, cryptography
, intelhex
}:
buildPythonPackage rec {
pname = "imgtool";
version = "1.10.0";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-A7NOdZNKw9lufEK2vK8Rzq9PRT98bybBfXJr0YMQS0A=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cbor2
click
cryptography
intelhex
];
pythonImportsCheck = [
"imgtool"
];
meta = with lib; {
description = "MCUboot's image signing and key management";
homepage = "https://github.com/mcu-tools/mcuboot";
license = licenses.asl20;
maintainers = with maintainers; [ samueltardieu ];
};
}
@@ -16,14 +16,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lightning-utilities"; pname = "lightning-utilities";
version = "0.9.0"; version = "0.10.0";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Lightning-AI"; owner = "Lightning-AI";
repo = "utilities"; repo = "utilities";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-vSeHtvsIt4L4qJCVlTPVjIjd62+08JWBnr9+9+ujOfw="; hash = "sha256-lp/+ArgoMIa7Q2ufWghr8OYUMlFcj8123Et73ORNI5U=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "linknlink";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "xuanxuan000";
repo = "python-linknlink";
rev = "refs/tags/${version}";
hash = "sha256-pr0FwNweg7hFcvaOHQyXjIzH1L6Q4q/1llwfdl9k0Sk=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
cryptography
];
pythonImportsCheck = [
"linknlink"
];
# Module has no test
doCheck = false;
meta = with lib; {
description = "Module and CLI for controlling Linklink devices locally";
homepage = "https://github.com/xuanxuan000/python-linknlink";
changelog = "";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
@@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "md-toc"; pname = "md-toc";
version = "8.2.0"; version = "8.2.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "frnmst"; owner = "frnmst";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-7Udmon/5E741+v2vBHHL7h31r91RR33hN1WhL3FiDQc="; hash = "sha256-fL3JlZWTEEinYILNeHw0cuvVza27atLLxjrBZkVLRiU=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "meraki"; pname = "meraki";
version = "1.38.0"; version = "1.39.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-LYwjcm4qZfzrDSujQ9eaxjPN9z0qWDSfT+IU1f32cY0="; hash = "sha256-B3+2KnRXWkB83Sy/NH9kJwgSha9L17tx37fFwBjT3Mw=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, hatchling
}:
buildPythonPackage rec {
pname = "mitmproxy-macos";
version = "0.3.11";
pyproject = true;
src = fetchFromGitHub {
owner = "mitmproxy";
repo = "mitmproxy_rs";
rev = version;
hash = "sha256-V6LUr1jJiTo0+53jipkTyzG5JSw6uHaS6ziyBaFbETw=";
};
sourceRoot = "${src.name}/mitmproxy-macos";
pythonImportsCheck = [ "mitmproxy_macos" ];
nativeBuildInputs = [
hatchling
];
meta = with lib; {
description = "The MacOS Rust bits in mitmproxy";
homepage = "https://github.com/mitmproxy/mitmproxy_rs/tree/main/mitmproxy-macos";
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ boltzmannrain ];
platforms = platforms.darwin;
};
}
@@ -4,6 +4,8 @@
, fetchFromGitHub , fetchFromGitHub
, rustPlatform , rustPlatform
, darwin , darwin
, libiconv
, mitmproxy-macos
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@@ -34,13 +36,15 @@ buildPythonPackage rec {
buildInputs = lib.optionals stdenv.isDarwin [ buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security darwin.apple_sdk.frameworks.Security
libiconv
mitmproxy-macos
]; ];
pythonImportsCheck = [ "mitmproxy_rs" ]; pythonImportsCheck = [ "mitmproxy_rs" ];
meta = with lib; { meta = with lib; {
description = "The Rust bits in mitmproxy"; description = "The Rust bits in mitmproxy";
homepage = " https://github.com/mitmproxy/mitmproxy_rs"; homepage = "https://github.com/mitmproxy/mitmproxy_rs";
changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md"; changelog = "https://github.com/mitmproxy/mitmproxy_rs/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];

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