Merge master into staging-next
This commit is contained in:
@@ -3533,6 +3533,12 @@
|
||||
fingerprint = "5B08 313C 6853 E5BF FA91 A817 0176 0B4F 9F53 F154";
|
||||
}];
|
||||
};
|
||||
davisrichard437 = {
|
||||
email = "davisrichard437@gmail.com";
|
||||
github = "davisrichard437";
|
||||
githubId = 85075437;
|
||||
name = "Richard Davis";
|
||||
};
|
||||
davorb = {
|
||||
email = "davor@davor.se";
|
||||
github = "davorb";
|
||||
|
||||
@@ -288,7 +288,7 @@ in
|
||||
elementary-music
|
||||
elementary-photos
|
||||
elementary-screenshot
|
||||
# elementary-tasks
|
||||
elementary-tasks
|
||||
elementary-terminal
|
||||
elementary-videos
|
||||
epiphany
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From a4822ee9e894f5f5b3110f41f65a698dd845a41d Mon Sep 17 00:00:00 2001
|
||||
From: Richard Davis <davisrichard437@gmail.com>
|
||||
Date: Fri, 24 Mar 2023 11:45:23 -0400
|
||||
Subject: [PATCH] Changing paths to be nix-compatible.
|
||||
|
||||
---
|
||||
dist/desktop/gscreenshot.desktop | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dist/desktop/gscreenshot.desktop b/dist/desktop/gscreenshot.desktop
|
||||
index a5d2bcd..9d289e2 100644
|
||||
--- a/dist/desktop/gscreenshot.desktop
|
||||
+++ b/dist/desktop/gscreenshot.desktop
|
||||
@@ -2,7 +2,7 @@
|
||||
Type=Application
|
||||
Name=gscreenshot
|
||||
Comment=A simple screenshot utility
|
||||
-TryExec=/usr/bin/gscreenshot
|
||||
+TryExec=gscreenshot
|
||||
Exec=gscreenshot
|
||||
Icon=gscreenshot
|
||||
Categories=Graphics;
|
||||
--
|
||||
2.39.2
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3Packages
|
||||
, gettext
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, wrapGAppsHook
|
||||
, xdg-utils
|
||||
, scrot
|
||||
, slop
|
||||
, xclip
|
||||
, grim
|
||||
, slurp
|
||||
, wl-clipboard
|
||||
, waylandSupport ? true
|
||||
, x11Support ? true
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "gscreenshot";
|
||||
version = "3.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thenaterhood";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "YuISiTUReX9IQpckIgbt03CY7klnog/IeOtfBoQ1DZM=";
|
||||
};
|
||||
|
||||
# needed for wrapGAppsHook to function
|
||||
strictDeps = false;
|
||||
# tests require a display and fail
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
propagatedBuildInputs = [
|
||||
gettext
|
||||
gobject-introspection
|
||||
gtk3
|
||||
xdg-utils
|
||||
] ++ lib.optionals waylandSupport [
|
||||
# wayland deps
|
||||
grim
|
||||
slurp
|
||||
wl-clipboard
|
||||
] ++ lib.optionals x11Support [
|
||||
# X11 deps
|
||||
scrot
|
||||
slop
|
||||
xclip
|
||||
python3Packages.xlib
|
||||
] ++ (with python3Packages; [
|
||||
pillow
|
||||
pygobject3
|
||||
setuptools
|
||||
]);
|
||||
|
||||
patches = [ ./0001-Changing-paths-to-be-nix-compatible.patch ];
|
||||
|
||||
meta = {
|
||||
description = "A screenshot frontend (CLI and GUI) for a variety of screenshot backends";
|
||||
|
||||
longDescription = ''
|
||||
gscreenshot provides a common frontend and expanded functionality to a
|
||||
number of X11 and Wayland screenshot and region selection utilties.
|
||||
|
||||
In a nutshell, gscreenshot supports the following:
|
||||
|
||||
- Capturing a full-screen screenshot
|
||||
- Capturing a region of the screen interactively
|
||||
- Capturing a window interactively
|
||||
- Capturing the cursor
|
||||
- Capturing the cursor, using an alternate cursor glyph
|
||||
- Capturing a screenshot with a delay
|
||||
- Showing a notification when a screenshot is taken
|
||||
- Capturing a screenshot from the command line or a custom script
|
||||
- Capturing a screenshot using a GUI
|
||||
- Saving to a variety of image formats including 'bmp', 'eps', 'gif', 'jpeg', 'pcx', 'pdf', 'ppm', 'tiff', 'png', and 'webp'.
|
||||
- Copying a screenshot to the system clipboard
|
||||
- Opening a screenshot in the configured application after capture
|
||||
|
||||
Other than region selection, gscreenshot's CLI is non-interactive and is suitable for use in scripts.
|
||||
'';
|
||||
|
||||
homepage = "https://github.com/thenaterhood/gscreenshot";
|
||||
license = lib.licenses.gpl2Only;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.davisrichard437 ];
|
||||
};
|
||||
}
|
||||
@@ -6,23 +6,25 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "blocky";
|
||||
version = "0.20";
|
||||
version = "0.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "0xERR0R";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-l2GhqJit/+WpNDICD/NUzCAGrKrTNHzEzgpF9k3+DLk=";
|
||||
sha256 = "sha256-+88QMASMEY1pJuejFUqqW1Ky7TpoSwCzUy1oueL7FKU=";
|
||||
};
|
||||
|
||||
# needs network connection and fails at
|
||||
# https://github.com/0xERR0R/blocky/blob/development/resolver/upstream_resolver_test.go
|
||||
doCheck = false;
|
||||
|
||||
vendorSha256 = "sha256-CS8+tsE5dptG9gF46OFoJGzn1FnfjekXLTLrpwIQdFQ=";
|
||||
vendorSha256 = "sha256-EsANifwaEi5PdY0Y2QZjD55sZqsqYWrC5Vh4uxpTs5A=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/0xERR0R/blocky/util.Version=${version}" ];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) blocky; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Fast and lightweight DNS proxy as ad-blocker for local network with many features.";
|
||||
homepage = "https://0xerr0r.github.io/blocky";
|
||||
@@ -30,6 +32,4 @@ buildGoModule rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ratsclub ];
|
||||
};
|
||||
|
||||
passthru.tests = { inherit (nixosTests) blocky; };
|
||||
}
|
||||
|
||||
+981
-664
File diff suppressed because it is too large
Load Diff
@@ -22,20 +22,21 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "newsflash";
|
||||
version = "2.2.4";
|
||||
version = "unstable-2023-04-11";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "news-flash";
|
||||
repo = "news_flash_gtk";
|
||||
rev = "refs/tags/v.${finalAttrs.version}";
|
||||
sha256 = "sha256-civHj8a5LYV3XaAjSJBdn15+8sdO/yLlWBXCNW56plA=";
|
||||
rev = "a7bc8bfdf5e58bd78f0f36516e00be8e1296bc12";
|
||||
sha256 = "sha256-VYIHbOcYopzGTVG+fGyPBS5di7aBayhk+jj9FZh5Tms=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"news-flash-2.2.2" = "sha256-LN5VhJk+NGTR0fohI0LmfeLDS9IkfVE7IFIzmSPF4u0=";
|
||||
"newsblur_api-0.2.0" = "sha256-+3AobEX+RtBRgX1TIr4rRX0ngJvNVp1oXzkbhppi73M=";
|
||||
"javascriptcore6-0.1.0" = "sha256-7w8CDY13dCRlFc77XxJ2/xZqlKSjqM0eiOvILOrJ4ic=";
|
||||
"news-flash-2.2.2" = "sha256-LXKhVsmkdTk1MSB0T5MDOgTJF/MXbNZ6T5cC2iZxsPs=";
|
||||
"newsblur_api-0.2.0" = "sha256-6vnFeJbdFeIau2rpUk9o72DD2ZCqicljmQjFVhY71NI=";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ let
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "AnyDesk";
|
||||
exec = "@out@/bin/anydesk";
|
||||
exec = "@out@/bin/anydesk %u";
|
||||
icon = "anydesk";
|
||||
desktopName = "AnyDesk";
|
||||
genericName = description;
|
||||
@@ -18,14 +18,14 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "anydesk";
|
||||
version = "6.2.0";
|
||||
version = "6.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
urls = [
|
||||
"https://download.anydesk.com/linux/${pname}-${version}-amd64.tar.gz"
|
||||
"https://download.anydesk.com/linux/generic-linux/${pname}-${version}-amd64.tar.gz"
|
||||
];
|
||||
sha256 = "k85nQH2FWyEXDgB+Pd4yStfNCjkiIGE2vA/YTXLaK4o=";
|
||||
hash = "sha256-lqfe0hROza/zgcNOSe7jJ1yqqsAIR+kav153g3BsmJw=";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
@@ -86,6 +86,6 @@ in stdenv.mkDerivation rec {
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
license = licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ shyim ];
|
||||
maintainers = with maintainers; [ shyim cheriimoya ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, meson
|
||||
, ninja
|
||||
@@ -12,10 +13,9 @@
|
||||
, evolution-data-server
|
||||
, granite
|
||||
, geoclue2
|
||||
, geocode-glib
|
||||
, geocode-glib_2
|
||||
, gtk3
|
||||
, libchamplain
|
||||
, libgdata
|
||||
, libchamplain_libsoup3
|
||||
, libgee
|
||||
, libhandy
|
||||
, libical
|
||||
@@ -23,15 +23,24 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-tasks";
|
||||
version = "6.3.0";
|
||||
version = "6.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "tasks";
|
||||
rev = version;
|
||||
sha256 = "sha256-kW36bKA0uzW98Xl2bjbTkcfLm4SeQR8VB2FyKOqfPnM=";
|
||||
sha256 = "sha256-b8KUlfpZxRFDiBjgrV/4XicCcEw2fWaN78NaOq6jQBk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Port to libsoup 3
|
||||
# https://github.com/elementary/tasks/pull/345
|
||||
(fetchpatch {
|
||||
url = "https://github.com/elementary/tasks/commit/22e0d18693932e9eea3d2a22329f845575ce26e6.patch";
|
||||
sha256 = "sha256-nLJlKf4L7G12ZnCo4wezyMRyeAf+Tf0OGHyT8I1ZuDA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
@@ -46,10 +55,9 @@ stdenv.mkDerivation rec {
|
||||
evolution-data-server
|
||||
granite
|
||||
geoclue2
|
||||
geocode-glib
|
||||
geocode-glib_2
|
||||
gtk3
|
||||
libchamplain
|
||||
libgdata
|
||||
libchamplain_libsoup3
|
||||
libgee
|
||||
libhandy
|
||||
libical
|
||||
@@ -71,6 +79,5 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.linux;
|
||||
maintainers = teams.pantheon.members;
|
||||
mainProgram = "io.elementary.tasks";
|
||||
broken = true; # https://github.com/elementary/tasks/issues/340
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/kded/engine/backends/gocryptfs/gocryptfsbackend.cpp b/kded/engine/backends/gocryptfs/gocryptfsbackend.cpp
|
||||
index 2d6df94..3e8ec9a 100644
|
||||
--- a/kded/engine/backends/gocryptfs/gocryptfsbackend.cpp
|
||||
+++ b/kded/engine/backends/gocryptfs/gocryptfsbackend.cpp
|
||||
@@ -202,7 +202,7 @@ QProcess *GocryptfsBackend::gocryptfs(const QStringList &arguments) const
|
||||
auto config = KSharedConfig::openConfig(PLASMAVAULT_CONFIG_FILE);
|
||||
KConfigGroup backendConfig(config, "GocryptfsBackend");
|
||||
|
||||
- return process("gocryptfs", arguments + backendConfig.readEntry("extraMountOptions", QStringList{}), {});
|
||||
+ return process(NIXPKGS_GOCRYPTFS, arguments + backendConfig.readEntry("extraMountOptions", QStringList{}), {});
|
||||
}
|
||||
|
||||
QString GocryptfsBackend::getConfigFilePath(const Device &device) const
|
||||
@@ -9,6 +9,7 @@
|
||||
, encfs
|
||||
, cryfs
|
||||
, fuse
|
||||
, gocryptfs
|
||||
}:
|
||||
|
||||
mkDerivation {
|
||||
@@ -19,6 +20,7 @@ mkDerivation {
|
||||
./0001-encfs-path.patch
|
||||
./0002-cryfs-path.patch
|
||||
./0003-fusermount-path.patch
|
||||
./0004-gocryptfs-path.patch
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -32,10 +34,9 @@ mkDerivation {
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_ENCFS=\"${lib.getBin encfs}/bin/encfs\"''
|
||||
''-DNIXPKGS_ENCFSCTL=\"${lib.getBin encfs}/bin/encfsctl\"''
|
||||
|
||||
''-DNIXPKGS_CRYFS=\"${lib.getBin cryfs}/bin/cryfs\"''
|
||||
|
||||
''-DNIXPKGS_FUSERMOUNT=\"${lib.getBin fuse}/bin/fusermount\"''
|
||||
''-DNIXPKGS_GOCRYPTFS=\"${lib.getBin gocryptfs}/bin/gocryptfs\"''
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -35,33 +35,46 @@ in {
|
||||
freetype = addToBuildInputsWithPkgConfig pkgs.freetype;
|
||||
fuse = addToBuildInputsWithPkgConfig pkgs.fuse;
|
||||
# git = addToBuildInputsWithPkgConfig pkgs.libgit2;
|
||||
gl-utils = addPkgConfig;
|
||||
glfw3 = addToBuildInputsWithPkgConfig pkgs.glfw3;
|
||||
glls = addPkgConfig;
|
||||
iconv = addToBuildInputs (lib.optional stdenv.isDarwin pkgs.libiconv);
|
||||
icu = addToBuildInputsWithPkgConfig pkgs.icu;
|
||||
imlib2 = addToBuildInputsWithPkgConfig pkgs.imlib2;
|
||||
lazy-ffi = old: (brokenOnDarwin old) // (addToBuildInputs pkgs.libffi old);
|
||||
lazy-ffi = old:
|
||||
# fatal error: 'ffi/ffi.h' file not found
|
||||
(brokenOnDarwin old)
|
||||
// (addToBuildInputs pkgs.libffi old);
|
||||
leveldb = addToBuildInputs pkgs.leveldb;
|
||||
magic = addToBuildInputs pkgs.file;
|
||||
mdh = old: (brokenOnDarwin old) // (addToBuildInputs pkgs.pcre old);
|
||||
mdh = addToBuildInputs pkgs.pcre;
|
||||
nanomsg = addToBuildInputs pkgs.nanomsg;
|
||||
ncurses = addToBuildInputsWithPkgConfig [ pkgs.ncurses ];
|
||||
opencl = addToBuildInputs ([ pkgs.opencl-headers pkgs.ocl-icd ]
|
||||
++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.OpenCL ]);
|
||||
opengl = old:
|
||||
# csc: invalid option `-framework OpenGL'
|
||||
(brokenOnDarwin old)
|
||||
// (addToBuildInputsWithPkgConfig [ pkgs.libGL pkgs.libGLU ] old);
|
||||
openssl = addToBuildInputs pkgs.openssl;
|
||||
plot = addToBuildInputs pkgs.plotutils;
|
||||
postgresql = addToBuildInputsWithPkgConfig pkgs.postgresql;
|
||||
rocksdb = addToBuildInputs pkgs.rocksdb;
|
||||
scheme2c-compatibility = addPkgConfig;
|
||||
sdl-base = addToBuildInputs pkgs.SDL;
|
||||
sdl2 = addToPropagatedBuildInputsWithPkgConfig pkgs.SDL2;
|
||||
sdl2-image = addToBuildInputs pkgs.SDL2_image;
|
||||
sdl2-ttf = addToBuildInputs pkgs.SDL2_ttf;
|
||||
soil = addToPropagatedBuildInputsWithPkgConfig pkgs.libepoxy;
|
||||
sqlite3 = addToBuildInputs pkgs.sqlite;
|
||||
stemmer = old: (brokenOnDarwin old) // (addToBuildInputs pkgs.libstemmer old);
|
||||
stemmer = old:
|
||||
# Undefined symbols for architecture arm64: "_sb_stemmer_delete"
|
||||
(brokenOnDarwin old)
|
||||
// (addToBuildInputs pkgs.libstemmer old);
|
||||
stfl = old:
|
||||
(brokenOnDarwin old) // (addToBuildInputs [ pkgs.ncurses pkgs.stfl ] old);
|
||||
# Undefined symbols for architecture arm64: "_clearok"
|
||||
(brokenOnDarwin old)
|
||||
// (addToBuildInputs [ pkgs.ncurses pkgs.stfl ] old);
|
||||
taglib = addToBuildInputs [ pkgs.zlib pkgs.taglib ];
|
||||
uuid-lib = addToBuildInputs pkgs.libuuid;
|
||||
ws-client = addToBuildInputs pkgs.zlib;
|
||||
@@ -103,13 +116,15 @@ in {
|
||||
webview = broken;
|
||||
|
||||
# mark broken darwin
|
||||
gl-utils = brokenOnDarwin;
|
||||
iconv = brokenOnDarwin;
|
||||
|
||||
# fatal error: 'sys/inotify.h' file not found
|
||||
inotify = brokenOnDarwin;
|
||||
# fatal error: 'mqueue.h' file not found
|
||||
posix-mq = brokenOnDarwin;
|
||||
# ld: library not found for -lrt
|
||||
posix-shm = brokenOnDarwin;
|
||||
# Undefined symbols for architecture arm64: "_pthread_setschedprio"
|
||||
pthreads = brokenOnDarwin;
|
||||
rbf = brokenOnDarwin;
|
||||
scheme2c-compatibility = brokenOnDarwin;
|
||||
# error: use of undeclared identifier 'B4000000'
|
||||
stty = brokenOnDarwin;
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libdrm
|
||||
numactl
|
||||
valgrind
|
||||
gcc.cc.libgcc # TODO: unhack this?
|
||||
gcc.cc.libgcc or null # TODO: unhack this?
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
|
||||
@@ -33,6 +33,14 @@ stdenv.mkDerivation rec {
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Workaround build failure with WebKitGTK 2.40.0
|
||||
# https://github.com/hbons/webkit2-sharp/issues/6
|
||||
substituteInPlace sources/webkit2-sharp-api.raw --replace \
|
||||
'<field cname="parentInstance" access="public" writeable="false" readable="true" name="ParentInstance" type="GtkContainer*"/>' \
|
||||
'<field cname="parent" access="public" writeable="false" readable="true" name="Parent" type="GtkContainer*"/>'
|
||||
'';
|
||||
|
||||
ac_cv_path_MONODOCER = "no";
|
||||
installFlagsArray = ["GAPIXMLDIR=/tmp/gapixml"];
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-allauth";
|
||||
version = "0.51.0";
|
||||
version = "0.54.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "pennersr";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-o8EoayMMwxoJTrUA3Jo1Dfu1XFgC+Mcpa8yMwXlKAKY=";
|
||||
hash = "sha256-0yJsHJhYeiCHQg/QzFD/metb97rcUJ+LYlsl7fGYmuM=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -52,6 +52,6 @@ buildPythonPackage rec {
|
||||
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication";
|
||||
homepage = "https://www.intenct.nl/projects/django-allauth";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ derdennisop ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, setuptools
|
||||
, requests
|
||||
, click
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "duckduckgo-search";
|
||||
version = "2.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deedy5";
|
||||
repo = "duckduckgo_search";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-UXh3+kBfkylt5CIXbYTa/vniEETUvh4steUrUg5MqYU=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
click
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "duckduckgo_search" ];
|
||||
|
||||
meta = {
|
||||
description = "A python CLI and library for searching for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine";
|
||||
homepage = "https://github.com/deedy5/duckduckgo_search";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -5,7 +5,6 @@
|
||||
, cython
|
||||
, setuptools
|
||||
, substituteAll
|
||||
, numba
|
||||
, numpy
|
||||
, pandas
|
||||
, cramjam
|
||||
@@ -14,6 +13,7 @@
|
||||
, python-lzo
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, packaging
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -53,10 +53,10 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
cramjam
|
||||
fsspec
|
||||
numba
|
||||
numpy
|
||||
pandas
|
||||
thrift
|
||||
packaging
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyngrok";
|
||||
version = "5.2.1";
|
||||
version = "5.2.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-dws4Z4LzgkkOGTS5LZn/MU8ZKr70n4PWocezsDhxeT4=";
|
||||
hash = "sha256-MfpuafEUhFNtEegvihCLmsnHYFBu8kKghfPRp3oqlb8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, pkg-config
|
||||
, oniguruma
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "namaka";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "namaka";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1B9FWdRxDM9PykfK9LKGZcwIc+sJNAZlvBh6G9dCHW4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-k9FDpugRCdvJ3E+gI1tO73RXRef8lg/txOAPDrE0+XM=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
oniguruma
|
||||
];
|
||||
|
||||
env = {
|
||||
GEN_ARTIFACTS = "artifacts";
|
||||
RUSTONIG_SYSTEM_LIBONIG = true;
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
installManPage artifacts/*.1
|
||||
installShellCompletion artifacts/namaka.{bash,fish} --zsh artifacts/_namaka
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snapshot testing tool for Nix based on haumea";
|
||||
homepage = "https://github.com/nix-community/namaka";
|
||||
changelog = "https://github.com/nix-community/namaka/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitLab
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
lark010 = super.lark.overridePythonAttrs (old: rec {
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lark-parser";
|
||||
repo = "lark";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-ctdPPKPSD4weidyhyj7RCV89baIhmuxucF3/Ojx1Efo=";
|
||||
};
|
||||
|
||||
disabledTestPaths = [ "tests/test_nearley/test_nearley.py" ];
|
||||
});
|
||||
};
|
||||
self = python;
|
||||
};
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "sca2d";
|
||||
version = "0.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "bath_open_instrumentation_group";
|
||||
repo = "sca2d";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-P+7g57AH8H7q0hBE2I9w8A+bN5M6MPbc9gA0b889aoQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python.pkgs; [ lark010 colorama ];
|
||||
|
||||
pythonImportsCheck = [ "sca2d" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An experimental static code analyser for OpenSCAD";
|
||||
homepage = "https://gitlab.com/bath_open_instrumentation_group/sca2d";
|
||||
changelog = "https://gitlab.com/bath_open_instrumentation_group/sca2d/-/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ traxys ];
|
||||
};
|
||||
}
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "raycast";
|
||||
version = "1.49.0";
|
||||
version = "1.49.2";
|
||||
|
||||
src = fetchurl {
|
||||
# https://github.com/NixOS/nixpkgs/pull/223495
|
||||
@@ -17,7 +17,7 @@ stdenvNoCC.mkDerivation rec {
|
||||
# to host GitHub Actions to periodically check for updates
|
||||
# and re-release the `.dmg` file to Internet Archive (https://archive.org/details/raycast)
|
||||
url = "https://archive.org/download/raycast/raycast-${version}.dmg";
|
||||
sha256 = "sha256-6j5PyzJ7g3p+5gE2CQHlZrLj5b3rLdpodl+By7xxcjo=";
|
||||
sha256 = "sha256-3evuSRSCZkhxRy/85ohzIVF1tKRlWy+G5BOmuCWF2hU=";
|
||||
};
|
||||
|
||||
dontPatch = true;
|
||||
|
||||
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -I nixpkgs=../../../../. -i bash -p common-updater-scripts internetarchive
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
new_version="$(ia list raycast | grep -Eo '^raycast-.*\.dmg$' | sort -r | head -n1 | sed -E 's/^raycast-([0-9]+\.[0-9]+\.[0-9]+)\.dmg$/\1/')"
|
||||
old_version="$(sed -nE 's/\s*version = "(.*)".*/\1/p' ./default.nix)"
|
||||
|
||||
if [[ "$new_version" == "$old_version" ]]; then
|
||||
echo "Already up to date."
|
||||
exit 0
|
||||
else
|
||||
echo "raycast: $old_version -> $new_version"
|
||||
sed -Ei.bak '/ *version = "/s/".+"/"'"$new_version"'"/' ./default.nix
|
||||
rm ./default.nix.bak
|
||||
fi
|
||||
|
||||
hash="$(nix --extra-experimental-features nix-command store prefetch-file --json --hash-type sha256 "https://archive.org/download/raycast/raycast-$new_version.dmg" | jq -r '.hash')"
|
||||
sed -Ei.bak '/ *sha256 = /{N;N; s@("sha256-)[^;"]+@"'"$hash"'@}' ./default.nix
|
||||
rm ./default.nix.bak
|
||||
@@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "6.3-rc5";
|
||||
version = "6.3-rc6";
|
||||
extraMeta.branch = lib.versions.majorMinor version;
|
||||
|
||||
# modDirVersion needs to be x.y.z, will always add .0
|
||||
@@ -11,7 +11,7 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||
hash = "sha256-HKKDSOK45jT5vUaE3xd7nlxRgy1fw9xXBhqrICy/12Y=";
|
||||
hash = "sha256-AXgHjWuGt2XQHVS7d/o9IbohfxHp9grtuYp5+EumlH4=";
|
||||
};
|
||||
|
||||
# Should the testing kernels ever be built on Hydra?
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"sha256": "sha256-EU6T9yQCdOLx98Io8o01rEsgxDFF/Xoy42LgPopD2/A="
|
||||
},
|
||||
"invidious": {
|
||||
"rev": "9e82e6fc1ba161245d1e36bc8422d94ec9b16829",
|
||||
"sha256": "sha256-1GtW9VAImH/iX8Q46oX9rNvnOcYr/0El0baljY47an8=",
|
||||
"version": "unstable-2023-03-31"
|
||||
"rev": "961cae2b9a1e1dd780e3f92d55bbc7381b39ffe1",
|
||||
"sha256": "sha256-8nt+N9WmfJQreRhVak5txZh/Rcm6kJPUt9DQgmwOB7g=",
|
||||
"version": "unstable-2023-04-10"
|
||||
},
|
||||
"lsquic": {
|
||||
"sha256": "sha256-hG8cUvhbCNeMOsKkaJlgGpzUrIx47E/WhmPIdI5F3qM=",
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
nimPackages.buildNimPackage rec {
|
||||
pname = "nitter";
|
||||
version = "unstable-2022-06-04";
|
||||
version = "unstable-2023-03-28";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zedeus";
|
||||
repo = "nitter";
|
||||
rev = "138826fb4fbdec73fc6fee2e025fda88f7f2fb49";
|
||||
hash = "sha256-fdzVfzmEFIej6Kb/K9MQyvbN8aN3hO7RetHL53cD59k=";
|
||||
rev = "95893eedaa2fb0ca0a0a15257d81b720f7f3eb67";
|
||||
hash = "sha256-nXa8/d8OFFudA4LWpHiCFhnGmvBw2NXMhHMAD9Sp/vk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@@ -56,7 +56,7 @@ nimPackages.buildNimPackage rec {
|
||||
homepage = "https://github.com/zedeus/nitter";
|
||||
description = "Alternative Twitter front-end";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ erdnaxe ];
|
||||
maintainers = with maintainers; [ erdnaxe infinidoge ];
|
||||
mainProgram = "nitter";
|
||||
};
|
||||
|
||||
|
||||
@@ -51,7 +51,8 @@ buildGoModule rec {
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/xray \
|
||||
--suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray
|
||||
--suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray \
|
||||
--suffix XRAY_LOCATION_ASSET : $assetsDrv/share/v2ray
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "feroxbuster";
|
||||
version = "2.9.2";
|
||||
version = "2.9.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "epi052";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HSZqqZngXs5ACsk9xzaqBWK5mUxPyGx3qJOtTURXPgg=";
|
||||
hash = "sha256-Z97CAfGnNTQmJd2zMlvGfk5jW9zHAB/efqYoYgVRfMc=";
|
||||
};
|
||||
|
||||
# disable linker overrides on aarch64-linux
|
||||
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
rm .cargo/config
|
||||
'';
|
||||
|
||||
cargoHash = "sha256-pisMqSgW6uPlBXgTUqJBJya84dRmbOJbEYYezuut6Wo=";
|
||||
cargoHash = "sha256-siLyPPSTBaZ4vpfzeKVlrqIdFMI5z3hRA8c2lRsBAGM=";
|
||||
|
||||
OPENSSL_NO_VENDOR = true;
|
||||
|
||||
|
||||
@@ -45,11 +45,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sile";
|
||||
version = "0.14.8";
|
||||
version = "0.14.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/sile-typesetter/sile/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0r00s7c8ycc9haqf7p141gj5jn3k0kxpjdzb538f1jpwkgi6mjh9";
|
||||
sha256 = "0528835iir2ws14fwb7w4dqs3wlzzcv5arjxs8v13drb194rlwcs";
|
||||
};
|
||||
|
||||
configureFlags = [
|
||||
|
||||
@@ -18811,6 +18811,8 @@ with pkgs;
|
||||
|
||||
semantik = libsForQt5.callPackage ../applications/office/semantik { };
|
||||
|
||||
sca2d = callPackage ../development/tools/sca2d { };
|
||||
|
||||
sconsPackages = dontRecurseIntoAttrs (callPackage ../development/tools/build-managers/scons { });
|
||||
scons = sconsPackages.scons_latest;
|
||||
|
||||
@@ -30621,6 +30623,8 @@ with pkgs;
|
||||
|
||||
grisbi = callPackage ../applications/office/grisbi { gtk = gtk3; };
|
||||
|
||||
gscreenshot = callPackage ../applications/graphics/gscreenshot { };
|
||||
|
||||
gtkpod = callPackage ../applications/audio/gtkpod { };
|
||||
|
||||
q4wine = libsForQt5.callPackage ../applications/misc/q4wine { };
|
||||
@@ -32603,6 +32607,8 @@ with pkgs;
|
||||
|
||||
mle = callPackage ../applications/editors/mle { };
|
||||
|
||||
namaka = callPackage ../development/tools/misc/namaka { };
|
||||
|
||||
nano = callPackage ../applications/editors/nano { };
|
||||
|
||||
nanoblogger = callPackage ../applications/misc/nanoblogger { };
|
||||
|
||||
@@ -2933,6 +2933,8 @@ self: super: with self; {
|
||||
|
||||
duckdb-engine = callPackage ../development/python-modules/duckdb-engine { };
|
||||
|
||||
duckduckgo-search = callPackage ../development/python-modules/duckduckgo-search { };
|
||||
|
||||
duecredit = callPackage ../development/python-modules/duecredit { };
|
||||
|
||||
duet = callPackage ../development/python-modules/duet { };
|
||||
|
||||
Reference in New Issue
Block a user