Merge master into haskell-updates

This commit is contained in:
github-actions[bot]
2024-02-04 00:13:37 +00:00
committed by GitHub
171 changed files with 1836 additions and 1206 deletions
+15
View File
@@ -10673,6 +10673,15 @@
githubId = 1769386;
name = "Liam Diprose";
};
liassica = {
email = "git-commit.jingle869@aleeas.com";
github = "Liassica";
githubId = 115422798;
name = "Liassica";
keys = [{
fingerprint = "83BE 3033 6164 B971 FA82 7036 0D34 0E59 4980 7BDD";
}];
};
liberatys = {
email = "liberatys@hey.com";
name = "Nick Anthony Flueckiger";
@@ -17288,6 +17297,12 @@
github = "shymega";
githubId = 1334592;
};
siddharthdhakane = {
email = "siddharthdhakane@gmail.com";
github = "siddharthdhakane";
githubId = 28101092;
name = "Siddharth Dhakane";
};
siddharthist = {
email = "langston.barrett@gmail.com";
github = "langston-barrett";
@@ -71,6 +71,7 @@ in
after = [ "network.target" ];
environment.ZIGBEE2MQTT_DATA = cfg.dataDir;
serviceConfig = {
Type = "notify";
ExecStart = "${cfg.package}/bin/zigbee2mqtt";
User = "zigbee2mqtt";
Group = "zigbee2mqtt";
+2 -2
View File
@@ -710,9 +710,9 @@ in
'';
}
# Needed since 1.18; see https://bugs.freedesktop.org/show_bug.cgi?id=89023#c5
// (let cfgPath = "/X11/xorg.conf.d/10-evdev.conf"; in
// (let cfgPath = "X11/xorg.conf.d/10-evdev.conf"; in
{
${cfgPath}.source = xorg.xf86inputevdev.out + "/share" + cfgPath;
${cfgPath}.source = xorg.xf86inputevdev.out + "/share/" + cfgPath;
});
environment.systemPackages = utils.removePackagesByName
@@ -58,7 +58,7 @@ class ComposefsPath:
):
if path is None:
path = attrs["target"]
self.path = "/" + path
self.path = path
self.size = size
self.filetype = filetype
self.mode = mode
@@ -83,8 +83,12 @@ class ComposefsPath:
return " ".join(line_list)
def eprint(*args, **kwargs) -> None:
print(args, **kwargs, file=sys.stderr)
def eprint(*args: Any, **kwargs: Any) -> None:
print(*args, **kwargs, file=sys.stderr)
def normalize_path(path: str) -> str:
return str("/" + os.path.normpath(path).lstrip("/"))
def leading_directories(path: str) -> list[str]:
@@ -145,6 +149,10 @@ def main() -> None:
paths: dict[str, ComposefsPath] = {}
for attrs in config:
# Normalize the target path to work around issues in how targets are
# declared in `environment.etc`.
attrs["target"] = normalize_path(attrs["target"])
target = attrs["target"]
source = attrs["source"]
mode = attrs["mode"]
+1
View File
@@ -627,6 +627,7 @@ in {
ntfy-sh = handleTest ./ntfy-sh.nix {};
ntfy-sh-migration = handleTest ./ntfy-sh-migration.nix {};
ntpd-rs = handleTest ./ntpd-rs.nix {};
nvmetcfg = handleTest ./nvmetcfg.nix {};
nzbget = handleTest ./nzbget.nix {};
nzbhydra2 = handleTest ./nzbhydra2.nix {};
oh-my-zsh = handleTest ./oh-my-zsh.nix {};
+43
View File
@@ -0,0 +1,43 @@
import ./make-test-python.nix ({ lib, ... }: {
name = "nvmetcfg";
meta = {
maintainers = with lib.maintainers; [ nickcao ];
};
nodes = {
server = { pkgs, ... }: {
boot.kernelModules = [ "nvmet" ];
environment.systemPackages = [ pkgs.nvmetcfg ];
networking.firewall.allowedTCPPorts = [ 4420 ];
virtualisation.emptyDiskImages = [ 512 ];
};
client = { pkgs, ... }: {
boot.kernelModules = [ "nvme-fabrics" ];
environment.systemPackages = [ pkgs.nvme-cli ];
};
};
testScript = let subsystem = "nqn.2014-08.org.nixos:server"; in ''
import json
with subtest("Create subsystem and namespace"):
server.succeed("nvmet subsystem add ${subsystem}")
server.succeed("nvmet namespace add ${subsystem} 1 /dev/vdb")
with subtest("Bind subsystem to port"):
server.wait_for_unit("network-online.target")
server.succeed("nvmet port add 1 tcp 0.0.0.0:4420")
server.succeed("nvmet port add-subsystem 1 ${subsystem}")
with subtest("Discover and connect to available subsystems"):
client.wait_for_unit("network-online.target")
assert "subnqn: ${subsystem}" in client.succeed("nvme discover --transport=tcp --traddr=server --trsvcid=4420")
client.succeed("nvme connect-all --transport=tcp --traddr=server --trsvcid=4420")
with subtest("Write to the connected subsystem"):
devices = json.loads(client.succeed("lsblk --nvme --paths --json"))["blockdevices"]
assert len(devices) == 1
client.succeed(f"dd if=/dev/zero of={devices[0]['name']} bs=1M count=64")
'';
})
+11 -2
View File
@@ -3,6 +3,15 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
name = "zigbee2mqtt";
nodes.machine = { pkgs, ... }:
{
systemd.services.dummy-serial = {
wantedBy = [
"multi-user.target"
];
serviceConfig = {
ExecStart = "${pkgs.socat}/bin/socat pty,link=/dev/ttyACM0,mode=666 pty,link=/dev/ttyACM1";
};
};
services.zigbee2mqtt = {
enable = true;
};
@@ -11,10 +20,10 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
};
testScript = ''
machine.wait_for_unit("zigbee2mqtt.service")
machine.wait_for_unit("multi-user.target")
machine.wait_until_fails("systemctl status zigbee2mqtt.service")
machine.succeed(
"journalctl -eu zigbee2mqtt | grep \"Error: Error while opening serialport 'Error: Error: No such file or directory, cannot open /dev/ttyACM0'\""
"journalctl -eu zigbee2mqtt | grep 'Failed to connect to the adapter'"
)
machine.log(machine.succeed("systemd-analyze security zigbee2mqtt.service"))
@@ -37,5 +37,6 @@ buildGoModule rec {
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ panaeon lom ];
mainProgram = "noisetorch";
};
}
@@ -4162,6 +4162,18 @@ final: prev:
meta.homepage = "https://github.com/kiyoon/haskell-scope-highlighting.nvim/";
};
haskell-snippets-nvim = buildVimPlugin {
pname = "haskell-snippets.nvim";
version = "2024-01-15";
src = fetchFromGitHub {
owner = "mrcjkb";
repo = "haskell-snippets.nvim";
rev = "c26279d568452f5474f26470aff6549f94ff7cd3";
sha256 = "1rl9g25afaqiw16i582hbnnag0v6xcn28f09cy8vfddj696ygzg6";
};
meta.homepage = "https://github.com/mrcjkb/haskell-snippets.nvim/";
};
haskell-tools-nvim = buildNeovimPlugin {
pname = "haskell-tools.nvim";
version = "2024-01-21";
@@ -670,6 +670,10 @@
dependencies = with self; [ plenary-nvim ];
};
haskell-snippets-nvim = super.haskell-snippets-nvim.overrideAttrs {
dependencies = [ self.luasnip ];
};
haskell-scope-highlighting-nvim = super.haskell-scope-highlighting-nvim.overrideAttrs {
dependencies = with self; [ nvim-treesitter ];
};
@@ -348,6 +348,7 @@ https://git.sr.ht/~sircmpwn/hare.vim,HEAD,
https://github.com/ThePrimeagen/harpoon/,master,
https://github.com/ThePrimeagen/harpoon/,harpoon2,harpoon2
https://github.com/kiyoon/haskell-scope-highlighting.nvim/,HEAD,
https://github.com/mrcjkb/haskell-snippets.nvim/,HEAD,
https://github.com/MrcJkb/haskell-tools.nvim/,HEAD,
https://github.com/neovimhaskell/haskell-vim/,,
https://github.com/wenzel-hoffman/haskell-with-unicode.vim/,HEAD,
-131
View File
@@ -1,131 +0,0 @@
{ lib
, stdenv
, callPackage
, fetchFromGitHub
, testers
, enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
, cmake
, curl
, gdal
, hdf5-cpp
, LASzip
, libe57format
, libgeotiff
, libtiff
, libxml2
, openscenegraph
, pkg-config
, postgresql
, tiledb
, xercesc
, zlib
, zstd
}:
stdenv.mkDerivation (finalAttrs: {
pname = "pdal";
version = "2.5.6";
src = fetchFromGitHub {
owner = "PDAL";
repo = "PDAL";
rev = finalAttrs.version;
sha256 = "sha256-JKwa89c05EfZ/FxOkj8lYmw0o2EgSqafRDIV2mTpZ5E=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
curl
gdal
hdf5-cpp
LASzip
libgeotiff
libtiff
libxml2
openscenegraph
postgresql
tiledb
xercesc
zlib
zstd
] ++ lib.optionals enableE57 [
libe57format
];
cmakeFlags = [
"-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}"
"-DBUILD_PLUGIN_HDF=ON"
"-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
"-DBUILD_PLUGIN_TILEDB=ON"
"-DWITH_TESTS=ON"
"-DBUILD_PGPOINTCLOUD_TESTS=OFF"
# Plugins can probably not be made work easily:
"-DBUILD_PLUGIN_CPD=OFF"
"-DBUILD_PLUGIN_FBX=OFF" # Autodesk FBX SDK is gratis+proprietary; not packaged in nixpkgs
"-DBUILD_PLUGIN_GEOWAVE=OFF"
"-DBUILD_PLUGIN_I3S=OFF"
"-DBUILD_PLUGIN_ICEBRIDGE=OFF"
"-DBUILD_PLUGIN_MATLAB=OFF"
"-DBUILD_PLUGIN_MBIO=OFF"
"-DBUILD_PLUGIN_MRSID=OFF"
"-DBUILD_PLUGIN_NITF=OFF"
"-DBUILD_PLUGIN_OCI=OFF"
"-DBUILD_PLUGIN_RDBLIB=OFF" # Riegl rdblib is proprietary; not packaged in nixpkgs
"-DBUILD_PLUGIN_RIVLIB=OFF"
];
doCheck = true;
disabledTests = [
# Tests failing due to TileDB library implementation, disabled also
# by upstream CI.
# See: https://github.com/PDAL/PDAL/blob/bc46bc77f595add4a6d568a1ff923d7fe20f7e74/.github/workflows/linux.yml#L81
"pdal_io_tiledb_writer_test"
"pdal_io_tiledb_reader_test"
"pdal_io_tiledb_time_writer_test"
"pdal_io_tiledb_time_reader_test"
"pdal_io_tiledb_bit_fields_test"
"pdal_io_e57_read_test"
"pdal_io_e57_write_test"
"pdal_io_stac_reader_test"
# Segfault
"pdal_io_hdf_reader_test"
# Failure
"pdal_app_plugin_test"
];
checkPhase = ''
runHook preCheck
# tests are flaky and they seem to fail less often when they don't run in
# parallel
ctest -j 1 --output-on-failure -E '^${lib.concatStringsSep "|" finalAttrs.disabledTests}$'
runHook postCheck
'';
passthru.tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "pdal --version";
version = "pdal ${finalAttrs.finalPackage.version}";
};
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
description = "PDAL is Point Data Abstraction Library. GDAL for point cloud data";
homepage = "https://pdal.io";
license = licenses.bsd3;
maintainers = teams.geospatial.members;
platforms = platforms.all;
pkgConfigModules = [ "pdal" ];
};
})
+4 -7
View File
@@ -47,11 +47,6 @@
}:
let
# replace with global pdal version once
# https://github.com/qgis/QGIS/pull/54940 is backported
pdal = callPackage ./pdal-2_5.nix { };
py = python3.override {
packageOverrides = self: super: {
pyqt5 = super.pyqt5.override {
@@ -132,7 +127,7 @@ in mkDerivation rec {
qtserialport
qtxmlpatterns
qt3d
pdal
# pdal
zstd
] ++ lib.optional withGrass grass
++ lib.optional withWebKit qtwebkit
@@ -151,9 +146,11 @@ in mkDerivation rec {
})
];
# PDAL is disabled until https://github.com/qgis/QGIS/pull/54940
# is backported.
cmakeFlags = [
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
"-DWITH_PDAL=False" # TODO: re-enable PDAL
"-DENABLE_TESTS=False"
] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF"
++ lib.optional withGrass (let
@@ -8,7 +8,7 @@
let
inherit (rustPlatform) buildRustPackage bindgenHook;
version = "0.2.8";
version = "0.3.2";
in
buildRustPackage {
pname = "figma-agent";
@@ -18,10 +18,10 @@ buildRustPackage {
owner = "neetly";
repo = "figma-agent-linux";
rev = version;
sha256 = "sha256-GtbONBAXoJ3AdpsWGk4zBCtGQr446siMtuj3or27wYw=";
sha256 = "sha256-iXLQOc8gomOik+HIIoviw19II5MD6FM0W5DT3aqtIcM=";
};
cargoHash = "sha256-EmBeRdnA59PdzSEX2x+sVYk/Cs7K3k0idDjbuEzI9j4=";
cargoHash = "sha256-ulYDKMMtKfBYur34CVhac4uaU0kfdkeBCCP/heuUZek=";
nativeBuildInputs = [
pkg-config
@@ -19,7 +19,7 @@
python3.pkgs.buildPythonApplication rec {
pname = "komikku";
version = "1.36.0";
version = "1.37.1";
format = "other";
@@ -28,7 +28,7 @@ python3.pkgs.buildPythonApplication rec {
owner = "valos";
repo = "Komikku";
rev = "v${version}";
hash = "sha256-sX/4Sez6gKSgaUJC7iW2BeVp0y9h64YqQi7FL5fzZ4o=";
hash = "sha256-pGOut63+ST1Yqe1Fj0c4cI0du1q4JW7WVA4h+muWGJQ=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "ff2mpv";
version = "4.0.0";
version = "5.0.1";
src = fetchFromGitHub {
owner = "woodruffw";
repo = pname;
rev = "v${version}";
sha256 = "sha256-sxUp/JlmnYW2sPDpIO2/q40cVJBVDveJvbQMT70yjP4=";
hash = "sha256-unSnySEhaaLIW/6R+vmNONb5xMSgQLtSsOLGcfuW0RY=";
};
buildInputs = [ python3 mpv ];
@@ -7,7 +7,7 @@
((buildMozillaMach rec {
pname = "floorp";
packageVersion = "11.8.2";
packageVersion = "11.9.0";
applicationName = "Floorp";
binaryName = "floorp";
@@ -19,7 +19,7 @@
repo = "Floorp";
fetchSubmodules = true;
rev = "v${packageVersion}";
hash = "sha256-bEHl+0MzvQNMCxOjBuFx92gwNr0spVA+on0znBUIhz0=";
hash = "sha256-Mk/5bkaSLQYFFGhCSjVho8CUilZSYDGarnIt4Wg9/6g=";
};
extraConfigureFlags = [
@@ -1,7 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.1.2)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -14,26 +14,25 @@ GEM
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
bigdecimal (3.1.5)
bigdecimal (3.1.6)
colorize (0.8.1)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
domain_name (0.6.20231109)
domain_name (0.6.20240107)
drb (2.2.0)
ruby2_keywords
ejson (1.4.1)
faraday (2.7.12)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
rake
google-cloud-env (2.1.0)
google-cloud-env (2.1.1)
faraday (>= 1.0, < 3.a)
googleauth (1.9.1)
googleauth (1.9.2)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.1)
jwt (>= 1.4, < 3.0)
@@ -54,7 +53,7 @@ GEM
jsonpath (1.1.5)
multi_json
jwt (2.7.1)
krane (3.4.0)
krane (3.4.2)
activesupport (>= 5.0)
colorize (~> 0.8)
concurrent-ruby (~> 1.1)
@@ -73,12 +72,14 @@ GEM
llhttp-ffi (0.4.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
mime-types (3.5.1)
mime-types (3.5.2)
mime-types-data (~> 3.2015)
mime-types-data (3.2023.1205)
minitest (5.20.0)
minitest (5.21.2)
multi_json (1.15.0)
mutex_m (0.2.0)
net-http (0.4.1)
uri
netrc (0.11.0)
os (1.1.4)
public_suffix (5.0.4)
@@ -99,6 +100,7 @@ GEM
thor (1.3.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uri (0.13.0)
PLATFORMS
ruby
@@ -107,4 +109,4 @@ DEPENDENCIES
krane
BUNDLED WITH
2.4.22
2.5.5
@@ -5,10 +5,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1l6hmf99zgckpn812qfxfz60rbh0zixv1hxnxhjlg8942pvixn2v";
sha256 = "09zrw3sydkk6lwzjhzia38wg1as5aab2lgnysfdr1qxh39zi7z7v";
type = "gem";
};
version = "7.1.2";
version = "7.1.3";
};
addressable = {
dependencies = ["public_suffix"];
@@ -36,10 +36,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b1gqa90amazwnll9590m5ighywh9sacsmpyd5ihljivmvjswksk";
sha256 = "00db5v09k1z3539g1zrk7vkjrln9967k08adh6qx33ng97a2gg5w";
type = "gem";
};
version = "3.1.5";
version = "3.1.6";
};
colorize = {
groups = ["default"];
@@ -56,10 +56,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0krcwb6mn0iklajwngwsg850nk8k9b35dhmc2qkbdqvmifdi2y9q";
sha256 = "1qh1b14jwbbj242klkyz5fc7npd4j0mvndz62gajhvl1l3wd7zc2";
type = "gem";
};
version = "1.2.2";
version = "1.2.3";
};
connection_pool = {
groups = ["default"];
@@ -76,10 +76,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1gpciaifmxql8h01ci12qq08dnqrdlzkkz6fmia9v9yc3r9a29si";
sha256 = "0cyr2xm576gqhqicsyqnhanni47408w2pgvrfi8pd13h2li3nsaz";
type = "gem";
};
version = "0.6.20231109";
version = "0.6.20240107";
};
drb = {
dependencies = ["ruby2_keywords"];
@@ -103,25 +103,26 @@
version = "1.4.1";
};
faraday = {
dependencies = ["base64" "faraday-net_http" "ruby2_keywords"];
dependencies = ["faraday-net_http"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "19w1lzipnxs6vy3y0pw1mf956f768ppzgfrnlpwgrpnjjv9xqf7d";
sha256 = "1qqb1rmk0f9m82iijjlqadh5yby1bhnr6svjk9vxdvh6f181988s";
type = "gem";
};
version = "2.7.12";
version = "2.9.0";
};
faraday-net_http = {
dependencies = ["net-http"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "13byv3mp1gsjyv8k0ih4612y6vw5kqva6i03wcg4w2fqpsd950k8";
sha256 = "17w51yk4rrm9rpnbc3x509s619kba0jga3qrj4b17l30950vw9qn";
type = "gem";
};
version = "3.0.2";
version = "3.1.0";
};
ffi = {
groups = ["default"];
@@ -150,10 +151,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "056r1p8vhjswnx2cy3mzhwc5gj03whmpz8m4p2ph37gag5bpnxmf";
sha256 = "16b9yjbrzal1cjkdbn29fl06ikjn1dpg1vdsjak1xvhpsp3vhjyg";
type = "gem";
};
version = "2.1.0";
version = "2.1.1";
};
googleauth = {
dependencies = ["faraday" "google-cloud-env" "jwt" "multi_json" "os" "signet"];
@@ -161,10 +162,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0spv89di017rg25psiv4w3pn6f67y2w6vv8w910i83b5yii84rl1";
sha256 = "1qpvsvcag90nw2fjws12m96hsicpmcv04v35j9aiik9rmxxvlk9h";
type = "gem";
};
version = "1.9.1";
version = "1.9.2";
};
http = {
dependencies = ["addressable" "http-cookie" "http-form_data" "llhttp-ffi"];
@@ -246,10 +247,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1phcappqkj30i99cqggj4sqzhcb3gim9my5xqzybq3byqfrcprqg";
sha256 = "0lgl5x8b0wwih6h609sglp5zfdg8ymbmh8yv4vp1lcxvf885riyz";
type = "gem";
};
version = "3.4.0";
version = "3.4.2";
};
kubeclient = {
dependencies = ["http" "jsonpath" "recursive-open-struct" "rest-client"];
@@ -279,10 +280,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0q8d881k1b3rbsfcdi3fx0b5vpdr5wcrhn88r2d9j7zjdkxp5mw5";
sha256 = "1r64z0m5zrn4k37wabfnv43wa6yivgdfk6cf2rpmmirlz889yaf1";
type = "gem";
};
version = "3.5.1";
version = "3.5.2";
};
mime-types-data = {
groups = ["default"];
@@ -299,10 +300,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bkmfi9mb49m0fkdhl2g38i3xxa02d411gg0m8x0gvbwfmmg5ym3";
sha256 = "1hmszq7p4zp2ha3qjv1axam602rgnqhlz5zfzil7yk4nvfwcv1bn";
type = "gem";
};
version = "5.20.0";
version = "5.21.2";
};
multi_json = {
groups = ["default"];
@@ -324,6 +325,17 @@
};
version = "0.2.0";
};
net-http = {
dependencies = ["uri"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "10n2n9aq00ih8v881af88l1zyrqgs5cl3njdw8argjwbl5ggqvm9";
type = "gem";
};
version = "0.4.1";
};
netrc = {
groups = ["default"];
platforms = [];
@@ -437,4 +449,14 @@
};
version = "2.0.6";
};
uri = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "094gk72ckazf495qc76gk09b5i318d5l9m7bicg2wxlrjcm3qm96";
type = "gem";
};
version = "0.13.0";
};
}
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "popeye";
version = "0.11.2";
version = "0.11.3";
src = fetchFromGitHub {
rev = "v${version}";
owner = "derailed";
repo = "popeye";
sha256 = "sha256-2mLbBvdUWGspTNeU3QJzR5NDI24njvRO2nss/Bo93W8=";
sha256 = "sha256-yxYG74k/HpzIrAFLLSnaqKeODIL+ioNXeyx0aTlsCi0=";
};
ldflags = [
@@ -5,13 +5,13 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.54.22";
version = "0.55.0";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Kxj/Op+XWKJ5C0sShnXp8zovpn0BZh7CYm8FwLHTXpI=";
hash = "sha256-OWhngNfcCxubGirDV+PdQHLmO/OjXHiUjqY3lt+wWW8=";
};
vendorHash = "sha256-Y5+XruUqya+sY3DuX/bVVT4ZVYmTBIDoFRAiRKFyX3M=";
@@ -50,6 +50,7 @@
, qtsvg
, qtwebengine
, qtwebchannel
, wrapGAppsHook
, withWebengine ? true
# for pjsip
@@ -200,7 +201,10 @@ stdenv.mkDerivation rec {
ln -s ${daemon} $out/daemon
'';
dontWrapGApps = true;
nativeBuildInputs = [
wrapGAppsHook
wrapQtAppsHook
pkg-config
cmake
@@ -234,6 +238,10 @@ stdenv.mkDerivation rec {
"--set-default QT_QPA_PLATFORM xcb"
];
preFixup = ''
qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
passthru.updateScript = gitUpdater {
rev-prefix = "stable/";
};
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "protonmail-bridge";
version = "3.8.1";
version = "3.8.2";
src = fetchFromGitHub {
owner = "ProtonMail";
repo = "proton-bridge";
rev = "v${version}";
hash = "sha256-deddWAguDyUVhW31MIBNC850qeVOQYeBux8W66Diee4=";
hash = "sha256-I42f7cV5QsUIPkcc6YDTboS4/LrObHAE3w9S48jsaKM=";
};
vendorHash = "sha256-6xofWf5WFE1wuCwx8iOMcC3gxDzZB3uw3WErLWluBM8=";
@@ -2,6 +2,7 @@
, mkDerivation
, fetchFromGitLab
, fetchpatch
, fetchpatch2
, cmake
, pkg-config
, qtbase
@@ -41,6 +42,11 @@ mkDerivation rec {
url = "https://gitlab.com/scarpetta/pdfmixtool/-/commit/bd5f78c3a4d977d9b0c74302ce2521c737189b43.diff";
hash = "sha256-h2g5toFqgEEnObd2TYQms1a1WFTgN7VsIHyy0Uyq4/I=";
})
# https://gitlab.com/scarpetta/pdfmixtool/-/merge_requests/14
(fetchpatch2 {
url = "https://gitlab.com/scarpetta/pdfmixtool/-/commit/268291317ccd1805dc1c801ff88641ba06c6a7f0.patch";
hash = "sha256-56bDoFtE+IOQHcV9xPfyrgYYFvTfB0QiLIfRl91irb0=";
})
];
meta = with lib; {
+2 -2
View File
@@ -8,13 +8,13 @@
stdenvNoCC.mkDerivation rec {
pname = "cloudlog";
version = "2.6.2";
version = "2.6.3";
src = fetchFromGitHub {
owner = "magicbug";
repo = "Cloudlog";
rev = version;
hash = "sha256-1V3btXYozgT22KiihZgUiZIktV2Y7IXJgoq7bn16ikk=";
hash = "sha256-axulZxMSgpBtF2cUCUWiVdiEOAalvo6RNtG4xpEmC7o=";
};
postPatch = ''
@@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, rsync, ocamlPackages }:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "abella";
version = "2.0.8";
src = fetchurl {
url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz";
url = "http://abella-prover.org/distributions/abella-${finalAttrs.version}.tar.gz";
sha256 = "sha256-80b/RUpE3KRY0Qu8eeTxAbk6mwGG6jVTPOP0qFjyj2M=";
};
@@ -33,9 +33,9 @@ stdenv.mkDerivation rec {
of programming languages and other logical systems which manipulate
objects with binding.
'';
homepage = "http://abella-prover.org/";
homepage = "https://abella-prover.org";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ bcdarwin ciil ];
platforms = lib.platforms.unix;
};
}
})
@@ -0,0 +1,136 @@
{ lib
, stdenv
, fetchFromGitHub
, buildNpmPackage
, curl
, jdk
, jq
, makeWrapper
, maven
, writeText
}:
let
maven' = maven.override {
inherit jdk;
};
version = "3.7.7";
src = fetchFromGitHub {
owner = "openrefine";
repo = "openrefine";
rev = version;
hash = "sha256-/Txx+r+eFizxaTV5u/nOJwum8nJW6jsR6kYA0YbRsJs=";
};
npmPkg = buildNpmPackage {
inherit src version;
pname = "openrefine-npm";
sourceRoot = "source/main/webapp";
npmDepsHash = "sha256-8GhcL4tohQ5u2HeYN6JyTMMobUOqAL8ETCLiP1SoDSk=";
# package.json doesn't supply a version, which npm doesn't like - fix this.
# directly referencing jq because buildNpmPackage doesn't pass
# nativeBuildInputs through to fetchNpmDeps
postPatch = ''
NEW_PACKAGE_JSON=$(mktemp)
${jq}/bin/jq '. + {version: $ENV.version}' package.json > $NEW_PACKAGE_JSON
cp $NEW_PACKAGE_JSON package.json
'';
dontNpmBuild = true;
installPhase = ''
mkdir -p $out
cp -r modules/core/3rdparty/* $out/
'';
};
in maven'.buildMavenPackage {
inherit src version;
pname = "openrefine";
postPatch = ''
cp -r ${npmPkg} main/webapp/modules/core/3rdparty
'';
mvnParameters = "-DskipTests=true -pl !packaging";
mvnHash = "sha256-MqE+iloqzBav6E3/rf1LP5BlKhW/FBIt6+6U+S8UJWA=";
nativeBuildInputs = [ makeWrapper ];
installPhase = let
gitProperties = writeText "git.properties" (builtins.toJSON {
"git.build.version" = version;
"git.branch" = "none";
"git.build.time" = "1970-01-01T00:00:00+0000";
"git.commit.id.abbrev" = "none";
"git.commit.id.describe" = "none";
});
in ''
mkdir -p $out/lib/server/target/lib
cp -r server/target/lib/* $out/lib/server/target/lib/
cp server/target/openrefine-*-server.jar $out/lib/server/target/lib/
mkdir -p $out/lib/webapp
cp -r main/webapp/{WEB-INF,modules} $out/lib/webapp/
(
cd extensions
for ext in * ; do
if [ -d "$ext/module" ] ; then
mkdir -p "$out/lib/webapp/extensions/$ext"
cp -r "$ext/module" "$out/lib/webapp/extensions/$ext/"
fi
done
)
cp ${gitProperties} $out/lib/webapp/WEB-INF/classes/git.properties
mkdir -p $out/etc
cp refine.ini $out/etc/
mkdir -p $out/bin
cp refine $out/bin/
'';
preFixup = ''
find $out -name '*.java' -delete
sed -i -E 's|^(butterfly\.modules\.path =).*extensions.*$|\1 '"$out/lib/webapp/extensions|" \
$out/lib/webapp/WEB-INF/butterfly.properties
sed -i 's|^cd `dirname \$0`$|cd '"$out/lib|" $out/bin/refine
cat >> $out/etc/refine.ini <<EOF
REFINE_WEBAPP='$out/lib/webapp'
REFINE_LIB_DIR='$out/lib/server/target/lib'
JAVA_HOME='${jdk.home}'
# non-headless mode tries to launch a browser, causing a
# number of purity problems
JAVA_OPTIONS='-Drefine.headless=true'
EOF
wrapProgram $out/bin/refine \
--prefix PATH : '${lib.makeBinPath [ jdk curl ]}' \
--set-default REFINE_INI_PATH "$out/etc/refine.ini"
'';
passthru = {
inherit npmPkg;
updateScript = ./update.sh;
};
meta = with lib; {
description = "Power tool for working with messy data and improving it";
homepage = "https://openrefine.org";
license = licenses.bsd3;
maintainers = with maintainers; [ ris ];
sourceProvenance = with sourceTypes; [
fromSource
binaryBytecode # maven dependencies
];
broken = stdenv.isDarwin; # builds, doesn't run
};
}
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix nix-update
set -euxo pipefail
nix-update "${UPDATE_NIX_ATTR_PATH}"
nix-update "${UPDATE_NIX_ATTR_PATH}.npmPkg" --version=skip
FILE="$(nix-instantiate --eval -E 'with import ./. {}; (builtins.unsafeGetAttrPos "version" '"${UPDATE_NIX_ATTR_PATH}"').file' | tr -d '"')"
MVNHASH_OLD=$(nix-instantiate --eval . -A "${UPDATE_NIX_ATTR_PATH}.mvnHash" | tr -d '"')
MVNHASH_OLD_ESCAPED=$(echo "${MVNHASH_OLD}" | sed -re 's|[+]|\\&|g')
FAKEHASH=$(nix-instantiate --eval . -A "lib.fakeHash" | tr -d '"')
FAKEHASH_ESCAPED=$(echo "${FAKEHASH}" | sed -re 's|[+]|\\&|g')
sed -E -i "s|${MVNHASH_OLD_ESCAPED}|${FAKEHASH}|g" "${FILE}"
MVNHASH_NEW="$(nix-build . -A "${UPDATE_NIX_ATTR_PATH}" 2>&1 | tail -n10 | grep 'got:' | cut -d: -f2- | xargs echo || true)"
sed -E -i "s|${FAKEHASH_ESCAPED}|${MVNHASH_NEW}|g" "${FILE}"
@@ -109,6 +109,9 @@ let
nativeBuildInputs = [ copyDesktopItems makeWrapper wrapGAppsHook ];
buildInputs = [ gtk3 gnome.adwaita-icon-theme ];
# avoid double-wrapping
dontWrapGApps = true;
installPhase = ''
runHook preInstall
@@ -145,7 +148,9 @@ let
# GitKraken expects the CA bundle to be located in the bundled git directory. Since we replace it with
# the one from nixpkgs, which doesn't provide a CA bundle, we need to explicitly set its location at runtime
makeWrapper $out/share/${pname}/gitkraken $out/bin/gitkraken --set GIT_SSL_CAINFO "${cacert}/etc/ssl/certs/ca-bundle.crt"
makeWrapper $out/share/${pname}/gitkraken $out/bin/gitkraken \
--set GIT_SSL_CAINFO "${cacert}/etc/ssl/certs/ca-bundle.crt" \
"''${gappsWrapperArgs[@]}"
'';
};
@@ -3,13 +3,13 @@
buildKodiBinaryAddon rec {
pname = "inputstream-ffmpegdirect";
namespace = "inputstream.ffmpegdirect";
version = "20.5.0";
version = "unstable-20.5.0";
src = fetchFromGitHub {
owner = "xbmc";
repo = "inputstream.ffmpegdirect";
rev = "${version}-${rel}";
sha256 = "sha256-2Xa5q+o/AYDwG+JYeXTUfMTJk/kln16J8KRcXILNE6c=";
rev = rel;
sha256 = "sha256-+u28Wzp2TonL5jaa5WJUr9igR6KiaxizZAX9jqqBUns=";
};
extraBuildInputs = [ bzip2 zlib kodi.ffmpeg ];
+3 -13
View File
@@ -1,5 +1,4 @@
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper
, fetchpatch
, pkg-config, cmake, yasm, python3Packages
, libxcrypt, libgcrypt, libgpg-error, libunistring
, boost, avahi, lame
@@ -39,15 +38,15 @@ assert usbSupport -> !udevSupport; # libusb-compat-0_1 won't be used if udev is
assert gbmSupport || waylandSupport || x11Support;
let
kodiReleaseDate = "20230629";
kodiVersion = "20.2";
kodiReleaseDate = "20240109";
kodiVersion = "20.3";
rel = "Nexus";
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "${kodiVersion}-${rel}";
hash = "sha256-nNdBjqY9gkpv3g/hcyjWPENHFwOlxrKs2cT4IvRPuXs=";
hash = "sha256-OMm8WhTQiEZvu8jHOUp2zT4Xd4NU3svMobW2k8AAtNI=";
};
# see https://github.com/xbmc/xbmc/blob/${kodiVersion}-${rel}/tools/depends/target/ to get suggested versions for all dependencies
@@ -111,15 +110,6 @@ in stdenv.mkDerivation {
version = kodiVersion;
src = kodi_src;
patches = [
# Fix compatiblity with fmt 10.0 (from spdlog).
# Remove with the next release: https://github.com/xbmc/xbmc/pull/23453
(fetchpatch {
name = "Fix fmt10 compat";
url = "https://github.com/xbmc/xbmc/compare/acca69baa2eae65123e78ee2f77249181725ef5d...26c164a28cfd18ceef7a1f2bbba5bf8a4a5a750c.patch";
hash = "sha256-zMUparbQ8gfgeXj8W3MDmPi5OgLNz/zGCJINU7H6Rx0=";
})
];
buildInputs = [
gnutls libidn2 libtasn1 nasm p11-kit
libxml2 python3Packages.python
@@ -17,13 +17,13 @@
buildGoModule rec {
pname = "colima";
version = "0.6.7";
version = "0.6.8";
src = fetchFromGitHub {
owner = "abiosoft";
repo = pname;
rev = "v${version}";
hash = "sha256-7s/e/fV6azT26oeEJhh6PPcnI/cjpmEHf9TsZHspcwE=";
hash = "sha256-9mBjK+VArfsLfwRRIFn8kY2scAtvIjIMWX84Bi7MBvU=";
# We need the git revision
leaveDotGit = true;
postFetch = ''
@@ -35,7 +35,7 @@ buildGoModule rec {
nativeBuildInputs = [ installShellFiles makeWrapper ]
++ lib.optionals stdenv.isDarwin [ darwin.DarwinTools ];
vendorHash = "sha256-ET9n15+YK8ByodePztee6tKdFvvgk7jEKSUjRYSEpq8=";
vendorHash = "sha256-QS0TwXI2Md+PXmT2UrzCMQoHRj+wjTSjWPv9CeVzyFU=";
# disable flaky Test_extractZones
# https://hydra.nixos.org/build/212378003/log
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "docker-slim";
version = "1.40.10";
version = "1.40.11";
src = fetchFromGitHub {
owner = "slimtoolkit";
repo = "slim";
rev = version;
hash = "sha256-NpQyIOR8FkOgPHi3UwBAEpouJF/eaSAWD2zQ5dj+gAg=";
hash = "sha256-X+1euWp4W53axbiBpL82bUPfod/JNhGVGWgOqKyhz6A=";
};
vendorHash = null;
@@ -38,20 +38,20 @@ let
singularity = callPackage
(import ./generic.nix rec {
pname = "singularity-ce";
version = "4.1.0";
version = "4.1.1";
projectName = "singularity";
src = fetchFromGitHub {
owner = "sylabs";
repo = "singularity";
rev = "refs/tags/v${version}";
hash = "sha256-3l65rbMv+E/bqi2+zFbL2/94f/K6Ampo6p3gFL+0ZJk=";
hash = "sha256-BKuo+W75wsK8HFB+5CtKPqR4nDw167pAAiuISOjML7k=";
};
# Update by running
# nix-prefetch -E "{ sha256 }: ((import ./. { }).singularity.override { vendorHash = sha256; }).goModules"
# at the root directory of the Nixpkgs repository
vendorHash = "sha256-S4glteidPrC92z8zh0Uuciy0HhG9fx0kEAiNwB4F2vM=";
vendorHash = "sha256-Hg32YtXUFQI7OslW3E3QpxCiypwaK8BDAl3YAM6kMnw=";
# Do not build conmon and squashfuse from the Git submodule sources,
# Use Nixpkgs provided version
+2 -2
View File
@@ -12,13 +12,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "bngblaster";
version = "0.8.34";
version = "0.8.35";
src = fetchFromGitHub {
owner = "rtbrick";
repo = "bngblaster";
rev = finalAttrs.version;
hash = "sha256-oxmDg3en7mgTmhnvpkBtBJ6o/iF+GZ3Td3V6jlWMBZc=";
hash = "sha256-zljpApecUKtdU1HqLmeREeL+rmDUMhBWnycgmENlt1o=";
};
nativeBuildInputs = [
+51
View File
@@ -0,0 +1,51 @@
{ lib
, stdenv
, fetchFromGitHub
, SDL2
, cmake
, makeWrapper
}:
stdenv.mkDerivation {
pname = "CroMagRally";
version = "3.0.0-unstable-2023-05-21";
src = fetchFromGitHub {
owner = "jorio";
repo = "CroMagRally";
rev = "5983de40c180b50bbbec8b04f5f5f1ceccd1901b";
hash = "sha256-QbUkrNY7DZQts8xaimE83yXpCweKvnn0uDb1CawLfEE=";
fetchSubmodules = true;
};
nativeBuildInputs = [
cmake
makeWrapper
];
buildInputs = [
SDL2
];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
installPhase = ''
runHook preInstall
mkdir -p "$out/share/CroMagRally"
mv Data ReadMe.txt "$out/share/CroMagRally/"
install -Dm755 {.,$out/bin}/CroMagRally
wrapProgram $out/bin/CroMagRally --chdir "$out/share/CroMagRally"
install -Dm644 $src/packaging/cromagrally.desktop $out/share/applications/cromagrally.desktop
install -Dm644 $src/packaging/cromagrally-desktopicon.png $out/share/pixmaps/cromagrally-desktopicon.png
runHook postInstall
'';
meta = with lib; {
description = "A port of Cro-Mag Rally, a 2000 Macintosh game by Pangea Software, for modern operating systems";
homepage = "https://github.com/jorio/CroMagRally";
changelog = "https://github.com/jorio/CroMagRally/releases";
license = licenses.cc-by-sa-40;
maintainers = with maintainers; [ lux ];
platforms = platforms.linux;
mainProgram = "CroMagRally";
};
}
+2 -2
View File
@@ -6,13 +6,13 @@
buildGoModule rec {
pname = "eksctl";
version = "0.169.0";
version = "0.170.0";
src = fetchFromGitHub {
owner = "weaveworks";
repo = pname;
rev = version;
hash = "sha256-WVYEjmuSTIe6LVeXJD7fu1TCrZfH4Cs1T/jfqKNJhM4=";
hash = "sha256-aYkydocr5PDpxUYO4Cee2AbNQzBgjJRdRo3lonQRPy8=";
};
vendorHash = "sha256-cuLzn0OZ5VC+RWGsJ8DCdJN8wm0DrsjH55K/cnyuqB8=";
+2 -2
View File
@@ -6,13 +6,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "fast-float";
version = "6.0.0";
version = "6.1.0";
src = fetchFromGitHub {
owner = "fastfloat";
repo = "fast_float";
rev = "v${finalAttrs.version}";
hash = "sha256-yKHmturouLJkBAdIWoi8vhmipP6jxAwyA+YoSOl6xPU=";
hash = "sha256-17GFUHm9FQAf3egqcQwQWqEgs2vH8K17GH2V1/DP8S0=";
};
nativeBuildInputs = [
+8
View File
@@ -56,6 +56,14 @@ stdenv.mkDerivation (finalAttrs: {
patch = "Disable_wxWidgets_uncaught_exception_handling.patch";
hash = "sha256-Fem7eDDKSqPFU/t12Jco8OmYC8FM9JgB4/QVy/ouvbI=";
})
# Fix gui freeze
(fetchDebianPatch {
pname = "freefilesync";
version = "13.3";
debianRevision = "1";
patch = "revert_buggy_gtk3_change_in_12.1.patch";
hash = "sha256-eqush3zXxypQUxtO5110GoOJ30F5LZcF8XIC/Y8/fgM=";
})
];
nativeBuildInputs = [
+72
View File
@@ -0,0 +1,72 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qt6
, fmt
, shaderc
, vulkan-headers
, wayland
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gpt4all-chat";
version = "2.6.2";
src = fetchFromGitHub {
fetchSubmodules = true;
hash = "sha256-BQE4UQEOOUAh0uGwQf7Q9D30s+aoGFyyMH6EI/WVIkc=";
owner = "nomic-ai";
repo = "gpt4all";
rev = "v${finalAttrs.version}";
};
sourceRoot = "${finalAttrs.src.name}/gpt4all-chat";
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace 'set(CMAKE_INSTALL_PREFIX ''${CMAKE_BINARY_DIR}/install)' ""
'';
nativeBuildInputs = [
cmake
qt6.wrapQtAppsHook
];
buildInputs = [
fmt
qt6.qtwayland
qt6.qtquicktimeline
qt6.qtsvg
qt6.qthttpserver
qt6.qtwebengine
qt6.qt5compat
shaderc
vulkan-headers
wayland
];
cmakeFlags = [
"-DKOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF"
"-DKOMPUTE_OPT_DISABLE_VULKAN_VERSION_CHECK=ON"
"-DKOMPUTE_OPT_USE_BUILT_IN_FMT=OFF"
];
postInstall = ''
rm -rf $out/include
rm -rf $out/lib/*.a
mv $out/bin/chat $out/bin/${finalAttrs.meta.mainProgram}
install -m 444 -D $src/gpt4all-chat/flatpak-manifest/io.gpt4all.gpt4all.desktop $out/share/applications/io.gpt4all.gpt4all.desktop
install -m 444 -D $src/gpt4all-chat/icons/logo.svg $out/share/icons/hicolor/scalable/apps/io.gpt4all.gpt4all.svg
substituteInPlace $out/share/applications/io.gpt4all.gpt4all.desktop \
--replace 'Exec=chat' 'Exec=${finalAttrs.meta.mainProgram}'
'';
meta = {
description = "A free-to-use, locally running, privacy-aware chatbot. No GPU or internet required";
homepage = "https://github.com/nomic-ai/gpt4all-chat";
license = lib.licenses.mit;
mainProgram = "gpt4all-chat";
maintainers = with lib.maintainers; [ drupol polygon ];
};
})
+1 -1
View File
@@ -58,6 +58,6 @@ stdenv.mkDerivation {
description = "Code completion LSP for Helix with support for Copilot + OpenAI";
maintainers = with maintainers; [ happysalada ];
license = with licenses; [ mit ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
};
}
+4 -3
View File
@@ -1,6 +1,7 @@
{
"version": "0.15",
"srcHash": "sha256-95NnV//DesXQB1ttvOylu1DAnmRcvTUpZzK1NTZtuVE=",
"version": "0.25",
"srcHash": "sha256-EZ8waJiLHfButE/rI0EEwZ3VF5dwdgFQ4FBLebhyP2o=",
"x86_64-linux": "sha256-h6wGkOfSbB8Rwm7eFvcowDdH1RdS6eFaxgf+SdYvYt8=",
"x86_64-darwin": "sha256-45RFY4Kqt5ooMOY75oJcSUZdkERzpyIMQkni4NJ/s1Y="
"x86_64-darwin": "sha256-y8ETFWSg+czhyslKc7muTFRu2q+7eeVyZ7Tea/VCUWY=",
"aarch64-darwin": "sha256-y8ETFWSg+czhyslKc7muTFRu2q+7eeVyZ7Tea/VCUWY="
}
+2 -2
View File
@@ -1,7 +1,7 @@
{ lib
, fetchFromGitHub
, makeWrapper
, jre
, jre_headless
, maven
, writeScript
, lemminx
@@ -67,7 +67,7 @@ maven.buildMavenPackage rec {
install -Dm644 org.eclipse.lemminx/target/org.eclipse.lemminx-uber.jar \
$out/share
makeWrapper ${jre}/bin/java $out/bin/lemminx \
makeWrapper ${jre_headless}/bin/java $out/bin/lemminx \
--add-flags "-jar $out/share/org.eclipse.lemminx-uber.jar"
runHook postInstall
+5
View File
@@ -1,6 +1,7 @@
{ lib
, rustPlatform
, fetchFromGitHub
, nixosTests
}:
rustPlatform.buildRustPackage rec {
@@ -16,6 +17,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-yZ4UAx95f/cjeObBtzpiYtwDjgOgkKnD64yGe6ouVGw=";
passthru.tests = {
inherit (nixosTests) nvmetcfg;
};
meta = with lib; {
description = "NVMe-oF Target Configuration Utility for Linux";
homepage = "https://github.com/vifino/nvmetcfg";
+2 -2
View File
@@ -6,13 +6,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "oelint-adv";
version = "4.1.0";
version = "4.1.1";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_adv";
hash = "sha256-odejUprYMdKWrm87oRVuJKwLWEL/XuLfQtfjVKK4VTE=";
hash = "sha256-uHFvVRFI7JZQ8vSOtXTuz7Jivxd8kPQW6AtiQIG3Ujo=";
};
propagatedBuildInputs = with python3.pkgs; [
+28
View File
@@ -0,0 +1,28 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "pio";
version = "0.4.0";
src = fetchFromGitHub {
owner = "siiptuo";
repo = "pio";
rev = version;
hash = "sha256-iR6G+G1UOT1ThLI3yhz3na1HmN6z2qUiI6NSKT0krtY=";
};
cargoHash = "sha256-jVOpk+Z3yEEoDexvxT9I0aVHJKVq47y8km/9ltoqrDA=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Accelerate
];
meta = with lib; {
description = "Utility to compress image files while maintaining quality";
homepage = "https://github.com/siiptuo/pio";
changelog = "https://github.com/siiptuo/pio/blob/${version}/CHANGELOG.md";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ liassica ];
mainProgram = "pio";
};
}
+3 -3
View File
@@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl";
version = "unstable-2024-01-20";
version = "unstable-2024-02-02";
pyproject = true;
src = fetchFromGitHub {
owner = "antmicro";
repo = "dts2repl";
rev = "bd09db556fa762cb1a4857d874545957d91b0010";
hash = "sha256-bGDM23PuON4fx4pNCNVYw2bN0tIWjmwZqghhksAIVGA=";
rev = "84b14adc21fcd12b9772f69f9dcf702133fa6551";
hash = "sha256-xFMkYjSZajQSflsTF1BtARUZWbnAvBRfN4gK3RAgeIU=";
};
nativeBuildInputs = [
+2 -2
View File
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "spicetify-cli";
version = "2.30.0";
version = "2.31.0";
src = fetchFromGitHub {
owner = "spicetify";
repo = "spicetify-cli";
rev = "v${version}";
hash = "sha256-kQcAn5/NzzH+i24Ss6GaQEycazraE03R4tqMhxKROcY=";
hash = "sha256-uaGZWLrWWzf6KlQ/rW3XQNdE0a0QVuismhzIrgfAtNA=";
};
vendorHash = "sha256-T7aUjzb69ZAnpLCpHv5C6ZyUktfC8Zt94rIju8QplWI=";
+62
View File
@@ -0,0 +1,62 @@
{ lib
, blueprint-compiler
, cargo
, desktop-file-utils
, fetchFromGitLab
, glib
, gtk4
, libadwaita
, meson
, ninja
, pkg-config
, rustPlatform
, rustc
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "switcheroo";
version = "2.0.1";
src = fetchFromGitLab {
owner = "adhami3310";
repo = "Switcheroo";
rev = "v${finalAttrs.version}";
hash = "sha256-3JlI0Co3yuD6fKaKlmz1Vg0epXABO+7cRvm6/PgbGUE=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
src = finalAttrs.src;
name = "switcheroo-${finalAttrs.version}";
hash = "sha256-wC57VTJGiN2hDL2Z9fFw5H9c3Txqh30AHfR9o2DbcSk=";
};
nativeBuildInputs = [
blueprint-compiler
cargo
desktop-file-utils
meson
ninja
pkg-config
rustPlatform.cargoSetupHook
rustc
wrapGAppsHook4
];
buildInputs = [
glib
gtk4
libadwaita
];
meta = with lib; {
changelog = "https://gitlab.com/adhami3310/Switcheroo/-/releases/v${finalAttrs.version}";
description = "An app for converting images between different formats";
homepage = "https://gitlab.com/adhami3310/Switcheroo";
license = licenses.gpl3Plus;
mainProgram = "switcheroo";
maintainers = with maintainers; [ michaelgrahamevans ];
platforms = platforms.linux;
};
})
+2 -2
View File
@@ -10,13 +10,13 @@
stdenvNoCC.mkDerivation rec {
pname = "kora-icon-theme";
version = "1.5.9";
version = "1.6.0";
src = fetchFromGitHub {
owner = "bikass";
repo = "kora";
rev = "v${version}";
sha256 = "sha256-ZXAS22Oe6C34DR1BfGmCGr1qh9mu1PCY5IQWxrm1EfY=";
sha256 = "sha256-YKdqV41HlQMvkyWoWbOCMUASshnEDnXtxzdmJdTEQGw=";
};
nativeBuildInputs = [
+5 -3
View File
@@ -1,12 +1,12 @@
{ lib, stdenvNoCC, fetchurl }:
{ lib, stdenvNoCC, fetchurl, directoryListingUpdater }:
stdenvNoCC.mkDerivation rec {
pname = "wireless-regdb";
version = "2023.09.01";
version = "2024.01.23";
src = fetchurl {
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
sha256 = "sha256-JtTCpyfMWSObhHNarYVrfH0LBOMKpcI1xPf0f18FNJE=";
hash = "sha256-yKYcms92+n60I56J9kDe4+hwmNn2m001GMnGD8bSDFU=";
};
dontBuild = true;
@@ -16,6 +16,8 @@ stdenvNoCC.mkDerivation rec {
"PREFIX="
];
passthru.updateScript = directoryListingUpdater { };
meta = with lib; {
description = "Wireless regulatory database for CRDA";
homepage = "http://wireless.kernel.org/en/developers/Regulatory/";
+3 -3
View File
@@ -2,7 +2,7 @@
let
themeName = "Dracula";
version = "unstable-2024-01-24";
version = "unstable-2024-01-31";
in
stdenvNoCC.mkDerivation {
pname = "dracula-theme";
@@ -11,8 +11,8 @@ stdenvNoCC.mkDerivation {
src = fetchFromGitHub {
owner = "dracula";
repo = "gtk";
rev = "ed505cce4b61831765a128ebb544edf040f57be5";
hash = "sha256-jPZabinmQMCtBPj/P3vuqb3OCUbx9OAuCoar7ZnegPQ=";
rev = "cd11595a2301a6f47a14b25992783ef199c44311";
hash = "sha256-i2jO9103uwjNawvDBrHOa18svwCI6NsAVybnUaJBLt0=";
};
propagatedUserEnvPkgs = [
@@ -37,14 +37,14 @@
stdenv.mkDerivation (finalAttrs: {
pname = "budgie-desktop";
version = "10.9";
version = "10.9.1";
src = fetchFromGitHub {
owner = "BuddiesOfBudgie";
repo = "budgie-desktop";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-yyuLBzTDEQH7rBOWTYBvS+3x2mlbF34f7U7oOUO8BeA=";
hash = "sha256-H+J/zFUjiXbr5ynDkkjrRsEbyO4LPOhqe8DdG60ikRw=";
};
patches = [
+2 -2
View File
@@ -12,13 +12,13 @@ let
inherit (llvmPackages) stdenv;
in stdenv.mkDerivation rec {
pname = "odin";
version = "dev-2024-01";
version = "dev-2024-02";
src = fetchFromGitHub {
owner = "odin-lang";
repo = "Odin";
rev = version;
hash = "sha256-ufIpnibY7rd76l0Mh+qXYXkc8W3cuTJ1cbmj4SgSUis=";
hash = "sha256-v9A0+kgREXALhnvFYWtE0+H4L7CYnyje+d2W5+/ZvHA=";
};
nativeBuildInputs = [
@@ -83,13 +83,13 @@ let
# perSystemReleases :: List Package
allReleases = lib.pipe releaseSets
[
(builtins.attrValues)
(lib.attrValues)
(lists.flatten)
(builtins.groupBy (p: lib.versions.majorMinor p.version))
(builtins.mapAttrs (_: builtins.sort preferable))
(builtins.mapAttrs (_: lib.take 1))
(builtins.attrValues)
(builtins.concatMap lib.trivial.id)
(lib.groupBy (p: lib.versions.majorMinor p.version))
(lib.mapAttrs (_: builtins.sort preferable))
(lib.mapAttrs (_: lib.take 1))
(lib.attrValues)
(lib.concatMap lib.trivial.id)
];
newest = builtins.head (builtins.sort preferable allReleases);
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "luau";
version = "0.610";
version = "0.611";
src = fetchFromGitHub {
owner = "luau-lang";
repo = "luau";
rev = version;
hash = "sha256-5jgEoQk1UfzHHzj+QpaIjMNTSoDZpMkNl+YzJEoV9fc=";
hash = "sha256-gtY/dv+9+1OcxPaU/r01vgMDyfxdB36wgQ7WEGKW17c=";
};
nativeBuildInputs = [ cmake ];
@@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "httplib";
version = "0.15.0";
version = "0.15.2";
src = fetchFromGitHub {
owner = "yhirose";
repo = "cpp-httplib";
rev = "v${version}";
hash = "sha256-HV2RiWu4rt3rau/flcha500R67oGwbmyEPPnklpAvgY=";
hash = "sha256-DNktnRckqiZf0EQ96LfweDvBNgcX8u3Gry1LCs/Qj74=";
};
nativeBuildInputs = [ cmake ];
@@ -15,13 +15,13 @@
stdenv.mkDerivation rec {
pname = "neatvnc";
version = "0.7.1";
version = "0.7.2";
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bRlz5RW+NUSTgzjRM9alZjSrzmF8/7p4IIXqK/HEcJo=";
sha256 = "sha256-S2LMD15MYd/t/Z8B1OQ0hVrZQLR6Gf4LB45mhmDwblg=";
};
strictDeps = true;
@@ -7,11 +7,11 @@
}:
let
suitesparseVersion = "7.5.1";
suitesparseVersion = "7.6.0";
in
stdenv.mkDerivation {
pname = "mongoose";
version = "3.3.1";
version = "3.3.2";
outputs = [ "bin" "out" "dev" ];
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
owner = "DrTimothyAldenDavis";
repo = "SuiteSparse";
rev = "v${suitesparseVersion}";
hash = "sha256-6eC26rag9kZ1E4qJ5KY/dLXGld+EHP2OUpyikjXQhQk=";
hash = "sha256-zZXbUNXxVi4mpI4j4GjyVYraoPFWcuep9q5jl1XdqEo=";
};
nativeBuildInputs = [
@@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "aiohomekit";
version = "3.1.3";
version = "3.1.4";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -29,7 +29,7 @@ buildPythonPackage rec {
owner = "Jc2k";
repo = "aiohomekit";
rev = "refs/tags/${version}";
hash = "sha256-LQplvI6P42dI2vIaWyL50cj9k543qeUoHUogDkBaPvI=";
hash = "sha256-hZhbmEEqmhvoxGD4hvy4SDQWG5Xk1cmzFDSNa742iMs=";
};
nativeBuildInputs = [
@@ -11,14 +11,14 @@
buildPythonPackage rec {
pname = "awkward-cpp";
version = "28";
version = "29";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-ME67+QDFdzaP08SRpN3+aleQvex2orBr3MRygXYmRZI=";
hash = "sha256-r0t4kbeLkDFxvONB6I0q3YQFn6Fn8I6KmTAFmZ0bnRs=";
};
nativeBuildInputs = [
@@ -41,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "CPU kernels and compiled extensions for Awkward Array";
homepage = "https://github.com/scikit-hep/awkward";
changelog = "https://github.com/scikit-hep/awkward/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
@@ -24,7 +24,7 @@
buildPythonPackage rec {
pname = "awkward";
version = "2.5.2";
version = "2.6.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -33,7 +33,7 @@ buildPythonPackage rec {
owner = "scikit-hep";
repo = "awkward";
rev = "refs/tags/v${version}";
hash = "sha256-n50REyU/aWx6rj+9TZ52S3sZS25/hIaNfOe+AQGaXVA=";
hash = "sha256-rSEGQqCbmB1IWm6gHjYEO1wiTUPlz1s/SwQ5BiI1YRc=";
};
nativeBuildInputs = [
@@ -11,6 +11,7 @@
, torch
, scipy
, pytestCheckHook
, pythonRelaxDepsHook
}:
buildPythonPackage rec {
@@ -26,6 +27,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
setuptools-scm
wheel
@@ -40,6 +42,10 @@ buildPythonPackage rec {
torch
];
pythonRelaxDeps = [
"linear-operator"
];
checkInputs = [
pytestCheckHook
];
@@ -8,7 +8,7 @@
let
pname = "comm";
version = "0.2.0";
version = "0.2.1";
in
buildPythonPackage {
inherit pname version;
@@ -18,7 +18,7 @@ buildPythonPackage {
owner = "ipython";
repo = "comm";
rev = "refs/tags/v${version}";
hash = "sha256-bErZNTm0spO0A/Lc8kq5u7sB0FMXm/WMWtFbCNGJVXE=";
hash = "sha256-iyO3q9E2lYU1rMYTnsa+ZJYh+Hq72LEvE9ynebFIBUk=";
};
nativeBuildInputs = [
@@ -18,12 +18,12 @@
buildPythonPackage rec {
pname = "correctionlib";
version = "2.4.0";
version = "2.5.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bQKcS8vktvD62zvSeaBtoJw36TSpo0gEpKm0HI3AuXg=";
hash = "sha256-H8QCdU6piBdqJEJOGVbsz+6eyMhFVuwTpIHKUoKaf4A=";
};
nativeBuildInputs = [
@@ -62,6 +62,5 @@ buildPythonPackage rec {
homepage = "https://cms-nanoaod.github.io/correctionlib/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ veprbl ];
broken = versionAtLeast pydantic.version "2";
};
}
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "dask-awkward";
version = "2024.1.2";
version = "2024.2.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "dask-contrib";
repo = "dask-awkward";
rev = "refs/tags/${version}";
hash = "sha256-5UyB/qFfQPLA1N3L6NipW6+FzI0x6hZXu6ickAktlYw=";
hash = "sha256-oBGja1dt9UbHym0c5K/pAMXNErryr3u6IhDRuhwTvG0=";
};
pythonRelaxDeps = [
@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "dask-histogram";
version = "2023.10.0";
format = "pyproject";
version = "2024.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dask-contrib";
repo = "dask-histogram";
rev = "refs/tags/${version}";
hash = "sha256-ugAqNdvCROCCXURwsGLpnl/lBEAremvTI7MVa/TWt6c=";
hash = "sha256-YU5i7mGOZxj/pvpkZLwohoSuHJgS3zkHYVuj1Vtyrj4=";
};
nativeBuildInputs = [
@@ -41,6 +41,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Histograms with task scheduling";
homepage = "https://dask-histogram.readthedocs.io/";
changelog = "https://github.com/dask-contrib/dask-histogram/releases/tag/${version}";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ veprbl ];
};
@@ -38,7 +38,7 @@
buildPythonPackage rec {
pname = "dask";
version = "2023.12.0";
version = "2024.1.1";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -47,7 +47,7 @@ buildPythonPackage rec {
owner = "dask";
repo = "dask";
rev = "refs/tags/${version}";
hash = "sha256-LMd55s8LT4m6Ym+LmXb4TKPnZ0jMkNBfcPJxmgruMDM=";
hash = "sha256-L8bRh2bx36CYrAFXYJF67rCeCRfm5ufhTkMFRJo0yYo=";
};
nativeBuildInputs = [
@@ -17,7 +17,6 @@
, dvc-studio-client
, dvc-task
, fetchFromGitHub
, fetchpatch
, flatten-dict
, flufl_lock
, funcy
@@ -67,7 +66,7 @@ buildPythonPackage rec {
owner = "iterative";
repo = "dvc";
rev = "refs/tags/${version}";
hash = "sha256-i9hIsn5rybDaWSzAFKazwB5wgpL0DAyUrqnxqCGLiR0=";
hash = "sha256-9JS8N4BWikmXoo5TtpUD5El2vHST80NEOBdxkHfK4ME=";
};
pythonRelaxDeps = [
@@ -14,7 +14,7 @@
buildPythonPackage rec {
pname = "ezyrb";
version = "1.3.0.post2401";
version = "1.3.0.post2402";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "mathLab";
repo = "EZyRB";
rev = "refs/tags/v${version}";
hash = "sha256-mNpW9RSli7af0fHLh+cmBrOQaO0wlGOrcLigefMR2ww=";
hash = "sha256-MiFNTz3vrN4rMHK7e4ntE35wzgnPt6yczCv7XDcUlO8=";
};
propagatedBuildInputs = [
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "galois";
version = "0.3.7";
version = "0.3.8";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
owner = "mhostetter";
repo = "galois";
rev = "refs/tags/v${version}";
hash = "sha256-dWYnD+Byh0orRg20/nhu8ILooFBeHysxQ403boDVqYk=";
hash = "sha256-Nfr9gD2FLZ+KvHh1mcpReUWnzFr/NxpvperzZPoFeT4=";
};
nativeBuildInputs = [
@@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "google-cloud-bigquery-datatransfer";
version = "3.13.0";
version = "3.14.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-J6hFyyJgWlEsBc4owokNLvl61O38mBevVVpz2AJOw7o=";
hash = "sha256-DZDp/aRhIe2bBcn8BVA8jwmDaUrbHAMMRG0LixuvGl0=";
};
propagatedBuildInputs = [
@@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "google-cloud-secret-manager";
version = "2.17.0";
version = "2.18.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-glTilgwGqNyRrqw8iUr7oIk6Z0WC8ODs/CL4lOYXPC8=";
hash = "sha256-Tkmb0z/3rv8nG9Z0h+IdVAQpeobcSHPuhh1jewGzC04=";
};
propagatedBuildInputs = [
@@ -13,14 +13,14 @@
buildPythonPackage rec {
pname = "google-cloud-speech";
version = "2.23.0";
version = "2.24.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-H4aDIHCF3cpsXgZIly+KBik30w5zqlVSDwgPSVMse/8=";
hash = "sha256-Z7x4xfCbeRPoCbinCrTwIAp9JIvfavFvA1c4/a5UbHQ=";
};
nativeBuildInputs = [
@@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "hahomematic";
version = "2024.2.0";
version = "2024.2.1";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "danielperna84";
repo = "hahomematic";
rev = "refs/tags/${version}";
hash = "sha256-/cs1wyz3v9dLMAAgd0ipC7Z56ZzFQEBq8oqvousgr+U=";
hash = "sha256-Q9cuazn07LCzCMkhnNl/h6QxrFBv4fybMaDi8zN7jy0=";
};
__darwinAllowLocalNetworking = true;
@@ -4,33 +4,22 @@
, fetchPypi
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "insteon-frontend-home-assistant";
version = "0.3.5-1";
format = "pyproject";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
hash = "sha256-R+P4pgKbLvf0mwpSDoujCvlJe/yS+nvSJ7ewLVOOg/0=";
hash = "sha256-NZwnx8tlXnsVCk4nvNjOg3cjSr2CnjqWcZG7xFTC2wA=";
};
patches = [
# https://github.com/pyinsteon/insteon-panel/pull/33
(fetchpatch {
name = "unpin-setuptools.patch";
url = "https://github.com/pyinsteon/insteon-panel/commit/2297eb05668907edd03633f244e5876990e340c7.patch";
hash = "sha256-kTu1+IwDrcdqelyK/vfhxw8MQBis5I1jag7YTytKQhs=";
})
];
nativeBuildInputs = [
setuptools
wheel
];
# upstream has no tests
@@ -22,14 +22,14 @@
buildPythonPackage rec {
pname = "ipykernel";
version = "6.28.0";
version = "6.29.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-acEUA9Jt5p3wIiWRb5FrN+pLmvQX2gqMgn+EMo2I5fM=";
hash = "sha256-td0wE8q3szDfcSiRyWzRq4aMJ6cVnmBvdiAV6b+M6z8=";
};
# debugpy is optional, see https://github.com/ipython/ipykernel/pull/767
@@ -1,32 +1,29 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchPypi
, pythonOlder
, setuptools
, ipython
, ipython-genutils
, pandas
, prettytable
, pytest
, sqlalchemy
, sqlparse
}:
buildPythonPackage rec {
pname = "ipython-sql";
version = "0.4.0";
format = "setuptools";
version = "0.5.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "catherinedevlin";
repo = "ipython-sql";
rev = "117764caf099d80100ed4b09fc004b55eed6f121";
hash = "sha256-ScQihsvRSnC7VIgy8Tzi1z4x6KIZo0SAeLPvHAVdrfA=";
src = fetchPypi {
inherit pname version;
hash = "sha256-PbPOf5qV369Dh2+oCxa9u5oE3guhIELKsT6fWW/P/b4=";
};
postPatch = ''
substituteInPlace setup.py --replace 'prettytable<1' prettytable
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
ipython
@@ -36,17 +33,8 @@ buildPythonPackage rec {
sqlparse
];
nativeCheckInputs = [ ipython pandas pytest ];
checkPhase = ''
runHook preCheck
# running with ipython is required because the tests use objects available
# only inside of ipython, for example the global `get_ipython()` function
ipython -c 'import pytest; pytest.main()'
runHook postCheck
'';
# pypi tarball has no tests
doCheck = false;
pythonImportsCheck = [ "sql" ];
@@ -25,7 +25,7 @@
buildPythonPackage rec {
pname = "jsonargparse";
version = "4.27.3";
version = "4.27.4";
pyproject = true;
disabled = pythonOlder "3.11";
@@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "omni-us";
repo = "jsonargparse";
rev = "refs/tags/v${version}";
hash = "sha256-ZhNop6Zo1uWJhX5XEkjTq3XcRw1WzFd6jrk5CpBGCwo=";
hash = "sha256-MzcFsH1PyDAnPBEELHLRKfD3TR01INDFIvHc1y3dbng=";
};
nativeBuildInputs = [
@@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "jupyter-lsp";
version = "2.2.1";
version = "2.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-sX+rbXD+g8iJawz/WSN2QAOCR8GWBWtDaEoJArap4Ps=";
hash = "sha256-JW0kYgVCrku6BKUPwfb/4ggJOgfY5pf+oKjRuMobfls=";
};
nativeBuildInputs = [
@@ -34,14 +34,14 @@
buildPythonPackage rec {
pname = "jupyter-server";
version = "2.12.4";
version = "2.12.5";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "jupyter_server";
inherit version;
hash = "sha256-QfSh5rkSzCSnxsaUhRs309hBKxgPQ9cjFf5CLLK4XMI=";
hash = "sha256-DttibJS6oigJvhMj+XcM8cAKlSsXCXWS5A0D5qOVFok=";
};
nativeBuildInputs = [
@@ -106,6 +106,8 @@ buildPythonPackage rec {
"test_example"
"test_example_info"
"test_load_resample"
# does not converge
"test_nnls_vector"
];
meta = with lib; {
@@ -3,10 +3,12 @@
, fetchFromGitHub
, jaxtyping
, pytestCheckHook
, pythonRelaxDepsHook
, scipy
, setuptools
, setuptools-scm
, torch
, typeguard
, wheel
}:
@@ -23,6 +25,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
pythonRelaxDepsHook
setuptools
setuptools-scm
wheel
@@ -32,6 +35,11 @@ buildPythonPackage rec {
jaxtyping
scipy
torch
typeguard
];
pythonRelaxDeps = [
"typeguard"
];
pythonImportsCheck = [ "linear_operator" ];
@@ -42,6 +50,7 @@ buildPythonPackage rec {
disabledTests = [
# flaky numerical tests
"test_matmul_matrix_broadcast"
"test_svd"
];
@@ -20,16 +20,16 @@
buildPythonPackage rec {
pname = "mmengine";
version = "0.10.1";
format = "setuptools";
version = "0.10.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "open-mmlab";
repo = pname;
repo = "mmengine";
rev = "refs/tags/v${version}";
hash = "sha256-PG6KSoM5VUyU84z66eZknQfMhS4YWAmyWCIIpRwUOpU=";
hash = "sha256-fKtPDdeKB3vX2mD+Tsicq8KOkPDSACzKK1XLyugdPQ4=";
};
propagatedBuildInputs = [
@@ -54,6 +54,12 @@ buildPythonPackage rec {
preCheck = ''
export HOME=$TMPDIR
''
# Otherwise, the backprop hangs forever. More precisely, this exact line:
# https://github.com/open-mmlab/mmengine/blob/02f80e8bdd38f6713e04a872304861b02157905a/tests/test_runner/test_activation_checkpointing.py#L46
# Solution suggested in https://github.com/pytorch/pytorch/issues/91547#issuecomment-1370011188
+ ''
export MKL_NUM_THREADS=1
'';
pythonImportsCheck = [
@@ -77,6 +83,14 @@ buildPythonPackage rec {
"test_lazy_import"
# AssertionError
"test_lazy_module"
# Require unpackaged aim
"test_experiment"
"test_add_config"
"test_add_image"
"test_add_scalar"
"test_add_scalars"
"test_close"
];
meta = with lib; {
@@ -0,0 +1,71 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# install_requires
, dnspython
, eventlet
, kombu
, mock
, packaging
, path
, pyyaml
, requests
, setuptools
, six
, werkzeug
, wrapt
}:
buildPythonPackage rec {
pname = "nameko";
version = "2.14.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-J1NXi7Tca5KAGuozTSkwuX37dEhucF7daRmDBqlGjIg=";
};
postPatch = ''
substituteInPlace setup.py --replace "path.py" "path"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
dnspython
eventlet
kombu
mock
packaging
path
pyyaml
requests
setuptools
six
werkzeug
wrapt
];
# tests depend on RabbitMQ being installed - https://nameko.readthedocs.io/en/stable/contributing.html#running-the-tests
# and most of the tests are network based
doCheck = false;
pythonImportsCheck = [
"nameko"
];
meta = with lib; {
description = "A microservices framework that lets service developers concentrate on application logic and encourages testability";
homepage = "https://www.nameko.io/";
changelog = "https://github.com/nameko/nameko/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ siddharthdhakane ];
};
}
@@ -32,14 +32,14 @@ let
};
in buildPythonPackage rec {
pname = "nbconvert";
version = "7.14.1";
version = "7.14.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-IMuhDgRI3Hazvr/hrfkjZj47mDONr3e5e0JRHvWohhg=";
hash = "sha256-p/iAj9TggkMWc6xThAAhjdRe/QdvvrB8xuWqWjpOlJ4=";
};
# Add $out/share/jupyter to the list of paths that are used to search for
@@ -16,14 +16,14 @@
buildPythonPackage rec {
pname = "notebook";
version = "7.0.6";
version = "7.0.7";
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-7GETsGUpAZ9/KHgZrwbJeiuvepWsIaj24yGSiY6fmlg=";
hash = "sha256-O8/wDBezrBQu9fQ21QY32TaydM+gtB9qwBdTY96bTgk=";
};
postPatch = ''
@@ -9,13 +9,13 @@
buildPythonPackage rec {
pname = "oelint-parser";
version = "3.0.2";
version = "3.1.0";
format = "setuptools";
src = fetchPypi {
inherit version;
pname = "oelint_parser";
hash = "sha256-8Gagk3ijAlmIp0MQwuJ2REIUcoTlvdNcCK9k2RY8DOA=";
hash = "sha256-uR90Af/3E8YVZ2ALSVFOkTr59iVw5NkLOnQBm4Us1vk=";
};
buildInputs = [ pip ];
@@ -2,7 +2,6 @@
, stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, fetchurl
, pythonOlder
, substituteAll
@@ -35,13 +34,13 @@
let
pname = "psycopg";
version = "3.1.15";
version = "3.1.17";
src = fetchFromGitHub {
owner = "psycopg";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-8M2Rm9AtOvZwZhKGuR96XiOOmllqcWAZJuEmUXxzsRw=";
hash = "sha256-Paq4Wkvv6d6+fNcvRO/yfj7OWCMygqccKIdfsohHUMM=";
};
patches = [
@@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "publicsuffixlist";
version = "0.10.0.20240201";
version = "0.10.0.20240203";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-8IAfr55UWsstyyoFr5KJWAtU1LnAguEAwUSWts/iK1o=";
hash = "sha256-+AbNJqI31yZsvBtFyIuCjVsUWH/gtvOg+L05NroYCW0=";
};
nativeBuildInputs = [
@@ -13,7 +13,7 @@
buildPythonPackage rec {
pname = "pycaption";
version = "2.2.2";
version = "2.2.3";
disabled = pythonOlder "3.8";
@@ -23,7 +23,7 @@ buildPythonPackage rec {
owner = "pbs";
repo = "pycaption";
rev = "refs/tags/${version}";
hash = "sha256-6c16S77K1UC7+rz8tF0tLlBspienhDbgSXhdJzkQZII=";
hash = "sha256-uPzeMuYoNgluXnwSMQE5lSkduBzwi8mP8K5cAKdTZUw=";
};
nativeBuildInputs = [
@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "pyngrok";
version = "7.0.5";
version = "7.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-YTe9n5cZLYQ9ghTOF8MHg/1d8iRElPHNnAQj0pnEjR4=";
hash = "sha256-M+yMx788hUfTmGX7gFyvUvd1fH/fK7tNWdFpiH3m2jA=";
};
nativeBuildInputs = [
@@ -13,8 +13,8 @@
buildPythonPackage rec {
pname = "python-homewizard-energy";
version = "4.1.1";
format = "pyproject";
version = "4.2.2";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -22,12 +22,12 @@ buildPythonPackage rec {
owner = "DCSBL";
repo = "python-homewizard-energy";
rev = "refs/tags/v${version}";
hash = "sha256-p7uwodjC+wTGrlKf4i4ZRTPg9Qh9krsmwPpWNdF6J4U=";
hash = "sha256-CNSZBH+D74Y71k7Ws0OlgN1/i/lWXlkz6MC3IXL5ycQ=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'version = "0.0.0"' 'version = "${version}"'
--replace-fail 'version = "0.0.0"' 'version = "${version}"'
'';
nativeBuildInputs = [
@@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "python-kasa";
version = "0.6.2";
version = "0.6.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "python-kasa";
repo = "python-kasa";
rev = "refs/tags/${version}";
hash = "sha256-ka7fVveqX61XGmX43S/eB939dfqoEDh8eX1cw7hGE7U=";
hash = "sha256-iCqJY3qkA3ZVXTCfxvQoaZsaqGui8PwKGAmLXKZgLJs=";
};
nativeBuildInputs = [
@@ -2,6 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, setuptools
, pyparsing
, matplotlib
, latex2mathml
@@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "schemdraw";
version = "0.17";
version = "0.18";
format = "pyproject";
disabled = pythonOlder "3.8";
@@ -22,9 +23,13 @@ buildPythonPackage rec {
owner = "cdelker";
repo = pname;
rev = version;
hash = "sha256-wa/IeNGZynU/xKwyFwebXcFaruhBFqGWsrZYaIEVa8Q=";
hash = "sha256-JJc3LA+fqB+2g7pPIZ8YMV921EyYpLZrHSJCYyYThZg=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
pyparsing
];
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, aiohttp
, ciso8601
, async-timeout
@@ -14,8 +15,8 @@
buildPythonPackage rec {
pname = "sense-energy";
version = "0.12.2";
format = "setuptools";
version = "0.12.3";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -23,14 +24,18 @@ buildPythonPackage rec {
owner = "scottbonline";
repo = "sense";
rev = "refs/tags/${version}";
hash = "sha256-OVFRM31LwHNeJUx+s/TN/1o4wvjMQEKaZEPI+y+S64s=";
hash = "sha256-aAPDYg5ttOAkKF5c1ft2apIQoReh4t22+78PtmLZNlI=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "{{VERSION_PLACEHOLDER}}" "${version}"
--replace-fail "{{VERSION_PLACEHOLDER}}" "${version}"
'';
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
aiohttp
async-timeout
@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "snakemake-interface-common";
version = "1.15.2";
version = "1.15.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "snakemake";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-f4C/g2h6W72q1XQMDm/RvnRcOSPWyEMuZXqkVEY7S70=";
hash = "sha256-MiwdNr8+xX5oD1ilhDDhJcf4wWnfkayDMcnDyjYSWlo=";
};
nativeBuildInputs = [
@@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "tesla-fleet-api";
version = "0.2.3";
version = "0.2.5";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = "Teslemetry";
repo = "python-tesla-fleet-api";
rev = "refs/tags/v${version}";
hash = "sha256-sijFbwHRgTQXurg0bl5vH8NIGb2pR9XIQod7PJ6/rvY=";
hash = "sha256-zQPaOmSGqOeJ5E+m60g4ftXWI9woTxblJjRIocphR5E=";
};
nativeBuildInputs = [
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "teslajsonpy";
version = "3.9.9";
version = "3.9.10";
format = "pyproject";
disabled = pythonOlder "3.7";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "zabuldon";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-9ySUgRz1Zp0tkHCEkDcygm97mji4mjA5ltrriP9zAiQ=";
hash = "sha256-DNac9rrHJkFWlYRLvDB49kjmJV2EMvs5Y2ndSGY7uvk=";
};
nativeBuildInputs = [
@@ -13,16 +13,16 @@
buildPythonPackage rec {
pname = "timezonefinder";
version = "6.2.0";
format = "pyproject";
version = "6.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "jannikmi";
repo = pname;
repo = "timezonefinder";
rev = "refs/tags/${version}";
hash = "sha256-n6TcTezu5seKy34KDlzGikAVaqAud00gxywwJA3MaWM=";
hash = "sha256-6hcReAzqTp4Od/PJN/W1uz4VS129yMFqQYznbsC/TRY=";
};
nativeBuildInputs = [
@@ -42,11 +42,6 @@ buildPythonPackage rec {
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'numpy = "^1.22"' 'numpy = "*"'
'';
pythonImportsCheck = [
"timezonefinder"
];

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