nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 3a0b6db2ff8561204c994a48dac1ee0399d679e7
parent 37cbcf526ba518ad77416e7090349d465901d815
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Mon, 18 May 2026 01:00:56 +0400

Up

Diffstat:
Apkgs/by-name/ju/jupyter-loopback/package.nix | 39+++++++++++++++++++++++++++++++++++++++
Mpkgs/by-name/lo/localtileserver/package.nix | 8+++++---
Mpkgs/by-name/ov/overpass-turbo/package.nix | 11++++++++++-
Mpkgs/by-name/re/revdiff/package.nix | 4++--
4 files changed, 56 insertions(+), 6 deletions(-)

diff --git a/pkgs/by-name/ju/jupyter-loopback/package.nix b/pkgs/by-name/ju/jupyter-loopback/package.nix @@ -0,0 +1,39 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonPackage (finalAttrs: { + pname = "jupyter-loopback"; + version = "0.3.3"; + pyproject = true; + + src = fetchFromGitHub { + owner = "banesullivan"; + repo = "jupyter-loopback"; + tag = "v${finalAttrs.version}"; + hash = "sha256-92C02SNX0xs8wGuC4lwmFsS1XZkRIDIlkr8P1YZo+Kg="; + }; + + build-system = with python3Packages; [ setuptools-scm ]; + + dependencies = with python3Packages; [ + jupyter-server + tornado + ]; + + pythonRelaxDeps = [ "jupyter_loopback" ]; + + nativeCheckInputs = with python3Packages; [ + pytestCheckHook + pytest-asyncio + ]; + + meta = { + description = "Make kernel-local HTTP/WS servers reachable from the notebook browser with zero user config"; + homepage = "https://github.com/banesullivan/jupyter-loopback"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + }; +}) diff --git a/pkgs/by-name/lo/localtileserver/package.nix b/pkgs/by-name/lo/localtileserver/package.nix @@ -4,21 +4,22 @@ fetchFromGitHub, rio-cogeo, server-thread, + jupyter-loopback, }: python3Packages.buildPythonApplication (finalAttrs: { pname = "localtileserver"; - version = "0.11.0"; + version = "1.0.0"; pyproject = true; src = fetchFromGitHub { owner = "banesullivan"; repo = "localtileserver"; tag = "v${finalAttrs.version}"; - hash = "sha256-vB5w5FdKcwljNrE7HgIy1QfbvEBbbesVkWz+vbUmDHc="; + hash = "sha256-m4zNJ/N7oESXQsJDFu0wNp0xw4y3ror9p+ynvs2xnMA="; }; - build-system = with python3Packages; [ setuptools ]; + build-system = with python3Packages; [ setuptools-scm ]; dependencies = with python3Packages; [ click @@ -26,6 +27,7 @@ python3Packages.buildPythonApplication (finalAttrs: { flask-caching flask-cors flask-restx + jupyter-loopback rio-tiler rio-cogeo requests diff --git a/pkgs/by-name/ov/overpass-turbo/package.nix b/pkgs/by-name/ov/overpass-turbo/package.nix @@ -3,6 +3,7 @@ stdenv, fetchFromGitHub, fetchPnpmDeps, + fetchpatch, nodejs, pnpm, pnpmConfigHook, @@ -20,6 +21,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-s3A33o0jV2edkav2VvkbjRqFJ/qpo+EAATPgc2ZR5JA="; }; + patches = [ + # https://github.com/tyrasd/overpass-turbo/pull/840 + (fetchpatch { + url = "https://github.com/tyrasd/overpass-turbo/commit/867d1a61994379da7cf3f8821bbc84796d59e769.patch"; + hash = "sha256-HjFfToksyBMSIK+D1AezWMTLdlMvKlwNGN0P86LnTCk="; + }) + ]; + postPatch = '' substituteInPlace vite.config.mts \ --replace-fail "git log -1 --format=%cd --date=short" "echo ${finalAttrs.version}" \ @@ -29,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; fetcherVersion = 3; - hash = "sha256-lyz1bcr7bnD5Wp9Srxn6dOH+gVdEQVF6xxuVE3Av3yc="; + hash = "sha256-+o21KuMzbwCpZxXefSz6f+o71lHCMGIOc0ltOOihT/M="; }; nativeBuildInputs = [ diff --git a/pkgs/by-name/re/revdiff/package.nix b/pkgs/by-name/re/revdiff/package.nix @@ -6,7 +6,7 @@ buildGoModule (finalAttrs: { pname = "revdiff"; - version = "0.10.0"; + version = "1.3.0"; __structuredAttrs = true; @@ -14,7 +14,7 @@ buildGoModule (finalAttrs: { owner = "umputun"; repo = "revdiff"; tag = "v${finalAttrs.version}"; - hash = "sha256-fZt3zEX6Sv2iAQuRlbrdJPNuoGvDwO4e5XsFDoXv9qQ="; + hash = "sha256-lcqkvQ5jLP3sA9WeFcp1PRPIvtq7vWjl7M+9juBYXL0="; }; vendorHash = null;