Skip to content

Commit

Permalink
Merge master into staging-next
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jan 28, 2023
2 parents f165103 + 8b0a35f commit edb5964
Show file tree
Hide file tree
Showing 20 changed files with 136 additions and 43 deletions.
51 changes: 51 additions & 0 deletions pkgs/applications/misc/kaufkauflist/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{ lib, buildPackages, buildGoModule, fetchFromGitHub, esbuild, buildNpmPackage, fetchFromGitea }:

let
esbuild' = buildPackages.esbuild.override {
buildGoModule = args: buildPackages.buildGoModule (args // rec {
version = "0.16.15";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
hash = "sha256-iTAtPHjrBvHweSIiAbkkbBLgjF3v68jipJEzc0I4G04=";
};
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
});
};
in buildNpmPackage rec {
pname = "kaufkauflist";
version = "1.0.0";

src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = "kaufkauflist";
rev = "v${version}";
hash = "sha256-feqk2FUs3lcnIgyPzhsow+xO9u7l9+9eZEk9jxRlpG4=";
};

npmDepsHash = "sha256-lSnGLK7+ac/wEpAxlpkZS/kgr9F+8WK+nRjCzkrPJt0=";

ESBUILD_BINARY_PATH = "${lib.getExe esbuild'}";

installPhase = ''
runHook preInstall
mkdir -p $out/share/kaufkauflist $out/share/pocketbase
cp -vr build/* $out/share/kaufkauflist/
cp -v pb_schema.json $out/share/pocketbase/
runHook postInstall
'';

# Uncomment this when nix-update-script supports Gitea.
#passthru.updateScript = nix-update-script { };

meta = with lib; {
homepage = "https://codeberg.org/annaaurora/kaufkauflist";
description = "A to-do list for shopping or other use cases";
license = licenses.mit;
maintainers = with maintainers; [ annaaurora ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
}
},
"ungoogled-chromium": {
"version": "109.0.5414.87",
"sha256": "1nhqbl4070n3f3j9867j78k8vig69i8m0k0s17z5axqv2qkn76k8",
"version": "109.0.5414.120",
"sha256": "1yvfd0a7zfz4x00f83irrs6hy15wn85mrbbm7mk5wy4gjwg5zyrj",
"sha256bin64": null,
"deps": {
"gn": {
Expand All @@ -56,8 +56,8 @@
"sha256": "02621c9nqpr4pwcapy31x36l5kbyd0vdgd0wdaxj5p8hrxk67d6b"
},
"ungoogled-patches": {
"rev": "109.0.5414.87-1",
"sha256": "0lq0zk21qfm8wvi0fl0gnjm0wnk29dsi8b9qphldwysgla8y8m3j"
"rev": "109.0.5414.120-1",
"sha256": "0hq48lsjl7da8rdq129mc7cd0z5ykqbaf1sbhhs1d10dzm5zs4p3"
}
}
}
Expand Down
36 changes: 36 additions & 0 deletions pkgs/applications/video/mpv/scripts/webtorrent-mpv-hook.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{ lib , buildNpmPackage , fetchFromGitHub, nodejs }:

buildNpmPackage rec {
pname = "webtorrent-mpv-hook";
version = "1.3.3";

src = fetchFromGitHub {
owner = "mrxdst";
repo = pname;
rev = "v${version}";
hash = "sha256-AFKX31kriacXygZy0Mw+QwO+SwFEu13687mJ/WeAoKY=";
};

postPatch = ''
substituteInPlace src/webtorrent.ts --replace "node_path: 'node'" "node_path: '${nodejs}/bin/node'"
# This executable is just for telling non-Nix users how to install
substituteInPlace package.json --replace '"bin": "build/bin.js",' ""
rm -rf src/bin.ts
'';

npmDepsHash = "sha256-GpNUJ5ZCgMjSYLqsIE/RwkTSFT3uAhxrHPe7XvGDRHE=";
makeCacheWritable = true;

postInstall = ''
mkdir -p $out/share/mpv/scripts/
ln -s $out/lib/node_modules/webtorrent-mpv-hook/build/webtorrent.js $out/share/mpv/scripts/
'';
passthru.scriptName = "webtorrent.js";

meta = {
description = "Adds a hook that allows mpv to stream torrents";
homepage = "https://github.com/mrxdst/webtorrent-mpv-hook";
maintainers = [ lib.maintainers.chuangzhu ];
license = lib.licenses.isc;
};
}
4 changes: 2 additions & 2 deletions pkgs/development/compilers/crystal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ rec {
};

crystal_1_7 = generic {
version = "1.7.1";
sha256 = "sha256-PaeqqY+rSxntzz+30mJnjxzj2Xgu/BNkolw3Y30aZgk=";
version = "1.7.2";
sha256 = "sha256-Bwd9Gmtwa/0oLhps3fc8GqBlB4o31LCR1Sf98Pz4i90=";
binary = binaryCrystal_1_2;
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/dmd/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ stdenv.mkDerivation rec {
NIX_ENFORCE_PURITY= \
make -C phobos -f posix.mak unittest $checkFlags -j$checkJobs DFLAGS="-version=TZDatabaseDir -version=LibcurlPath -J$PWD"
runHook postBuild
runHook postCheck
'';

installPhase = ''
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/interpreters/zuo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

stdenv.mkDerivation rec {
pname = "zuo";
version = "unstable-2022-11-15";
version = "unstable-2023-01-02";

src = fetchFromGitHub {
owner = "racket";
repo = "zuo";
rev = "7492a8aa3721bfad7d158497313b913537a8b12d";
hash = "sha256-9tMYaKjBTGm9NjcytpUS9mgBlE9L1U2VECsqfU706u4=";
rev = "464aae9ae90dcb43ab003b922e4ae4d08611c55b";
hash = "sha256-O8p3dEXqAP2UNPNBla9AtkndxgL8UoVp/QygXOmcgWg=";
};

doCheck = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dinghy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

buildPythonPackage rec {
pname = "dinghy";
version = "1.0.0";
version = "1.1.0";
format = "setuptools";

disabled = pythonOlder "3.8";
Expand All @@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "nedbat";
repo = pname;
rev = version;
hash = "sha256-hrRs4hBRckUMsDGix+6GMr5VwyhXl/ib3jon7VNca1Y=";
hash = "sha256-3qj3CU0A7oyPcUMEoqe4lUK5Jl1tlnCaqXMtDnn9+bw=";
};

propagatedBuildInputs = [
Expand Down
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/emcee/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

buildPythonPackage rec {
pname = "emcee";
version = "3.1.3";
version = "3.1.4";
format = "setuptools";

disabled = pythonOlder "3.7";
Expand All @@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "dfm";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-HAuwWFNL63BlvHomQx+hWw4et7kRYd3zhH2FAj632Lg=";
hash = "sha256-K2cPSbR7jnl9Vzf2sEiPZqk2vTwgChNWAf6CAerhZCg=";
};

SETUPTOOLS_SCM_PRETEND_VERSION = version;
Expand All @@ -42,6 +42,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Kick ass affine-invariant ensemble MCMC sampling";
homepage = "https://emcee.readthedocs.io/";
changelog = "https://github.com/dfm/emcee/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
Expand Down
14 changes: 7 additions & 7 deletions pkgs/development/python-modules/flask-migrate/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, isPy27
, pythonOlder
, alembic
, flask
, flask_script
, flask-sqlalchemy
, unittestCheckHook
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "Flask-Migrate";
version = "3.1.0";
version = "4.0.2";
format = "setuptools";
disabled = isPy27;
disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "miguelgrinberg";
repo = pname;
rev = "v${version}";
sha256 = "0zj7qpknvlhrh4fsp5sx4fwyx3sp41ynclka992zympm3xym9zyq";
hash = "sha256-6P5oIH/mVuMy4J71VIRD1p+qbvPUlq3COpytEgKz1qo=";
};

propagatedBuildInputs = [
Expand All @@ -33,14 +33,14 @@ buildPythonPackage rec {
];

nativeCheckInputs = [
unittestCheckHook
pytestCheckHook
flask_script
];

meta = with lib; {
description = "SQLAlchemy database migrations for Flask applications using Alembic";
homepage = "https://github.com/miguelgrinberg/Flask-Migrate";
license = licenses.mit;
maintainers = with maintainers; [ ];
maintainers = with maintainers; [ gador ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pulumi-aws/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
buildPythonPackage rec {
pname = "pulumi-aws";
# Version is independant of pulumi's.
version = "5.27.0";
version = "5.28.0";
format = "setuptools";

disabled = pythonOlder "3.7";
Expand All @@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "pulumi";
repo = "pulumi-aws";
rev = "refs/tags/v${version}";
hash = "sha256-JNiklXAAyHFLdspglGLokmHOiffDS1I5igsmupla1Qo=";
hash = "sha256-7lO3GbVPG70u+PzS/22d6i6xIRXiTMc/iUXrZurD2LU=";
};

sourceRoot = "${src.name}/sdk/python";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

buildPythonPackage rec {
pname = "pysigma-backend-elasticsearch";
version = "0.1.2";
version = "0.2.0";
format = "pyproject";

disabled = pythonOlder "3.8";
Expand All @@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-backend-elasticsearch";
rev = "refs/tags/v${version}";
hash = "sha256-HzvL6b2zeUrAAJ4mmKPOacZzHVVxfs3gjzP+fZIhApI=";
hash = "sha256-EDs1ZBjwZCNrZMiH0Lcp2NyxQhGHygUMNBEU/5zuUYI=";
};

nativeBuildInputs = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

buildPythonPackage rec {
pname = "pysigma-backend-opensearch";
version = "0.1.4";
version = "0.1.5";
format = "pyproject";

disabled = pythonOlder "3.8";
Expand All @@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "SigmaHQ";
repo = "pySigma-backend-opensearch";
rev = "refs/tags/v${version}";
hash = "sha256-ZcX8LK/qckNEhMWljv73QHtWv4IY7Xtr4ISrlnrUaAY=";
hash = "sha256-j8BiO/7wp1TRSK+C5cPSgF72CuBpb2jLhJXRJLHgh5I=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/schema-salad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@

buildPythonPackage rec {
pname = "schema-salad";
version = "8.3.20230109181936";
version = "8.4.20230127112827";
format = "setuptools";

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
hash = "sha256-4PuPvnk92kITPzdGQr6fGvFlG7+zyjfjQdiGbWld5Fo=";
hash = "sha256-nptZTNveutV9bGSkDPWLfiBusZblVqd/5m7DN4HwGJY=";
};

nativeBuildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/textual/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

buildPythonPackage rec {
pname = "textual";
version = "0.10.0";
version = "0.10.1";
format = "pyproject";

disabled = pythonOlder "3.7";
Expand All @@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "Textualize";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-T71Jmgj/hgLOcSHu5QyqdZ7dYpLjhTQqDBdQgiaGXA8=";
sha256 = "sha256-DPE8brf8y6DJDPfDNUBk09ngthSWN59UYw6yPfI4+Qw=";
};

nativeBuildInputs = [
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/duckscript/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@

rustPlatform.buildRustPackage rec {
pname = "duckscript_cli";
version = "0.8.16";
version = "0.8.17";

src = fetchCrate {
inherit pname version;
sha256 = "sha256-H9lZIIJrE6onqGHw0l8Y58IW9EAcQ7eCHxgqqeSLgGY=";
sha256 = "sha256-fEAm7HhRGYZpGL9I8h3wX8AnPs00pG/ui7Rm+PaXJpA=";
};

nativeBuildInputs = [ pkg-config ];

buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ];

cargoSha256 = "sha256-DQw3DDOUo4ogf6PIY7/1U0uiyX8dpXE5D2P8QDdie9M=";
cargoHash = "sha256-kll2q5HhcpizBDbWipj30F8WEQnjG1fndxCHoXBbik8=";

meta = with lib; {
description = "Simple, extendable and embeddable scripting language.";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/servers/dns/bind/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

stdenv.mkDerivation rec {
pname = "bind";
version = "9.18.10";
version = "9.18.11";

src = fetchurl {
url = "https://downloads.isc.org/isc/bind9/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-9BWpL+tiVotQhUoGPLIx4lc1H4ZyGG0KsDGkmz3iysY=";
sha256 = "sha256-j/M1KBIjDLy9pC34fK2WH5QWPT2kV8XkvvgFf9XfIVg=";
};

outputs = [ "out" "lib" "dev" "man" "dnsutils" "host" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/tools/security/gotrue/supabase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

buildGoModule rec {
pname = "gotrue";
version = "2.41.4";
version = "2.42.0";

src = fetchFromGitHub {
owner = "supabase";
repo = pname;
rev = "v${version}";
hash = "sha256-wHsjCf9TdRZ80l4nGEsLlB4J7pXv65fOv4pfFy3Wp/0=";
hash = "sha256-ZLonPW7lXaBE039R21DWjRBa7xxRnH9rTNu4PDNOWoY=";
};

vendorHash = "sha256-3dXfg9tblPx9V5LzzVm3UtCwGcPIAm2MaKm9JQi69mU=";
Expand Down
Loading

0 comments on commit edb5964

Please sign in to comment.