Merge master into staging-next
This commit is contained in:
commit
a2f216a003
@ -172,7 +172,6 @@
|
|||||||
./programs/geary.nix
|
./programs/geary.nix
|
||||||
./programs/git.nix
|
./programs/git.nix
|
||||||
./programs/gnome-disks.nix
|
./programs/gnome-disks.nix
|
||||||
./programs/gnome-documents.nix
|
|
||||||
./programs/gnome-terminal.nix
|
./programs/gnome-terminal.nix
|
||||||
./programs/gnupg.nix
|
./programs/gnupg.nix
|
||||||
./programs/gpaste.nix
|
./programs/gpaste.nix
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
# GNOME Documents.
|
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = teams.gnome.members;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Added 2019-08-09
|
|
||||||
imports = [
|
|
||||||
(mkRenamedOptionModule
|
|
||||||
[ "services" "gnome" "gnome-documents" "enable" ]
|
|
||||||
[ "programs" "gnome-documents" "enable" ])
|
|
||||||
];
|
|
||||||
|
|
||||||
###### interface
|
|
||||||
|
|
||||||
options = {
|
|
||||||
|
|
||||||
programs.gnome-documents = {
|
|
||||||
|
|
||||||
enable = mkOption {
|
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = lib.mdDoc ''
|
|
||||||
Whether to enable GNOME Documents, a document
|
|
||||||
manager application for GNOME.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
###### implementation
|
|
||||||
|
|
||||||
config = mkIf config.programs.gnome-documents.enable {
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.gnome.gnome-documents ];
|
|
||||||
|
|
||||||
services.dbus.packages = [ pkgs.gnome.gnome-documents ];
|
|
||||||
|
|
||||||
services.gnome.gnome-online-accounts.enable = true;
|
|
||||||
|
|
||||||
services.gnome.gnome-online-miners.enable = true;
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
@ -36,6 +36,7 @@ with lib;
|
|||||||
'')
|
'')
|
||||||
(mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.")
|
(mkRemovedOptionModule [ "networking" "vpnc" ] "Use environment.etc.\"vpnc/service.conf\" instead.")
|
||||||
(mkRemovedOptionModule [ "networking" "wicd" ] "The corresponding package was removed from nixpkgs.")
|
(mkRemovedOptionModule [ "networking" "wicd" ] "The corresponding package was removed from nixpkgs.")
|
||||||
|
(mkRemovedOptionModule [ "programs" "gnome-documents" ] "The corresponding package was removed from nixpkgs.")
|
||||||
(mkRemovedOptionModule [ "programs" "tilp2" ] "The corresponding package was removed from nixpkgs.")
|
(mkRemovedOptionModule [ "programs" "tilp2" ] "The corresponding package was removed from nixpkgs.")
|
||||||
(mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " +
|
(mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " +
|
||||||
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"))
|
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"))
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "AusweisApp2";
|
pname = "AusweisApp2";
|
||||||
version = "1.26.1";
|
version = "1.26.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Governikus";
|
owner = "Governikus";
|
||||||
repo = "AusweisApp2";
|
repo = "AusweisApp2";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-Q+ZWnbYH80FMazKB1iSTh9cuYvuPom+qDjMZvC1gUoY=";
|
hash = "sha256-jN4xKgdNO+LyDy+ySM13M5YCaijDq8zAxS+x4Io1ThE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
@ -5,19 +5,19 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "dasel";
|
pname = "dasel";
|
||||||
version = "2.1.0";
|
version = "2.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TomWright";
|
owner = "TomWright";
|
||||||
repo = "dasel";
|
repo = "dasel";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-7JGafJE9nwZ95bOWUyVw2uWA2LltE9HxolHGYU079to=";
|
sha256 = "sha256-27tQEWnirDhqYt5smRFwADa9wKXSk6yXR8+mXvJVtYI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-GO5Vg8zsXfjMBzRDC1/s/SYpviKUf59JB14vauKVFcE=";
|
vendorHash = "sha256-GO5Vg8zsXfjMBzRDC1/s/SYpviKUf59JB14vauKVFcE=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s" "-w" "-X github.com/tomwright/dasel/internal.Version=${version}"
|
"-s" "-w" "-X github.com/tomwright/dasel/v2/internal.Version=${version}"
|
||||||
];
|
];
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
pname = "parsec-bin";
|
pname = "parsec-bin";
|
||||||
version = "150_28";
|
version = "150_86e";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://web.archive.org/web/20220622215230id_/https://builds.parsecgaming.com/package/parsec-linux.deb";
|
url = "https://web.archive.org/web/20230124210253/https://builds.parsecgaming.com/package/parsec-linux.deb";
|
||||||
sha256 = "1hfdzjd8qiksv336m4s4ban004vhv00cv2j461gc6zrp37s0fwhc";
|
sha256 = "sha256-wwBy86TdrHaH9ia40yh24yd5G84WTXREihR+9I6o6uU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
@ -76,6 +76,7 @@ stdenvNoCC.mkDerivation {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://parsecgaming.com/";
|
homepage = "https://parsecgaming.com/";
|
||||||
|
changelog = "https://parsec.app/changelog";
|
||||||
description = "Remote streaming service client";
|
description = "Remote streaming service client";
|
||||||
license = licenses.unfree;
|
license = licenses.unfree;
|
||||||
maintainers = with maintainers; [ arcnmx ];
|
maintainers = with maintainers; [ arcnmx ];
|
||||||
|
@ -222,13 +222,13 @@
|
|||||||
"vendorHash": "sha256-PALZGyGZ6Ggccl4V9gG+gsEdNipYG+DCaZkqF0W1IMQ="
|
"vendorHash": "sha256-PALZGyGZ6Ggccl4V9gG+gsEdNipYG+DCaZkqF0W1IMQ="
|
||||||
},
|
},
|
||||||
"cloudflare": {
|
"cloudflare": {
|
||||||
"hash": "sha256-X7rNVMl5K/Z0w/N6+5fuODjR08gF9s3jQ1HqCo3b1WU=",
|
"hash": "sha256-Y48H7P69ORr8U0yXf1HEBqh//oOmWn3Uj8GQ12PsV/M=",
|
||||||
"homepage": "https://registry.terraform.io/providers/cloudflare/cloudflare",
|
"homepage": "https://registry.terraform.io/providers/cloudflare/cloudflare",
|
||||||
"owner": "cloudflare",
|
"owner": "cloudflare",
|
||||||
"repo": "terraform-provider-cloudflare",
|
"repo": "terraform-provider-cloudflare",
|
||||||
"rev": "v3.32.0",
|
"rev": "v3.33.1",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-7X2T3C775Nq5jc7n41nBREUsOa+EYmBsfBJM5YIo9xI="
|
"vendorHash": "sha256-3JH+4ExREL3vtq6CiQN0G0x08ScrzOf2pTAnsWcGgq8="
|
||||||
},
|
},
|
||||||
"cloudfoundry": {
|
"cloudfoundry": {
|
||||||
"hash": "sha256-/Zxj9cous0SjYxeDo+8/u61pqDwMGt/UsS/OC1oSR2U=",
|
"hash": "sha256-/Zxj9cous0SjYxeDo+8/u61pqDwMGt/UsS/OC1oSR2U=",
|
||||||
@ -1050,13 +1050,13 @@
|
|||||||
"vendorHash": "sha256-NO1r/EWLgH1Gogru+qPeZ4sW7FuDENxzNnpLSKstnE8="
|
"vendorHash": "sha256-NO1r/EWLgH1Gogru+qPeZ4sW7FuDENxzNnpLSKstnE8="
|
||||||
},
|
},
|
||||||
"spotinst": {
|
"spotinst": {
|
||||||
"hash": "sha256-JT+kWE6k22qp905soDbnptr7gJZiZ8uRZ4+ZBw++8Mo=",
|
"hash": "sha256-2w4Qh9S0YxvcNdgtPLsNEumZiJn3+VH80zwamJW1FWQ=",
|
||||||
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
|
"homepage": "https://registry.terraform.io/providers/spotinst/spotinst",
|
||||||
"owner": "spotinst",
|
"owner": "spotinst",
|
||||||
"repo": "terraform-provider-spotinst",
|
"repo": "terraform-provider-spotinst",
|
||||||
"rev": "v1.95.2",
|
"rev": "v1.96.0",
|
||||||
"spdx": "MPL-2.0",
|
"spdx": "MPL-2.0",
|
||||||
"vendorHash": "sha256-vW+1tH+3bT70RrHOTKemM23e0EoX3AO5AMXOAuyyKPA="
|
"vendorHash": "sha256-SRQWZGyQDbESrpu0tsy6EBfvjY/l89fQexCdhSYPzGI="
|
||||||
},
|
},
|
||||||
"stackpath": {
|
"stackpath": {
|
||||||
"hash": "sha256-nTR9HgSmuNCt7wxE4qqIH2+HA2igzqVx0lLRx6FoKrE=",
|
"hash": "sha256-nTR9HgSmuNCt7wxE4qqIH2+HA2igzqVx0lLRx6FoKrE=",
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "treesheets";
|
pname = "treesheets";
|
||||||
version = "unstable-2023-01-20";
|
version = "unstable-2023-01-23";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "aardappel";
|
owner = "aardappel";
|
||||||
repo = "treesheets";
|
repo = "treesheets";
|
||||||
rev = "4d48bbe730b19963efeb3bb6f59e92aa3968b229";
|
rev = "f676cba7f9749825744ec705ee58b9fbea47db51";
|
||||||
sha256 = "03REE7/jn1uuU89DKkGD1QqqzOt+DR6qmoyyaf8042c=";
|
sha256 = "Zx1fGicCuX+HJm2QFSYQhcd9Ibg3qj5h9NPlSNNVLag=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, webfs }:
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, git }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "srvc";
|
pname = "srvc";
|
||||||
version = "0.10.1";
|
version = "0.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "insilica";
|
owner = "insilica";
|
||||||
repo = "rs-srvc";
|
repo = "rs-srvc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-yeyAorVMHFl9wm57gmK6ZAI1w5daN2xl29Gqq0DsTtc=";
|
sha256 = "sha256-m4mN+vDEKPHRavtI9CbszOOdJcLYa+XqlzEyPvPXE0g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-/1TL0lWb4I9h6nGV7exx7U6ACrieN0EULTWg7Weexeg=";
|
cargoHash = "sha256-USOYXb6/hEE9HVz5YcNZPY5yuvDxbrH4YyZxY7XNAto=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
Security
|
Security
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ webfs ];
|
nativeCheckInputs = [ git ];
|
||||||
|
|
||||||
# remove timeouts in tests to make them less flaky
|
# remove timeouts in tests to make them less flaky
|
||||||
TEST_SRVC_DISABLE_TIMEOUT = 1;
|
TEST_SRVC_DISABLE_TIMEOUT = 1;
|
||||||
|
@ -50,5 +50,7 @@ stdenvNoCC.mkDerivation rec {
|
|||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ dtzWill AdsonCicilioti ];
|
maintainers = with maintainers; [ dtzWill AdsonCicilioti ];
|
||||||
|
# unmaintained as of Nov 9, 2022. unable to be build with clickgen version 2.x
|
||||||
|
broken = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
|
|||||||
# build: support webkit2gtk-4.1
|
# build: support webkit2gtk-4.1
|
||||||
# https://github.com/elementary/mail/pull/794
|
# https://github.com/elementary/mail/pull/794
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/elementary/mail/commit/7d4878543b27251664852c708d54abc1e4580eab.patch";
|
url = "https://github.com/elementary/mail/commit/9e6eb73a8420c9bf327e59c25e7e6d8fa87d480a.patch";
|
||||||
sha256 = "sha256-yl6Bzjinp+ti/aX+t22GibGeQFtharZNk3MmbuJm0Tk=";
|
sha256 = "sha256-idkVymePLa7vgfuou0HIrbWRCaWAgZliDcp4HyZBArs=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -28,10 +28,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# build: support evolution-data-server 3.45
|
# build: support evolution-data-server 3.45
|
||||||
# https://github.com/elementary/switchboard-plug-onlineaccounts/pull/244
|
# https://github.com/elementary/switchboard-plug-onlineaccounts/pull/248
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/elementary/switchboard-plug-onlineaccounts/commit/b60f0458a23a2f76ad14d399f145e150e1ab82d3.patch";
|
url = "https://github.com/elementary/switchboard-plug-onlineaccounts/commit/08faf7b4241547b7900596af12a03d816712a808.patch";
|
||||||
sha256 = "sha256-C7woN4shPrVlSWZeW0Fz+xFi5CTQd2K5BsF5YeI9x0Y=";
|
sha256 = "sha256-QLe+NPHuo3hLM9n1f4hT5IK4nkWtYSe91L1wVSBzw6k=";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dqlite";
|
pname = "dqlite";
|
||||||
version = "1.9.0";
|
version = "1.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "canonical";
|
owner = "canonical";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "0zalsvr0vy7632nhm96a29lrfy18iqsmbxpyz2lvq80mrjlbrzsn";
|
hash = "sha256-KVQa11gw/8h3Be+52V44W2M+fd7sB35emrS/aUEUGl0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook file pkg-config ];
|
nativeBuildInputs = [ autoreconfHook file pkg-config ];
|
||||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
homepage = "https://dqlite.io/";
|
homepage = "https://dqlite.io/";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ joko ];
|
maintainers = with maintainers; [ joko adamcstephens ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "maestro";
|
pname = "maestro";
|
||||||
version = "1.19.5";
|
version = "1.20.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip";
|
url = "https://github.com/mobile-dev-inc/maestro/releases/download/cli-${version}/maestro.zip";
|
||||||
sha256 = "1chrfwpxbnbn6k6ciwbflz1b8d7sd3r945m5g2d9gz1r1nn6d4v1";
|
sha256 = "0hrfnx66yr1q57875m3ff4b2blq0k641iqjxjys8kwzp3nix34w2";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
@ -14,14 +14,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "google-cloud-error-reporting";
|
pname = "google-cloud-error-reporting";
|
||||||
version = "1.8.0";
|
version = "1.8.1";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-XFOgoe6xphHyp/zbd+RR+9dXebMcU7/c2ETFGy+lg3U=";
|
hash = "sha256-Xl+Jc05daQZPh4xggf/JYYlJ5Lx6LafqWhMcVdk/r6o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "whisper";
|
pname = "whisper";
|
||||||
version = "unstable-2022-09-30";
|
version = "20230117";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openai";
|
owner = "openai";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "60132ade70e00b843d93542fcb37b58c0d8bf9e7";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-4mhlCvewA0bVo5bq2sbSEKHq99TQ6jUauiCUkdRSdas=";
|
hash = "sha256-DVYQw+h5xsgWLA6dD+qg4ud0pqFOn6oVAzTqRywE30g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,56 +1,66 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, attrs
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, setuptools-scm
|
, hatch-vcs
|
||||||
, attrs
|
, hatchling
|
||||||
, deprecated
|
|
||||||
, hepunits
|
, hepunits
|
||||||
, pytestCheckHook
|
|
||||||
, tabulate
|
|
||||||
, pandas
|
, pandas
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, setuptools-scm
|
||||||
|
, tabulate
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "particle";
|
pname = "particle";
|
||||||
version = "0.21.0";
|
version = "0.21.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-SDdIg05+gfLNaQ+glitTf3Z/6K9HBci62mjIu9rIoX0=";
|
hash = "sha256-Mw9IVQoXZU8ByU6OI2Wtmo3PJuVz6KzzH7I+pPYkssQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Disable benchmark tests, so we won't need pytest-benchmark and pytest-cov
|
||||||
|
# as dependencies
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace '"--benchmark-disable",' ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
setuptools-scm
|
hatch-vcs
|
||||||
|
hatchling
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
attrs
|
attrs
|
||||||
deprecated
|
|
||||||
hepunits
|
hepunits
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
|
||||||
"particle"
|
|
||||||
];
|
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
# Disable benchmark tests, so we won't need pytest-benchmark and pytest-cov
|
|
||||||
# as dependencies
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace '"--benchmark-disable", ' ""
|
|
||||||
rm tests/particle/test_performance.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
tabulate
|
tabulate
|
||||||
pandas
|
pandas
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
pythonImportsCheck = [
|
||||||
description = "Package to deal with particles, the PDG particle data table, PDGIDs, etc.";
|
"particle"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
"tests/particle/test_performance.py"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Package to deal with particles, the PDG particle data table and others";
|
||||||
homepage = "https://github.com/scikit-hep/particle";
|
homepage = "https://github.com/scikit-hep/particle";
|
||||||
license = lib.licenses.bsd3;
|
changelog = "https://github.com/scikit-hep/particle/releases/tag/v${version}";
|
||||||
maintainers = with lib.maintainers; [ doronbehar ];
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ doronbehar ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pip-tools";
|
pname = "pip-tools";
|
||||||
version = "6.12.1";
|
version = "6.12.1";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
|
@ -5,13 +5,14 @@
|
|||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
, lxml
|
, lxml
|
||||||
, cssutils
|
, cssutils
|
||||||
|
, nltk
|
||||||
, pytest-lazy-fixture
|
, pytest-lazy-fixture
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pycaption";
|
pname = "pycaption";
|
||||||
version = "2.1.0";
|
version = "2.1.1";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
@ -19,7 +20,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-mV//EYdP7wKYD3Vc49z6LQVQeOuhzNKFZLf28RYdABk=";
|
hash = "sha256-B+uIh8WTPPeNVU3yP8FEGc8OinY0MpJb9dHLC+nhi4I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -28,6 +29,10 @@ buildPythonPackage rec {
|
|||||||
cssutils
|
cssutils
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
transcript = [ nltk ];
|
||||||
|
};
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytest-lazy-fixture
|
pytest-lazy-fixture
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
@ -1,28 +1,39 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, eventlet
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, redis
|
, gevent
|
||||||
, pytestCheckHook
|
|
||||||
, process-tests
|
|
||||||
, pkgs
|
, pkgs
|
||||||
, withDjango ? false, django-redis
|
, process-tests
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, redis
|
||||||
|
, withDjango ? false
|
||||||
|
, django-redis
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-redis-lock";
|
pname = "python-redis-lock";
|
||||||
version = "4.0.0";
|
version = "4.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-Sr0Lz0kTasrWZye/VIbdJJQHjKVeSe+mk/eUB3MZCRo=";
|
hash = "sha256-Sr0Lz0kTasrWZye/VIbdJJQHjKVeSe+mk/eUB3MZCRo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
redis
|
redis
|
||||||
] ++ lib.optional withDjango django-redis;
|
] ++ lib.optional withDjango [
|
||||||
|
django-redis
|
||||||
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
eventlet
|
||||||
|
gevent
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
process-tests
|
process-tests
|
||||||
pkgs.redis
|
pkgs.redis
|
||||||
@ -37,10 +48,15 @@ buildPythonPackage rec {
|
|||||||
"test_reset_all_signalizes"
|
"test_reset_all_signalizes"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"redis_lock"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/ionelmc/python-redis-lock/blob/v${version}/CHANGELOG.rst";
|
||||||
|
description = "Lock context manager implemented via redis SETNX/BLPOP";
|
||||||
homepage = "https://github.com/ionelmc/python-redis-lock";
|
homepage = "https://github.com/ionelmc/python-redis-lock";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
description = "Lock context manager implemented via redis SETNX/BLPOP";
|
|
||||||
maintainers = with maintainers; [ vanschelven ];
|
maintainers = with maintainers; [ vanschelven ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, zeep
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,10 +18,21 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
|
hash = "sha256-vMdj2cSa4j2l0remhtX9He7J2QUTQRYKENGscjomvsA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.cfg \
|
||||||
|
--replace " --cov=stdnum --cov-report=term-missing:skip-covered --cov-report=html" ""
|
||||||
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.optional-dependencies = {
|
||||||
|
SOAP = [
|
||||||
|
zeep
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"stdnum"
|
"stdnum"
|
||||||
];
|
];
|
||||||
@ -28,6 +40,7 @@ buildPythonPackage rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python module to handle standardized numbers and codes";
|
description = "Python module to handle standardized numbers and codes";
|
||||||
homepage = "https://arthurdejong.org/python-stdnum/";
|
homepage = "https://arthurdejong.org/python-stdnum/";
|
||||||
|
changelog = "https://github.com/arthurdejong/python-stdnum/blob/${version}/ChangeLog";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ johbo ];
|
maintainers = with maintainers; [ johbo ];
|
||||||
};
|
};
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "whois";
|
pname = "whois";
|
||||||
version = "0.9.23";
|
version = "0.9.24";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
@ -16,7 +16,7 @@ buildPythonPackage rec {
|
|||||||
owner = "DannyCork";
|
owner = "DannyCork";
|
||||||
repo = "python-whois";
|
repo = "python-whois";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-HYzCdWX0gz1W73ZPlrdt+kqUPbBRrDnkGJE56nQ3UVc=";
|
hash = "sha256-DxjfRBJh/qLafxXN2VcXHTWuajDg6lvmJ5U86Na3L5g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "protoscope";
|
pname = "protoscope";
|
||||||
version = "unstable-2022-10-04";
|
version = "unstable-2022-11-09";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "protocolbuffers";
|
owner = "protocolbuffers";
|
||||||
repo = "protoscope";
|
repo = "protoscope";
|
||||||
rev = "8b1d63939ee1a5d922b38f3976e1e58cae525163";
|
rev = "8e7a6aafa2c9958527b1e0747e66e1bfff045819";
|
||||||
sha256 = "sha256-/vt02rvKVsryJZ+Bw4QLaGzDErGI04/4NUbSBkbbN3Y=";
|
hash = "sha256-+VIy+CD6bKJzwtpHXRr9MqmsPE2MJ1dRdtvSMUkCh5I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
|
vendorHash = "sha256-mK8eGo6oembs4nofvROn4g0+oO5E5/zQrmPKMe3xXik=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-hack";
|
pname = "cargo-hack";
|
||||||
version = "0.5.26";
|
version = "0.5.27";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-ZVR3bycEWpOV4T/85OsERNjKooz2rwBF5kMSEfHnmEI=";
|
sha256 = "sha256-oiCZiwJr1BqMCWCNUOTQT3XPX0QZRr0wLewf8OU6lHA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-4TChr6dKxUerpuaX63WShrWyXTLH4m85P6E30a5rmH8=";
|
cargoSha256 = "sha256-g5O51V4BPNqzsQo1prLIpamqwcOy+SJat2Rb5UDHRLc=";
|
||||||
|
|
||||||
# some necessary files are absent in the crate version
|
# some necessary files are absent in the crate version
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-semver-checks";
|
pname = "cargo-semver-checks";
|
||||||
version = "0.15.2";
|
version = "0.16.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "obi1kenobi";
|
owner = "obi1kenobi";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-+YRyShALdDQDfh5XDY36R29SzbBjlT8mCIucwJ++KrQ=";
|
sha256 = "sha256-2t3LWb2oeCYDAePXX1YuIN0o4LLEL58Hxt/1sNeuD3M=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-wwsFqoQXasCKfnCBF4qGFIoD7Kj53K9IKQ1auuqTPAM=";
|
cargoSha256 = "sha256-K+eLQ7zGEGkh4vMABWucY/Ho2id/afwl4FSo5+Ca1Ec=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
@ -1,19 +1,34 @@
|
|||||||
{ lib, rustPlatform, fetchCrate, pkg-config, openssl, stdenv, Security }:
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchCrate
|
||||||
|
, pkg-config
|
||||||
|
, libgit2
|
||||||
|
, openssl
|
||||||
|
, zlib
|
||||||
|
, stdenv
|
||||||
|
, darwin
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "panamax";
|
pname = "panamax";
|
||||||
version = "1.0.3";
|
version = "1.0.6";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-w4waFdzd/Ps0whOp39QLBE/YF2eyc4t2Ili7FskUt1M=";
|
sha256 = "sha256-/JW2QB5PtwKo0TLU/QmkgsE6/ne+51EVmWyGn7Lljdw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-52snmkTFHI26xJo9qJkmqh1M5lLzhDxw8WT6uFd57aw=";
|
cargoSha256 = "sha256-aKdDismdPcExqznS6S2LvAij6gv9/Hw2FBvkhr9rJGo=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
buildInputs = [
|
||||||
|
libgit2
|
||||||
|
openssl
|
||||||
|
zlib
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage";
|
description = "Mirror rustup and crates.io repositories for offline Rust and cargo usage";
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "txtpbfmt";
|
pname = "txtpbfmt";
|
||||||
version = "unstable-2022-06-08";
|
version = "unstable-2023-01-18";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "protocolbuffers";
|
owner = "protocolbuffers";
|
||||||
repo = "txtpbfmt";
|
repo = "txtpbfmt";
|
||||||
rev = "fc78c767cd6a4e6e3953f5d72f1e0e4c5811990b";
|
rev = "fcc1fa29197ce17bc56812f84f5ff311f767fcd1";
|
||||||
sha256 = "sha256-5Pj2REFrzWCzrqdplNlyfX+sJqPjXEld6MFNy0S3MFM=";
|
hash = "sha256-U+Kk2tQw+rJX7Xa8b5Hd7x0xY/6PN6TTYsLJkpB1Osg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-shjcQ3DJQYeAW0bX3OuF/esgIvrQ4yuLEa677iFV82g=";
|
vendorHash = "sha256-shjcQ3DJQYeAW0bX3OuF/esgIvrQ4yuLEa677iFV82g=";
|
||||||
|
|
||||||
ldflags = [ "-s" "-w" ];
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
, makeWrapper
|
, makeWrapper
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
, SDL2
|
, libX11
|
||||||
|
, libXi
|
||||||
, libGL
|
, libGL
|
||||||
, curl
|
, curl
|
||||||
, openal
|
, openal
|
||||||
@ -14,13 +15,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ClassiCube";
|
pname = "ClassiCube";
|
||||||
version = "1.3.4";
|
version = "1.3.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "UnknownShadow200";
|
owner = "UnknownShadow200";
|
||||||
repo = "ClassiCube";
|
repo = "ClassiCube";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-m7pg9OL2RuCVKgFD3hMtIeY0XdJ1YviXBFVJH8/T5gI=";
|
sha256 = "sha256-anBi9hPwX1AAIc8dXsKyX4u7UbkKqC1P+7f7wdKWAig=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ dos2unix makeWrapper copyDesktopItems ];
|
nativeBuildInputs = [ dos2unix makeWrapper copyDesktopItems ];
|
||||||
@ -46,12 +47,8 @@ stdenv.mkDerivation rec {
|
|||||||
patches = [
|
patches = [
|
||||||
# Fix hardcoded font paths
|
# Fix hardcoded font paths
|
||||||
./font-location.patch
|
./font-location.patch
|
||||||
# ClassiCube doesn't compile with its X11 backend
|
|
||||||
# because of issues with libXi.
|
|
||||||
./use-sdl.patch
|
|
||||||
# For some reason, the Makefile doesn't link
|
# For some reason, the Makefile doesn't link
|
||||||
# with libcurl and openal when ClassiCube requires them.
|
# with libcurl and openal when ClassiCube requires them.
|
||||||
# Also links with SDL2 instead of libX11 and libXi.
|
|
||||||
./fix-linking.patch
|
./fix-linking.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -71,7 +68,7 @@ stdenv.mkDerivation rec {
|
|||||||
--replace 'JOBS=1' "JOBS=$NIX_BUILD_CORES"
|
--replace 'JOBS=1' "JOBS=$NIX_BUILD_CORES"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ SDL2 libGL curl openal liberation_ttf ];
|
buildInputs = [ libX11 libXi libGL curl openal liberation_ttf ];
|
||||||
|
|
||||||
preBuild = "cd src";
|
preBuild = "cd src";
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ index 83188ce..3439cdb 100644
|
|||||||
|
|
||||||
ifeq ($(PLAT),linux)
|
ifeq ($(PLAT),linux)
|
||||||
-LIBS=-lX11 -lXi -lpthread -lGL -lm -ldl
|
-LIBS=-lX11 -lXi -lpthread -lGL -lm -ldl
|
||||||
+LIBS=-lSDL2 -lpthread -lGL -lm -ldl -lcurl -lopenal
|
+LIBS=-lX11 -lXi -lpthread -lGL -lm -ldl -lcurl -lopenal
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLAT),sunos)
|
ifeq ($(PLAT),sunos)
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
diff --git a/src/Core.h b/src/Core.h
|
|
||||||
index e94a39e..96527d0 100644
|
|
||||||
--- a/src/Core.h
|
|
||||||
+++ b/src/Core.h
|
|
||||||
@@ -170,7 +170,7 @@ Thus it is **NOT SAFE** to allocate a string on the stack. */
|
|
||||||
#define CC_BUILD_LINUX
|
|
||||||
#define CC_BUILD_POSIX
|
|
||||||
#define CC_BUILD_GL
|
|
||||||
-#define CC_BUILD_X11
|
|
||||||
+#define CC_BUILD_SDL
|
|
||||||
#define CC_BUILD_CURL
|
|
||||||
#define CC_BUILD_OPENAL
|
|
||||||
#if defined CC_BUILD_RPI
|
|
@ -7,13 +7,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rasdaemon";
|
pname = "rasdaemon";
|
||||||
version = "0.6.8";
|
version = "0.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mchehab";
|
owner = "mchehab";
|
||||||
repo = "rasdaemon";
|
repo = "rasdaemon";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-gcwoc9lIJyqUiCSAHf1U8geLG58CxzjMFYFl8moaA2Q=";
|
sha256 = "sha256-oLwR+bNgKceVgLTOLYiKHNUkRmLouaQshdp/8UJnfqg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
33
pkgs/servers/dns/trust-dns/default.nix
Normal file
33
pkgs/servers/dns/trust-dns/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "trust-dns";
|
||||||
|
version = "0.22.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bluejekyll";
|
||||||
|
repo = "trust-dns";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-b9tK1JbTwB3ZuRPh0wb3cOFj9dMW7URXIaFzUq0Yipw=";
|
||||||
|
};
|
||||||
|
cargoHash = "sha256-mpobdeTRWJzIEmhwtcM6UE66qRD5ot/0yLeQM6Tec+0=";
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
# tests expect internet connectivity to query real nameservers like 8.8.8.8
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A Rust based DNS client, server, and resolver";
|
||||||
|
homepage = "https://trust-dns.org/";
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = with licenses; [ asl20 mit ];
|
||||||
|
};
|
||||||
|
}
|
@ -32,19 +32,15 @@ let
|
|||||||
|
|
||||||
in py.pkgs.buildPythonApplication rec {
|
in py.pkgs.buildPythonApplication rec {
|
||||||
pname = "peering-manager";
|
pname = "peering-manager";
|
||||||
version = "1.7.3";
|
version = "1.7.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-vrRMdqEpsps4ZKgunMhznJr/TQ9+WVMNYFu76ZU7iMI=";
|
sha256 = "sha256-mXva4c5Rtjq/jFJl3yGGlVrggzGJ3awN0+xoDnDWBSA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
./redis-unix-sock.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
commit 1e64a7f6ca456249305f6a3c90f9acf84af194db
|
|
||||||
Author: Yureka <yuka@yuka.dev>
|
|
||||||
Date: Tue Nov 29 14:03:08 2022 +0100
|
|
||||||
|
|
||||||
support unix sockets for redis connections
|
|
||||||
|
|
||||||
diff --git a/peering_manager/settings.py b/peering_manager/settings.py
|
|
||||||
index 739d6ff..b5edf4d 100644
|
|
||||||
--- a/peering_manager/settings.py
|
|
||||||
+++ b/peering_manager/settings.py
|
|
||||||
@@ -270,6 +270,7 @@ TASKS_REDIS_PASSWORD = TASKS_REDIS.get("PASSWORD", "")
|
|
||||||
TASKS_REDIS_DATABASE = TASKS_REDIS.get("DATABASE", 0)
|
|
||||||
TASKS_REDIS_DEFAULT_TIMEOUT = TASKS_REDIS.get("DEFAULT_TIMEOUT", 300)
|
|
||||||
TASKS_REDIS_SSL = TASKS_REDIS.get("SSL", False)
|
|
||||||
+TASKS_REDIS_UNIX_SOCKET_PATH = TASKS_REDIS.get("UNIX_SOCKET_PATH", "")
|
|
||||||
if "DEFAULT_TIMEOUT" in TASKS_REDIS:
|
|
||||||
warnings.warn(
|
|
||||||
"DEFAULT_TIMEOUT is no longer supported under REDIS configuration. Set RQ_DEFAULT_TIMEOUT instead."
|
|
||||||
@@ -294,6 +295,7 @@ CACHING_REDIS_PASSWORD = CACHING_REDIS.get("PASSWORD", "")
|
|
||||||
CACHING_REDIS_DATABASE = CACHING_REDIS.get("DATABASE", 0)
|
|
||||||
CACHING_REDIS_DEFAULT_TIMEOUT = CACHING_REDIS.get("DEFAULT_TIMEOUT", 300)
|
|
||||||
CACHING_REDIS_SSL = CACHING_REDIS.get("SSL", False)
|
|
||||||
+CACHING_REDIS_UNIX_SOCKET_PATH = CACHING_REDIS.get("UNIX_SOCKET_PATH", "")
|
|
||||||
|
|
||||||
if CACHING_REDIS_USING_SENTINEL:
|
|
||||||
CACHEOPS_SENTINEL = {
|
|
||||||
@@ -301,6 +303,8 @@ if CACHING_REDIS_USING_SENTINEL:
|
|
||||||
"service_name": CACHING_REDIS_SENTINEL_SERVICE,
|
|
||||||
"db": CACHING_REDIS_DATABASE,
|
|
||||||
}
|
|
||||||
+elif CACHING_REDIS_UNIX_SOCKET_PATH != "":
|
|
||||||
+ CACHEOPS_REDIS = f"unix://{CACHING_REDIS_UNIX_SOCKET_PATH}?db={CACHING_REDIS_DATABASE}"
|
|
||||||
else:
|
|
||||||
REDIS_CACHE_CON_STRING = "rediss://" if CACHING_REDIS_SSL else "redis://"
|
|
||||||
if CACHING_REDIS_PASSWORD:
|
|
||||||
@@ -334,6 +338,11 @@ if TASKS_REDIS_USING_SENTINEL:
|
|
||||||
"SOCKET_TIMEOUT": None,
|
|
||||||
"CONNECTION_KWARGS": {"socket_connect_timeout": TASKS_REDIS_DEFAULT_TIMEOUT},
|
|
||||||
}
|
|
||||||
+elif TASKS_REDIS_UNIX_SOCKET_PATH != "":
|
|
||||||
+ RQ_PARAMS = {
|
|
||||||
+ "UNIX_SOCKET_PATH": TASKS_REDIS_UNIX_SOCKET_PATH,
|
|
||||||
+ "DB": TASKS_REDIS_DATABASE,
|
|
||||||
+ }
|
|
||||||
else:
|
|
||||||
RQ_PARAMS = {
|
|
||||||
"HOST": TASKS_REDIS_HOST,
|
|
@ -9,21 +9,13 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "android-tools";
|
pname = "android-tools";
|
||||||
version = "33.0.3p1";
|
version = "33.0.3p2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz";
|
url = "https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz";
|
||||||
hash = "sha256-viBHzyVgUWdK9a60u/7SdpiVEvgNEZHihkyRkGH5Ydg=";
|
hash = "sha256-a/a1LXOJ55/JK2PMIGRR7kL8T32naddpIhk+mNdfVgQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
(fetchpatch {
|
|
||||||
name = "add-macos-platform.patch";
|
|
||||||
url = "https://github.com/nmeum/android-tools/commit/a1ab35b31525966e0f0770047cd82accb36d025b.patch";
|
|
||||||
hash = "sha256-6O3ekDf0qPdzcfINFF8Ae4XOYgnQWTBhvu9SCFSHkXY=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config perl go ];
|
nativeBuildInputs = [ cmake pkg-config perl go ];
|
||||||
buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 ];
|
buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 ];
|
||||||
propagatedBuildInputs = [ pythonEnv ];
|
propagatedBuildInputs = [ pythonEnv ];
|
||||||
|
@ -4,14 +4,15 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, systemd
|
, systemd
|
||||||
, xrandr
|
, xrandr
|
||||||
, installShellFiles }:
|
, installShellFiles
|
||||||
|
, desktop-file-utils }:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "autorandr";
|
pname = "autorandr";
|
||||||
version = "1.13.1";
|
version = "1.13.2";
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles desktop-file-utils ];
|
||||||
propagatedBuildInputs = [ python3Packages.packaging ];
|
propagatedBuildInputs = [ python3Packages.packaging ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
@ -59,7 +60,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
owner = "phillipberndt";
|
owner = "phillipberndt";
|
||||||
repo = "autorandr";
|
repo = "autorandr";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
sha256 = "sha256-702x4O0rHW/VZIfu1+5G1gBSDQYVoAx167igz/M3Ea4=";
|
sha256 = "sha256-Yn950V7DgLhwYSoGyUvjTH0Vwg/FodxhKsBP5iLTgqA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
{ lib, appimageTools, fetchurl, nodePackages }: let
|
{ lib, appimageTools, fetchurl, nodePackages }: let
|
||||||
pname = "flexoptix-app";
|
pname = "flexoptix-app";
|
||||||
version = "5.13.1";
|
version = "5.13.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
name = "${pname}-${version}.AppImage";
|
name = "${pname}-${version}.AppImage";
|
||||||
url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage";
|
url = "https://flexbox.reconfigure.me/download/electron/linux/x64/FLEXOPTIX%20App.${version}.AppImage";
|
||||||
hash = "sha256-+rHktjZd6P4JGYRhEXdZYVI64XMYc7cBGojAQNd8Mq8=";
|
hash = "sha256-kDw9+Llqvq4NgN89Cw/HwEqYlv42wLbho1eHjI6wVSQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
udevRules = fetchurl {
|
udevRules = fetchurl {
|
||||||
|
@ -2,16 +2,20 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "trashy";
|
pname = "trashy";
|
||||||
version = "1.0.3";
|
version = "2.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "oberblastmeister";
|
owner = "oberblastmeister";
|
||||||
repo = "trashy";
|
repo = "trashy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-b50Q7knJzXKDfM1kw6wLvXunhgOXVs+zYvZx/NYqMdk=";
|
sha256 = "sha256-xYSk0M8oNwbwZbKWDXMQlnt7vKi0p3+2Tr4eXCvtHEM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-2hNNLXuAHd1bquhHimniqryTVMfBmPAOossggICScqQ=";
|
cargoSha256 = "sha256-ZWqWtWzb+CLH1ravBb/oV+aPxplEyiC1wEFhvchcLqg=";
|
||||||
|
|
||||||
|
# this patch must be removed after oberblastmeister/trashy#70 is solved or new
|
||||||
|
# version is released.
|
||||||
|
cargoPatches = [ ./lock-version.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
13
pkgs/tools/misc/trashy/lock-version.patch
Normal file
13
pkgs/tools/misc/trashy/lock-version.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/Cargo.lock b/Cargo.lock
|
||||||
|
index 7af0268..dc197a0 100644
|
||||||
|
--- a/Cargo.lock
|
||||||
|
+++ b/Cargo.lock
|
||||||
|
@@ -889,7 +889,7 @@ dependencies = [
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "trashy"
|
||||||
|
-version = "1.0.3"
|
||||||
|
+version = "2.0.0"
|
||||||
|
dependencies = [
|
||||||
|
"aho-corasick",
|
||||||
|
"ansi_term",
|
@ -3,26 +3,27 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, stdenv
|
, stdenv
|
||||||
, CoreFoundation
|
, darwin
|
||||||
, Security
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "hck";
|
pname = "hck";
|
||||||
version = "0.7.5";
|
version = "0.8.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sstadick";
|
owner = "sstadick";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-29uxcbqAnWCdxKqVdrMVtorXvSLUC+jlt4YwE19Gh+A=";
|
sha256 = "sha256-66wunZuRAJ6QVWgBUy2+HGaow33F5+16LitGSQC4kCE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-VHuzv6Zq83byXDEEyYDtlaPC4DZ3GNJaJfO0ACrrqO8=";
|
cargoSha256 = "sha256-4CAj94wm9qxr9wejD2ffKSdRV1UeofMhxNxLi++At+I=";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
];
|
||||||
|
|
||||||
# link System as a dylib instead of a framework on macos
|
# link System as a dylib instead of a framework on macos
|
||||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||||
|
@ -15753,9 +15753,7 @@ with pkgs;
|
|||||||
maturin = callPackage ../development/tools/rust/maturin {
|
maturin = callPackage ../development/tools/rust/maturin {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
panamax = callPackage ../development/tools/rust/panamax {
|
panamax = callPackage ../development/tools/rust/panamax { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
ograc = callPackage ../development/tools/rust/ograc { };
|
ograc = callPackage ../development/tools/rust/ograc { };
|
||||||
|
|
||||||
@ -26502,6 +26500,8 @@ with pkgs;
|
|||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
trust-dns = callPackage ../servers/dns/trust-dns { };
|
||||||
|
|
||||||
tunctl = callPackage ../os-specific/linux/tunctl { };
|
tunctl = callPackage ../os-specific/linux/tunctl { };
|
||||||
|
|
||||||
twa = callPackage ../tools/networking/twa { };
|
twa = callPackage ../tools/networking/twa { };
|
||||||
@ -37287,9 +37287,7 @@ with pkgs;
|
|||||||
|
|
||||||
gummy = callPackage ../tools/misc/gummy { };
|
gummy = callPackage ../tools/misc/gummy { };
|
||||||
|
|
||||||
hck = callPackage ../tools/text/hck {
|
hck = callPackage ../tools/text/hck { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
helm = callPackage ../applications/audio/helm { };
|
helm = callPackage ../applications/audio/helm { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user