Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-09-17 18:01:15 +00:00 committed by GitHub
commit f2681f8bd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
114 changed files with 526 additions and 343 deletions

View file

@ -127,7 +127,7 @@ in {
WorkingDirectory = "/var/lib/${cfg.stateDirectoryName}"; WorkingDirectory = "/var/lib/${cfg.stateDirectoryName}";
DynamicUser = true; DynamicUser = true;
PrivateTmp = true; PrivateTmp = true;
ExecStart = "${pkgs.nodejs}/bin/node ${pkgs.wiki-js}/server"; ExecStart = "${pkgs.nodejs-16_x}/bin/node ${pkgs.wiki-js}/server";
}; };
}; };
}; };

View file

@ -7,16 +7,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "ncspot"; pname = "ncspot";
version = "0.11.0"; version = "0.11.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hrkfdn"; owner = "hrkfdn";
repo = "ncspot"; repo = "ncspot";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-mtveGRwadcct9R8CxLWCvT9FamK2PnicpeSvL4iT4oE="; sha256 = "sha256-q4jOfcU2sNKISgO9vX2Rao2JljiYzWwB3WWMIvy8rII=";
}; };
cargoSha256 = "sha256-JqHJY91q2vm0x819zUkBBAObpnXN5aPde8m5UJ2NeNY="; cargoSha256 = "sha256-f8yo60Gi2OdJMNxssMhladh82/ZeZ0ZWV7WmTcQ8jYo=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -14,15 +14,15 @@
buildGoModule rec { buildGoModule rec {
pname = "ymuse"; pname = "ymuse";
version = "0.20"; version = "0.21";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yktoo"; owner = "yktoo";
repo = "ymuse"; repo = "ymuse";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-wDQjNBxwxFVFdSswubp4AVD35aXKJ8i0ahk/tgRsDRc="; sha256 = "sha256-3QgBbK7AK9/uQ6Z7DNIJxa1oXrxvvHDQ/Z2QOf7yfS4=";
}; };
vendorSha256 = "sha256-Ap/nf0NT0VkP2k9U1HzEiptDfLjKkBopP5h0czP3vis="; vendorSha256 = "sha256-7oYYZWpvWzeHlp6l9bLeHcLITLZPVY5eZdfHSE+ZHW8=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
@ -39,7 +39,8 @@ buildGoModule rec {
]; ];
postInstall = '' postInstall = ''
install -Dm644 ./resources/ymuse.desktop -t $out/share/applications install -Dm644 ./resources/com.yktoo.ymuse.desktop -t $out/share/applications
install -Dm644 ./resources/metainfo/com.yktoo.ymuse.metainfo.xml -t $out/share/metainfo
cp -r ./resources/icons $out/share cp -r ./resources/icons $out/share
app_id="ymuse" app_id="ymuse"

View file

@ -9,13 +9,13 @@ let
in buildGoModule rec { in buildGoModule rec {
pname = "go-ethereum"; pname = "go-ethereum";
version = "1.10.23"; version = "1.10.25";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ethereum"; owner = "ethereum";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-1fEmtbHKrjuyIVrGr/vTudZ99onkNjEMvyBJt4I8KK4="; sha256 = "sha256-mnf0kMfQEEQMricZJfyF7ZB/2F1dyPBx9iT2v/rGh1U=";
}; };
vendorSha256 = "sha256-Dj+xN8lr98LJyYr2FwJ7yUIJkUeUrr1fkcbj4hShJI0="; vendorSha256 = "sha256-Dj+xN8lr98LJyYr2FwJ7yUIJkUeUrr1fkcbj4hShJI0=";
@ -46,7 +46,7 @@ in buildGoModule rec {
"cmd/utils" "cmd/utils"
]; ];
# Following upstream: https://github.com/ethereum/go-ethereum/blob/v1.10.23/build/ci.go#L218 # Following upstream: https://github.com/ethereum/go-ethereum/blob/v1.10.25/build/ci.go#L218
tags = [ "urfave_cli_no_docs" ]; tags = [ "urfave_cli_no_docs" ];
# Fix for usb-related segmentation faults on darwin # Fix for usb-related segmentation faults on darwin

View file

@ -103,6 +103,10 @@ return Promise to resolve in that process."
(url-hexify-string repo) (url-hexify-string repo)
"/repository/archive.tar.gz?ref=" "/repository/archive.tar.gz?ref="
commit))) commit)))
("sourcehut" (list "nix-prefetch-url"
"--unpack" (concat "https://git.sr.ht/~" repo "/archive/" commit ".tar.gz")))
("codeberg" (list "nix-prefetch-url"
"--unpack" (concat "https://codeberg.org/" repo "/archive/" commit ".tar.gz")))
("bitbucket" (list "nix-prefetch-hg" ("bitbucket" (list "nix-prefetch-hg"
(concat "https://bitbucket.com/" repo) commit)) (concat "https://bitbucket.com/" repo) commit))
("hg" (list "nix-prefetch-hg" ("hg" (list "nix-prefetch-hg"

View file

@ -18,17 +18,17 @@ let
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
sha256 = { sha256 = {
x86_64-linux = "0cnrbjqcnkv7ybj9j7l0lcnfnxq18mddhdkj9797928q643bmj6z"; x86_64-linux = "0ar8gpklaa0aa3k1934jyg2vh65hzncx0awl1f0wz8n4fjasfrpc";
x86_64-darwin = "1d9gb3i2k0c9cn38igg1nm91bfqdi4xg29zlprqsqh98ijwqy25y"; x86_64-darwin = "0jkpzyg2pk2d88w2ffrp2lr0qadss7ccycx4vpmjmw62d3sap8n1";
aarch64-linux = "1jm8ll8f4m99ly53rv7000ng9a0l8jn4xpc6kfhmqdnf0jqfncsh"; aarch64-linux = "1g7lzqghagz63pljg4wy34z706j70vjmk49cl8v27jbnsgnva56a";
aarch64-darwin = "1awmaxkr5nl513c50g6k4r2j3w8p2by1j9i3kw7vkmwn91bk24i4"; aarch64-darwin = "132ml95xlyv5c343bfv0gpgr8rmk85xspsy9baninlmhnmy7mivv";
armv7l-linux = "1d2hl9jy1kfkzn4j7qkp3k8j1qc3r9rpqhvkfrr2axcqrahcrfsd"; armv7l-linux = "04anb6r7hkk3y3vahx32nxj5dz2i66rrnl0561xkcjr4cqvxykiw";
}.${system} or throwSystem; }.${system} or throwSystem;
in in
callPackage ./generic.nix rec { callPackage ./generic.nix rec {
# Please backport all compatible updates to the stable release. # Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem. # This is important for the extension ecosystem.
version = "1.71.0"; version = "1.71.2";
pname = "vscode"; pname = "vscode";
executableName = "code" + lib.optionalString isInsiders "-insiders"; executableName = "code" + lib.optionalString isInsiders "-insiders";

View file

@ -12,12 +12,12 @@ let
if extension == "zip" then fetchzip args else fetchurl args; if extension == "zip" then fetchzip args else fetchurl args;
pname = "1password-cli"; pname = "1password-cli";
version = "2.7.0"; version = "2.7.1";
sources = rec { sources = rec {
aarch64-linux = fetch "linux_arm64" "sha256-6c8m+Gea52XpNrPtY7oi3gsALHwLiK5aD83rsJSp6x0=" "zip"; aarch64-linux = fetch "linux_arm64" "sha256-JEOvLga6o3QOPYyGJfvqWIYL00TaqjcFzSMKw1ZSxtM=" "zip";
i686-linux = fetch "linux_386" "sha256-glcyQ1JWP7/cMpMY2/tTLnhPXy8nVmbzvIw4ZmP8SKg=" "zip"; i686-linux = fetch "linux_386" "sha256-Xd40mOsElbrGioPX0irz13jhiu8mZ2n6LmKrt4FyzDg=" "zip";
x86_64-linux = fetch "linux_amd64" "sha256-CjHl3AzUaD7ESlXeFfreZgs5tc3C546GoEgkVJe+vv4=" "zip"; x86_64-linux = fetch "linux_amd64" "sha256-DZYSkgrIpH0cYpIllVWHIuUcNgNyeX09dZ1RgUudWP8=" "zip";
aarch64-darwin = fetch "apple_universal" "sha256-3HEvkGWqJQNloVpkMl64DIoee3e/sMGf+GpAmAnS1jI=" "pkg"; aarch64-darwin = fetch "apple_universal" "sha256-j+e9y1FQp30O5pFVLbbXhtrbyRjWZZPFhkFfNXDcCPs=" "pkg";
x86_64-darwin = aarch64-darwin; x86_64-darwin = aarch64-darwin;
}; };
platforms = builtins.attrNames sources; platforms = builtins.attrNames sources;

View file

@ -5,16 +5,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "elfx86exts"; pname = "elfx86exts";
version = "0.4.3"; version = "0.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pkgw"; owner = "pkgw";
repo = pname; repo = pname;
rev = "${pname}@${version}"; rev = "${pname}@${version}";
sha256 = "1j9ca2lyxjsrf0rsfv83xi53vj6jz5nb76xibh367brcsc26mvd6"; sha256 = "sha256-SDBs5/jEvoKEVKCHQLz2z+CZSSmESP7LoIITRN4qJWA=";
}; };
cargoSha256 = "0n3b9vdk5n32jmd7ks50d55z4dfahjincd2s1d8m9z17ip2qw2c4"; cargoSha256 = "sha256-fYtFRdH6U8uWshdD1Pb1baE8slo6qajx10tDK3Ukknw=";
meta = with lib; { meta = with lib; {
description = "Decode x86 binaries and print out which instruction set extensions they use."; description = "Decode x86 binaries and print out which instruction set extensions they use.";

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "hugo"; pname = "hugo";
version = "0.102.3"; version = "0.103.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gohugoio"; owner = "gohugoio";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-qk5iv/oJ2Q8vR5jFl0gR7gA0H/3sHJOOlr8rwg7HjUY="; sha256 = "sha256-X78wmxEjw2noOjOj3uujXZHsPOSdZJ4KPz4Ia5sOu3I=";
}; };
vendorSha256 = "sha256-oWOu8vmxe0a/nIgkjpx7XrB49rjcuqnnpuOMtI9bLfY="; vendorSha256 = "sha256-Y0+D5H7kWi+bacJm1pouYDPHnnSRPatOt6qPfkk92X4=";
doCheck = false; doCheck = false;

View file

@ -29,7 +29,7 @@ mkDerivation rec {
homepage = "https://github.com/psifidotos/Latte-Dock"; homepage = "https://github.com/psifidotos/Latte-Dock";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.benley maintainers.ysndr ]; maintainers = [ maintainers.ysndr ];
}; };

View file

@ -14,13 +14,13 @@
# instead of adding this to `services.udev.packages` on NixOS, # instead of adding this to `services.udev.packages` on NixOS,
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "solaar"; pname = "solaar";
version = "1.1.4"; version = "1.1.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pwr-Solaar"; owner = "pwr-Solaar";
repo = "Solaar"; repo = "Solaar";
rev = version; rev = "refs/tags/${version}";
hash = "sha256-nDfVF7g0M54DRpkH1rnZB8o+nCV4A6b1uKMOMRQ3GbI="; hash = "sha256-wqSDSLzm2RYV7XZPX0GQDR+TUgj4hLJ9FpVP3DYN7To=";
}; };
outputs = [ "out" "udev" ]; outputs = [ "out" "udev" ];

View file

@ -15,6 +15,8 @@
, feh , feh
, imagemagickSupport ? true , imagemagickSupport ? true
, imagemagick , imagemagick
, appindicatorSupport ? true
, libayatana-appindicator-gtk3
}: }:
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
@ -41,7 +43,8 @@ python3.pkgs.buildPythonApplication rec {
hicolor-icon-theme hicolor-icon-theme
libnotify libnotify
librsvg librsvg
]; ]
++ lib.optional appindicatorSupport libayatana-appindicator-gtk3;
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4 beautifulsoup4

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "glooctl"; pname = "glooctl";
version = "1.12.17"; version = "1.12.18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "solo-io"; owner = "solo-io";
repo = "gloo"; repo = "gloo";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-6lwjfJOW1T+pRU9nrZ9Pit0N0je+t829jeKmlDn9TgA="; hash = "sha256-FzJxYbDo0bVMHLo3XBCciS/N4Jx87tDP8SQttWNqkUc=";
}; };
subPackages = [ "projects/gloo/cli/cmd" ]; subPackages = [ "projects/gloo/cli/cmd" ];

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule }: { lib, fetchFromGitHub, buildGoModule, installShellFiles }:
buildGoModule rec{ buildGoModule rec{
pname = "pinniped"; pname = "pinniped";
@ -15,6 +15,17 @@ buildGoModule rec{
vendorSha256 = "sha256-8ohyyciL1ORYOxPu64W0jXASTv+vVZR8StutzbF9N4Y="; vendorSha256 = "sha256-8ohyyciL1ORYOxPu64W0jXASTv+vVZR8StutzbF9N4Y=";
ldflags = [ "-s" "-w" ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion --cmd pinniped \
--bash <($out/bin/pinniped completion bash) \
--fish <($out/bin/pinniped completion fish) \
--zsh <($out/bin/pinniped completion zsh)
'';
meta = with lib; { meta = with lib; {
description = "Tool to securely log in to your Kubernetes clusters"; description = "Tool to securely log in to your Kubernetes clusters";
homepage = "https://pinniped.dev/"; homepage = "https://pinniped.dev/";

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "pluto"; pname = "pluto";
version = "5.10.6"; version = "5.10.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "FairwindsOps"; owner = "FairwindsOps";
repo = "pluto"; repo = "pluto";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-FNt+e13IEpIWB6gBYWfwJ+Qu7W/cyHvV+XGNhn17rdg="; sha256 = "sha256-AGzDs2KZt44uBJRBHvBL7nn5TpgWbcdLTEf9Vx9j89U=";
}; };
vendorSha256 = "sha256-M/D7V6v4+BlROoxhT9URuj9EI6qXYG2VoXcCVN+j6aU="; vendorSha256 = "sha256-cA5QxI1lLBdzPOj3pFqqHPfMwJQPPiyqQA4FLwetNUs=";
ldflags = [ ldflags = [
"-w" "-s" "-w" "-s"

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "waypoint"; pname = "waypoint";
version = "0.9.1"; version = "0.10.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hashicorp"; owner = "hashicorp";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-wvbtiu4WeuiHtyLkhwAB20XvpvHvy24xPSH5Lxtpea8="; sha256 = "sha256-vyPYKEmAc2kmcCGF28wMq7oZa4ZcSKp5SyCMounspQA=";
}; };
vendorSha256 = "sha256-bDsmou4zmRz8DyENdteJ3MzhTpCgri4ISIgxi7fhQdc="; vendorSha256 = "sha256-/WyqxK+FFSfR/Gyxy7K65KZDVfBM5Pp7WnoafF0AeQY=";
nativeBuildInputs = [ go-bindata installShellFiles ]; nativeBuildInputs = [ go-bindata installShellFiles ];

View file

@ -98,14 +98,14 @@ let
} source; } source;
source = rec { source = rec {
version = "1.4.274"; version = "1.4.287";
# Needs submodules # Needs submodules
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mumble-voip"; owner = "mumble-voip";
repo = "mumble"; repo = "mumble";
rev = "cc73c7679b08158f91b02272efbb0e3e5dd9c9e4"; rev = "5d808e287e99b402b724e411a7a0848e00956a24";
sha256 = "sha256-QXczSLDhWLE4CDvBJ7NtqfL52bZJDisFo04AMHnMuN8="; sha256 = "sha256-SYsGCuj3HeyAQRUecGLaRdJR9Rm7lbaM54spY/zx0jU=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
}; };

View file

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "seaweedfs"; pname = "seaweedfs";
version = "3.26"; version = "3.27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "chrislusf"; owner = "chrislusf";
repo = "seaweedfs"; repo = "seaweedfs";
rev = version; rev = version;
sha256 = "sha256-ETpcBodT3zFwzc5tczgfw6pD3htb4xFzl0btkyODWk0="; sha256 = "sha256-kvKUgw6A4UHOuDmKuOv+XS/0XiOf2ENWxl2WmJ4cVTE=";
}; };
vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA="; vendorSha256 = "sha256-sgLHRDdi9gkcSzeBaDCxtbvWSzjTshb2WbmMyRepUKA=";

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clingo"; pname = "clingo";
version = "5.6.0"; version = "5.6.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "potassco"; owner = "potassco";
repo = "clingo"; repo = "clingo";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-3qyQ7CnpELs6IsDxrW+IbV/TmlfYxP9VIVVjc7sM9fg="; sha256 = "sha256-blr2GPa/ZwVfvot6wUcQmdN/mLEox6tjIWtr0geeoDI=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View file

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
pname = "amazon-ecs-agent"; pname = "amazon-ecs-agent";
version = "1.63.0"; version = "1.63.1";
goPackagePath = "github.com/aws/${pname}"; goPackagePath = "github.com/aws/${pname}";
subPackages = [ "agent" ]; subPackages = [ "agent" ];
@ -11,7 +11,7 @@ buildGoPackage rec {
rev = "v${version}"; rev = "v${version}";
owner = "aws"; owner = "aws";
repo = pname; repo = pname;
sha256 = "sha256-SDDfwFnnoq2fCeg+wfJsczXb4dDChgyfsNrZkwGMHCc="; sha256 = "sha256-wnDwLpCDeIC2D2X/pzC6ZsudJz58xLo1PQB+K6WNxBE=";
}; };
meta = with lib; { meta = with lib; {

View file

@ -52,8 +52,9 @@
, buildAndTestSubdir ? null , buildAndTestSubdir ? null
, ... } @ args: , ... } @ args:
assert cargoVendorDir == null && cargoLock == null -> !(args ? cargoSha256) && !(args ? cargoHash) assert cargoVendorDir == null && cargoLock == null
-> throw "cargoSha256, cargoHash, cargoVendorDir, or cargoLock must be set"; -> !(args ? cargoSha256 && args.cargoSha256 != null) && !(args ? cargoHash && args.cargoHash != null)
-> throw "cargoSha256, cargoHash, cargoVendorDir, or cargoLock must be set";
assert buildType == "release" || buildType == "debug"; assert buildType == "release" || buildType == "debug";
let let

View file

@ -13,7 +13,9 @@ def quote(s: str) -> str:
def main() -> None: def main() -> None:
data = toml.load(sys.stdin) data = toml.load(sys.stdin)
assert list(data.keys()) == ["source"] # There is no dependency to vendor in this project.
if not list(data.keys()) == ["source"]:
return
# this value is non deterministic # this value is non deterministic
data["source"]["vendored-sources"]["directory"] = "@vendor@" data["source"]["vendored-sources"]["directory"] = "@vendor@"

View file

@ -58,10 +58,21 @@ in stdenv.mkDerivation ({
export CARGO_HOME=$(mktemp -d cargo-home.XXX) export CARGO_HOME=$(mktemp -d cargo-home.XXX)
CARGO_CONFIG=$(mktemp cargo-config.XXXX) CARGO_CONFIG=$(mktemp cargo-config.XXXX)
if [[ -n "$NIX_CRATES_INDEX" ]]; then
cat >$CARGO_HOME/config.toml <<EOF
[source.crates-io]
replace-with = 'mirror'
[source.mirror]
registry = "$NIX_CRATES_INDEX"
EOF
fi
${cargoUpdateHook} ${cargoUpdateHook}
cargo vendor $name | cargo-vendor-normalise > $CARGO_CONFIG cargo vendor $name --respect-source-config | cargo-vendor-normalise > $CARGO_CONFIG
# Create an empty vendor directory when there is no dependency to vendor
mkdir -p $name
# Add the Cargo.lock to allow hash invalidation # Add the Cargo.lock to allow hash invalidation
cp Cargo.lock.orig $name/Cargo.lock cp Cargo.lock.orig $name/Cargo.lock
@ -81,7 +92,7 @@ in stdenv.mkDerivation ({
inherit (hash_) outputHashAlgo outputHash; inherit (hash_) outputHashAlgo outputHash;
impureEnvVars = lib.fetchers.proxyImpureEnvVars; impureEnvVars = lib.fetchers.proxyImpureEnvVars ++ [ "NIX_CRATES_INDEX" ];
} // (builtins.removeAttrs args [ } // (builtins.removeAttrs args [
"name" "sha256" "cargoUpdateHook" "nativeBuildInputs" "name" "sha256" "cargoUpdateHook" "nativeBuildInputs"
])) ]))

View file

@ -56,11 +56,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "efl"; pname = "efl";
version = "1.26.2"; version = "1.26.3";
src = fetchurl { src = fetchurl {
url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz"; url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz";
sha256 = "071h0pscbd8g341yy5rz9mk1xn8yhryldhl6mmr1y6lafaycyy99"; sha256 = "sha256-2fg6oP2TNPRN7rTklS3A5RRGg6+seG/uvOYDCVFhfRU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, fetchurl , fetchurl
, meson , meson
, ninja , ninja
@ -21,11 +22,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "enlightenment"; pname = "enlightenment";
version = "0.25.3"; version = "0.25.4";
src = fetchurl { src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz"; url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
sha256 = "1xngwixp0cckfq3jhrdmmk6zj67125amr7g6xwc6l89pnpmlkz9p"; sha256 = "sha256-VttdIGuCG5qIMdJucT5BCscLIlWm9D/N98Ae794jt6I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -1,8 +1,6 @@
{ lib { lib
, mkXfceDerivation , mkXfceDerivation
, automakeAddFlags , automakeAddFlags
, dbus-glib
, dbus
, exo , exo
, gtk3 , gtk3
, libpulseaudio , libpulseaudio
@ -18,15 +16,13 @@
mkXfceDerivation { mkXfceDerivation {
category = "panel-plugins"; category = "panel-plugins";
pname = "xfce4-pulseaudio-plugin"; pname = "xfce4-pulseaudio-plugin";
version = "0.4.4"; version = "0.4.5";
sha256 = "sha256-arnHB9ziQm/vQk6hYHS+MKL5dJeEVxUX+SwjZ3/LcEQ="; sha256 = "sha256-oRkvKSDEEepNwWIMDYLH/a034xxFhhOx+vp8O2UfTos=";
nativeBuildInputs = [ nativeBuildInputs = [
automakeAddFlags automakeAddFlags
]; ];
NIX_CFLAGS_COMPILE = "-I${dbus-glib.dev}/include/dbus-1.0 -I${dbus.dev}/include/dbus-1.0";
postPatch = '' postPatch = ''
substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0 substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0
''; '';

View file

@ -21,15 +21,6 @@ stdenv.mkDerivation rec {
buildInputs = [ gambit ] buildInputs = [ gambit ]
++ buildInputs_libraries; # ++ buildInputs_staticLibraries; ++ buildInputs_libraries; # ++ buildInputs_staticLibraries;
# disable stackprotector on aarch64-darwin for now
# build error:
# ```
# /private/tmp/nix-build-gerbil-unstable-2020-11-05.drv-0/ccjyhWKi.s:326:15: error: index must be an integer in range [-256, 255].
# ldr x2, [x2, ___stack_chk_guard];momd
# ^
# ```
hardeningDisable = lib.optionals (gccStdenv.isAarch64 && gccStdenv.isDarwin) [ "stackprotector" ];
NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql"; NIX_CFLAGS_COMPILE = "-I${libmysqlclient}/include/mysql -L${libmysqlclient}/lib/mysql";
postPatch = '' postPatch = ''

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mlkit"; pname = "mlkit";
version = "4.6.1"; version = "4.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "melsman"; owner = "melsman";
repo = "mlkit"; repo = "mlkit";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-04G9G14fhEh8wwgqHwUR+sbYU3zaZcFV0q5SoAKcyjY="; sha256 = "sha256-7fxyXibq17ikrqhqMj4pnLerBOvkY/7ses4Kjw2GdOY=";
}; };
nativeBuildInputs = [ autoreconfHook mlton ]; nativeBuildInputs = [ autoreconfHook mlton ];

View file

@ -6,10 +6,6 @@ stdenv.mkDerivation rec {
src = cosmopolitan.dist; src = cosmopolitan.dist;
patches = [
./ioctl.patch # required /dev/tty
];
nativeBuildInputs = [ bintools-unwrapped unzip ]; nativeBuildInputs = [ bintools-unwrapped unzip ];
# slashes are significant because upstream uses o/$(MODE)/foo.o # slashes are significant because upstream uses o/$(MODE)/foo.o

View file

@ -1,12 +0,0 @@
diff --git a/third_party/python/python.mk b/third_party/python/python.mk
index f18c15060..b17455bca 100644
--- a/third_party/python/python.mk
+++ b/third_party/python/python.mk
@@ -1818,7 +1818,6 @@ THIRD_PARTY_PYTHON_PYTEST_PYMAINS = \
third_party/python/Lib/test/test_int_literal.py \
third_party/python/Lib/test/test_bisect.py \
third_party/python/Lib/test/test_pyexpat.py \
- third_party/python/Lib/test/test_ioctl.py \
third_party/python/Lib/test/test_getopt.py \
third_party/python/Lib/test/test_sort.py \
third_party/python/Lib/test/test_slice.py \

View file

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, pkg-config }: { lib
, stdenv
, fetchFromGitHub
, pkg-config
, fixDarwinDylibNames
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "capstone"; pname = "capstone";
@ -31,6 +36,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
] ++ lib.optionals stdenv.isDarwin [
fixDarwinDylibNames
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;

View file

@ -1,16 +1,21 @@
{ lib, stdenv, fetchFromGitHub, unzip, bintools-unwrapped }: { lib, stdenv, fetchFromGitHub, unzip, bintools-unwrapped, coreutils, substituteAll }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "cosmopolitan"; pname = "cosmopolitan";
version = "unstable-2022-03-22"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jart"; owner = "jart";
repo = "cosmopolitan"; repo = pname;
rev = "5022f9e9207ff2b79ddd6de6d792d3280e12fb3a"; rev = version;
sha256 = "sha256-UjL4wR5HhuXiQXg6Orcx2fKiVGRPMJk15P779BP1fRA="; sha256 = "sha256-EPye7IRMmYHF7XYdDaJdA8alCLiF7MOkU/fVAzZA794=";
}; };
patches = [
# make sure tests set PATH correctly
(substituteAll { src = ./fix-paths.patch; inherit coreutils; })
];
nativeBuildInputs = [ bintools-unwrapped unzip ]; nativeBuildInputs = [ bintools-unwrapped unzip ];
outputs = [ "out" "dist" ]; outputs = [ "out" "dist" ];
@ -24,11 +29,16 @@ stdenv.mkDerivation rec {
dontConfigure = true; dontConfigure = true;
dontFixup = true; dontFixup = true;
preCheck = ''
# some syscall tests fail because we're in a sandbox
rm test/libc/calls/sched_setscheduler_test.c
'';
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/{include,lib} mkdir -p $out/{include,lib}
install o/cosmopolitan.h $out/include install o/cosmopolitan.h $out/include
install o/cosmopolitan.a o/libc/crt/crt.o o/ape/ape.{o,lds} $out/lib install o/cosmopolitan.a o/libc/crt/crt.o o/ape/ape.{o,lds} o/ape/ape-no-modify-self.o $out/lib
cp -RT . "$dist" cp -RT . "$dist"
runHook postInstall runHook postInstall

View file

@ -0,0 +1,12 @@
--- a/test/tool/plinko/plinko_test.c
+++ b/test/tool/plinko/plinko_test.c
@@ -91,8 +91,8 @@ TEST(plinko, worksOrPrintsNiceError) {
sigaction(SIGQUIT, &savequit, 0);
sigaction(SIGPIPE, &savepipe, 0);
sigprocmask(SIG_SETMASK, &savemask, 0);
execve("bin/plinko.com", (char *const[]){"bin/plinko.com", 0},
- (char *const[]){0});
+ (char *const[]){"PATH=@coreutils@/bin", 0});
_exit(127);
}
close(pfds[0][0]);

View file

@ -23,6 +23,14 @@ stdenv.mkDerivation rec {
hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4="; hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4=";
}; };
# GL_DYLIB is hardcoded to an impure path
# /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
# and breaks build on recent macOS versions
postPatch = ''
substituteInPlace m4/gl.m4 \
--replace ' -dylib_file $GL_DYLIB: $GL_DYLIB' ""
'';
nativeBuildInputs = [ nativeBuildInputs = [
autoreconfHook autoreconfHook
doxygen doxygen

View file

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "intel-media-sdk"; pname = "intel-media-sdk";
version = "22.5.2"; version = "22.5.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Intel-Media-SDK"; owner = "Intel-Media-SDK";
repo = "MediaSDK"; repo = "MediaSDK";
rev = "intel-mediasdk-${version}"; rev = "intel-mediasdk-${version}";
sha256 = "sha256-HBG1JsTwAbl7p42Crmx82M7VnIaLk0oBXc4SJoIdEIs="; sha256 = "sha256-oWwES0XKjhVGPVsPo4t9WWorm+4J6lMPa+/pSY7r6I0=";
}; };
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];

View file

@ -2,35 +2,25 @@
, nv-codec-headers-11 , nv-codec-headers-11
, fetchFromGitHub , fetchFromGitHub
, lib , lib
, fetchpatch
}: }:
(ffmpeg_5-full.override { (ffmpeg_5-full.override {
nv-codec-headers = nv-codec-headers-11; nv-codec-headers = nv-codec-headers-11;
}).overrideAttrs (old: rec { }).overrideAttrs (old: rec {
pname = "jellyfin-ffmpeg"; pname = "jellyfin-ffmpeg";
version = "5.1-2"; version = "5.1.1-1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jellyfin"; owner = "jellyfin";
repo = "jellyfin-ffmpeg"; repo = "jellyfin-ffmpeg";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-lw2W65mbBhiSnegxLSRqDz2WMM82ght/KB4i+5BiL4o="; sha256 = "sha256-WxUADm5z6SH6Xegi2dhhien5IBY/Y/ZZaXr7MdOvpYA=";
}; };
configureFlags = old.configureFlags ++ [ configureFlags = old.configureFlags ++ [
"--disable-ptx-compression" # https://github.com/jellyfin/jellyfin/issues/7944#issuecomment-1156880067 "--disable-ptx-compression" # https://github.com/jellyfin/jellyfin/issues/7944#issuecomment-1156880067
]; ];
patches = old.patches ++ [
# fixed in upstream ffmpeg 5.1.1 https://trac.ffmpeg.org/ticket/9841
(fetchpatch {
name = "rename-imf-fate-target.patch";
url = "https://github.com/FFmpeg/FFmpeg/commit/80d1b8938eb227f0e9efde91050836b1e9a051a9.patch";
sha256 = "sha256-weUbLKSQ9iRYSQ3hgXcVpo8jfKajpXK21qD1GrZYHYQ=";
})
];
postPatch = '' postPatch = ''
for file in $(cat debian/patches/series); do for file in $(cat debian/patches/series); do
patch -p1 < debian/patches/$file patch -p1 < debian/patches/$file

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libamqpcpp"; pname = "libamqpcpp";
version = "4.3.16"; version = "4.3.17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CopernicaMarketingSoftware"; owner = "CopernicaMarketingSoftware";
repo = "AMQP-CPP"; repo = "AMQP-CPP";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-aBLNdw9LhHFwnIt70vIYlX1/j2IUTmpm5Ub+ZImF8FI="; sha256 = "sha256-DQzetwBpgXE1oG295DCc1m12LSbzRTD3khNbEe0O4Rg=";
}; };
buildInputs = [ openssl ]; buildInputs = [ openssl ];

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libgtkflow"; pname = "libgtkflow";
version = "0.8.0"; version = "0.10.0";
src = fetchFromGitea { src = fetchFromGitea {
domain = "notabug.org"; domain = "notabug.org";
owner = "grindhold"; owner = "grindhold";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256:1m30rvj5hx3b4cj8lbzrxv4j8lp3hx4jlb8vpf4rh46vc1rdkxpz"; hash = "sha256-iTOoga94yjGTowQOM/EvHEDOO9Z3UutPGRgEoI1UWkI=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -13,26 +13,26 @@ let
url = "https://download.fcitx-im.org/data/table.tar.gz"; url = "https://download.fcitx-im.org/data/table.tar.gz";
sha256 = "1dw7mgbaidv3vqy0sh8dbfv8631d2zwv5mlb7npf69a1f8y0b5k1"; sha256 = "1dw7mgbaidv3vqy0sh8dbfv8631d2zwv5mlb7npf69a1f8y0b5k1";
}; };
arpaVer = "20220630"; arpaVer = "20220810";
arpa = fetchurl { arpa = fetchurl {
url = "https://download.fcitx-im.org/data/lm_sc.arpa-${arpaVer}.tar.xz"; url = "https://download.fcitx-im.org/data/lm_sc.arpa-${arpaVer}.tar.xz";
sha256 = "sha256-jTsPqPoWuT0NRZDwLaBAKcJxNktZJcHJAoRcN0oqAL8="; sha256 = "sha256-oRvJfSda2vGV+brIVDaK4GzbSg/h7s9Z21rlgGFdtPo=";
}; };
dictVer = "20220706"; dictVer = "20220810";
dict = fetchurl { dict = fetchurl {
url = "https://download.fcitx-im.org/data/dict-${dictVer}.tar.xz"; url = "https://download.fcitx-im.org/data/dict-${dictVer}.tar.xz";
sha256 = "sha256-vNeR//eDr7QMHI6S2z+Dc0+Lk8nGriwV4eqHeLkHB3k="; sha256 = "sha256-lxdS9BMYgAfo0ZFYwRuFyVXiXXsyHsInXEs69tioXSY=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libime"; pname = "libime";
version = "unstable-2022-07-11"; version = "1.0.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fcitx"; owner = "fcitx";
repo = "libime"; repo = "libime";
rev = "1adb14eb0617ef0eb0f07ad99684f43ca8a4395c"; rev = version;
sha256 = "sha256-UldswsnkMuJh2G/EdsFl4CS7Y2RSRAb1hYeWUA2MHPw="; sha256 = "sha256-O89Op2dxuhGgCxuy2GLI0waCgDreJKNQ5tTvsx/0/fk=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -5,13 +5,13 @@
# https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn # https://github.com/oneapi-src/oneDNN#oneapi-deep-neural-network-library-onednn
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "oneDNN"; pname = "oneDNN";
version = "2.6.1"; version = "2.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "oneapi-src"; owner = "oneapi-src";
repo = "oneDNN"; repo = "oneDNN";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-cO8hT5ZrA9VegxOFH9fHm3YKK4A6XmaWIAfPTytNu6I="; sha256 = "sha256-CJbgmarN30UtRSKd7I2UZgDTkyhwj7k+QAtYhRnFkXQ=";
}; };
outputs = [ "out" "dev" "doc" ]; outputs = [ "out" "dev" "doc" ];

View file

@ -0,0 +1,41 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, gmp
, ntl
, cddlib
}:
stdenv.mkDerivation (finalAttrs: {
pname = "latte-integrale";
version = "1.7.6";
src = fetchurl {
url = "https://github.com/latte-int/latte/releases/download/version_${lib.replaceStrings ["."] ["_"] finalAttrs.version}/latte-int-${finalAttrs.version}.tar.gz";
sha256 = "sha256-AGwQ6+XVv9ybFZy6YmSkQyhh/nY84F/oIWJKt9P8IXA=";
};
patches = [
# C++17 compat
(fetchpatch {
url = "https://github.com/latte-int/latte/commit/6dbf7f07d5c9e1f3afe793f782d191d4465088ae.patch";
excludes = [ "code/latte/sqlite/IntegrationDB.h" ];
sha256 = "sha256-i7c11y54OLuJ0m7PBnhEoAzJzxC842JU7A6TOtTz06k=";
})
];
buildInputs = [
gmp
ntl
cddlib
];
meta = {
description = "Software for counting lattice points and integration over convex polytopes";
homepage = "https://www.math.ucdavis.edu/~latte/";
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ amesgen ];
platforms = lib.platforms.unix;
};
})

View file

@ -2,18 +2,18 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "vid.stab"; pname = "vid.stab";
version = "1.1.0"; version = "unstable-2022-05-30";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "georgmartius"; owner = "georgmartius";
repo = pname; repo = pname;
rev = "v${version}"; rev = "90c76aca2cb06c3ff6f7476a7cd6851b39436656";
sha256 = "0a3frpm2kdbx7vszhg64p3alisag73bcspl7fp3a2f1kgq7rbh38"; sha256 = "sha256-p1VRnkBeUpET3O2FmaJMyN5/EoSOQLdmRIVbzZcQaKY=";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.cc.isClang [ openmp ]; propagatedBuildInputs = lib.optionals stdenv.cc.isClang [ openmp ];
meta = with lib; { meta = with lib; {
description = "Video stabilization library"; description = "Video stabilization library";

View file

@ -2,7 +2,6 @@
, aiosmtpd , aiosmtpd
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, hypothesis , hypothesis
, poetry-core , poetry-core
, pytest-asyncio , pytest-asyncio
@ -12,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiosmtplib"; pname = "aiosmtplib";
version = "1.1.6"; version = "1.1.7";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,7 +20,7 @@ buildPythonPackage rec {
owner = "cole"; owner = "cole";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-bo+u3I+ZX95UYkEam2TB6d6rvbYKa5Qu/9oNX5le478="; hash = "sha256-ZVNYMVg2qeMoSojmPllvJLv2Xm5IYN9h5N13oHPFXSk=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -35,15 +34,6 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
patches = [
# Switch to poetry-core, https://github.com/cole/aiosmtplib/pull/183
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/cole/aiosmtplib/commit/3aba1c132d9454e05d4281f4c8aa618b4e1b783d.patch";
hash = "sha256-KlA46gD6swfJ/3OLO3xWZWa66Gx1/izmUMQ60PQy0po=";
})
];
pythonImportsCheck = [ pythonImportsCheck = [
"aiosmtplib" "aiosmtplib"
]; ];

View file

@ -12,7 +12,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "atlassian-python-api"; pname = "atlassian-python-api";
version = "3.28.0"; version = "3.28.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -21,7 +21,7 @@ buildPythonPackage rec {
owner = "atlassian-api"; owner = "atlassian-api";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-a0c/IOy14Pq8IEUKNyOh0/Z/ERGfeeI5aXFL/WpLUxE="; sha256 = "sha256-ZKRmjfH3s35DU1Mut63YuN6opKzg2gpyunWYjg/FbHA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -7,7 +7,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "chess"; pname = "chess";
version = "1.9.2"; version = "1.9.3";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "niklasf"; owner = "niklasf";
repo = "python-${pname}"; repo = "python-${pname}";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-RGAEkeE6YAik//yZt9mJdrFj4z0yxlHjZPLUaHd9yUQ="; sha256 = "sha256-Qm6CNtie+oqZRCAs8qp8ythfs+OQvLZFK9YVLOuf918=";
}; };
pythonImportsCheck = [ "chess" ]; pythonImportsCheck = [ "chess" ];

View file

@ -9,15 +9,16 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "furo"; pname = "furo";
version = "2022.6.21"; version = "2022.9.15";
format = "wheel"; format = "wheel";
disable = pythonOlder "3.6";
disable = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version format; inherit pname version format;
dist = "py3"; dist = "py3";
python = "py3"; python = "py3";
sha256 = "sha256-Bhto4yM0Xif8ugJM8zoed/Pf2NmYdBC+gidJpwbirdY="; hash = "sha256-kSnerR916ftPpAdhLx1aDQMgdn5hVsklqv4282L5sRo=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -37,7 +38,9 @@ buildPythonPackage rec {
cd - cd -
''; '';
pythonImportsCheck = [ "furo" ]; pythonImportsCheck = [
"furo"
];
meta = with lib; { meta = with lib; {
description = "A clean customizable documentation theme for Sphinx"; description = "A clean customizable documentation theme for Sphinx";

View file

@ -6,12 +6,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "httptools"; pname = "httptools";
version = "0.4.0"; version = "0.5.0";
disabled = isPy27; disabled = isPy27;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-LJqTDDeLPRXWtpX7levP+BpzlbT5d1xPEKB2vrCywf8="; sha256 = "sha256-KVh0hhwXP5EBlgu6MyQpu3ftTc2M31zumSLrAOT2vAk=";
}; };
# tests are not included in pypi tarball # tests are not included in pypi tarball

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "immutables"; pname = "immutables";
version = "0.18"; version = "0.19";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -17,8 +17,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MagicStack"; owner = "MagicStack";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-lXCoPTcpTOv9K0xCVjbrP3qlzP9tfk/e3Rk3oOmbS/Y="; hash = "sha256-yW+pmAryBp6bvjolN91ACDkk5zxvKfu4nRLQSy71kqs=";
}; };
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [ propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [

View file

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "json-stream"; pname = "json-stream";
version = "1.4.0"; version = "1.4.2";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ebB8l8H6yPLoCXmVOy60IijdBI61SEzJInC30aMe9Bk="; hash = "sha256-zsjKOqkXy3Je7z8U4M016a4t2cWdUqL2tf27Dc8a/gw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "jwcrypto"; pname = "jwcrypto";
version = "1.3.1"; version = "1.4.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-VLVRsRX/tNErHx7pO4uipxu4VWuj2F1i9wdUlhPah3w="; hash = "sha256-gKNentGzssQ84D2SxdSObQtmR+KqJhjkljRIkj14o3s=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "motor"; pname = "motor";
version = "3.0.0"; version = "3.1.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mongodb"; owner = "mongodb";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-xq3EpTncnMskn3aJdLAtD/kKhn/cS2nrLrVliyh2z28="; sha256 = "sha256-Wc0C4sO33v/frBtZVV2u9ESunHKyJI+eQ59l72h2eFk=";
}; };
propagatedBuildInputs = [ pymongo ]; propagatedBuildInputs = [ pymongo ];

View file

@ -3,13 +3,13 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "netCDF4"; pname = "netCDF4";
version = "1.6.0"; version = "1.6.1";
disabled = isPyPy; disabled = isPyPy;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-le+jc9mj4c0N9xk+duZoDZ7KKOYAl8qBOa/qikNGumM="; sha256 = "sha256-uo3F1lKTqZ8a+4wqz1iNkD/f3BljpiVFtnf6JzQmKng=";
}; };
checkInputs = [ pytest ]; checkInputs = [ pytest ];

View file

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, niapy
, nltk
, pandas
, poetry-core
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "NiaARM";
version = "0.2.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "firefly-cpp";
repo = pname;
rev = version;
sha256 = "sha256-tO/9dDgPPL5fkFm/U9AhyydXW+dtem+Q3H2uKPAXzno=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
niapy
nltk
pandas
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"niaarm"
];
meta = with lib; {
description = "A minimalistic framework for Numerical Association Rule Mining";
homepage = "https://github.com/firefly-cpp/NiaARM";
license = licenses.mit;
maintainers = with maintainers; [ firefly-cpp ];
};
}

View file

@ -1,11 +1,12 @@
{ lib, stdenv { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, cli-helpers , cli-helpers
, click , click
, configobj , configobj
, prompt-toolkit , prompt-toolkit
, psycopg2 , psycopg
, pygments , pygments
, sqlparse , sqlparse
, pgspecial , pgspecial
@ -21,24 +22,19 @@
# integrating with ipython-sql # integrating with ipython-sql
buildPythonPackage rec { buildPythonPackage rec {
pname = "pgcli"; pname = "pgcli";
version = "3.4.1"; version = "3.5.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-8DkwGH4n1g32WMqKBPtgHsXXR2xzXysVQsat7Fysj+I="; sha256 = "sha256-zESNlRWfwJA9NhgpkneKCW7aV1LWYNR2cTg8jiv2M/E=";
}; };
postPatch = ''
substituteInPlace setup.py \
--replace "pgspecial>=1.13.1,<2.0.0" "pgspecial>=1.13.1"
'';
propagatedBuildInputs = [ propagatedBuildInputs = [
cli-helpers cli-helpers
click click
configobj configobj
prompt-toolkit prompt-toolkit
psycopg2 psycopg
pygments pygments
sqlparse sqlparse
pgspecial pgspecial

View file

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "prometheus-flask-exporter"; pname = "prometheus-flask-exporter";
version = "0.18.1"; version = "0.20.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rycus86"; owner = "rycus86";
repo = "prometheus_flask_exporter"; repo = "prometheus_flask_exporter";
rev = version; rev = version;
sha256 = "1dwisp681w0f6zf0000rxd3ksdb48zb9mr38qfdqk2ir24y8w370"; sha256 = "sha256-l9Iw9fvXQMXzq1y/4Dml8uLPJWyqX6SDIXptJVw3cVQ=";
}; };
propagatedBuildInputs = [ flask prometheus-client ]; propagatedBuildInputs = [ flask prometheus-client ];

View file

@ -9,12 +9,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-httpserver"; pname = "pytest-httpserver";
version = "1.0.5"; version = "1.0.6";
src = fetchPypi { src = fetchPypi {
pname = "pytest_httpserver"; pname = "pytest_httpserver";
inherit version; inherit version;
sha256 = "sha256-rjKWYm0KEOg1qfQjxhtFQFR9WCQivgVMP8wIYmuqECQ="; sha256 = "sha256-kEDQe/WaxF2N49sdRGj9LR1geXXk2kyHLswEAs2/ez4=";
}; };
propagatedBuildInputs = [ werkzeug ]; propagatedBuildInputs = [ werkzeug ];

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "qingping-ble"; pname = "qingping-ble";
version = "0.6.1"; version = "0.7.0";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "bluetooth-devices"; owner = "bluetooth-devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-0fa5KocDyy3JL7gohbbBghXwbCzbcjK4pVM+zckboHc="; hash = "sha256-DBkwi++gmyd8/hAMSO+Ktsou1FtcbfoY8PR+c43MOXw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "resampy"; pname = "resampy";
version = "0.4.1"; version = "0.4.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "bmcfee"; owner = "bmcfee";
repo = pname; repo = pname;
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-8qhYhkTtq7DwEvw+B4Ul4SMAPxweTgDIOtebmElkcsg="; hash = "sha256-t5I7NJmIeV0uucPyvR+UJ24NK7fIzYlNJ8bECkbvdjI=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "somajo"; pname = "somajo";
version = "2.2.1"; version = "2.2.2";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -16,8 +16,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tsproisl"; owner = "tsproisl";
repo = "SoMaJo"; repo = "SoMaJo";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-M0WtONhsqmmK0PBB+Df4YrFpT+vfVidDkt80eBHOo04="; sha256 = "sha256-rzh+IASqs+uSgUq3BI9UdC4XRsozIGsaOt/LR+VhBxc=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -13,11 +13,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "SQLAlchemy-Continuum"; pname = "SQLAlchemy-Continuum";
version = "1.3.12"; version = "1.3.13";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "rlHl59MAQhsicMtZQT9rv1iQrDyVYJlawtyhvFaAM7o="; sha256 = "sha256-JTqlHQmaVH2qKz7CFyCqpous3ecOpoFrxVlzasbc21I=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "tilt-ble"; pname = "tilt-ble";
version = "0.2.2"; version = "0.2.3";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "Bluetooth-Devices"; owner = "Bluetooth-Devices";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-inr2cPl627w2klSqScMg3dvofIkX3hGb44+Go6ah/6I="; hash = "sha256-PR+BA0wUljUeUYCTRMKxkG+kj6PfklksbO/k9L7sWdE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -5,12 +5,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "zodbpickle"; pname = "zodbpickle";
version = "2.3"; version = "2.4";
disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10 disabled = isPyPy; # https://github.com/zopefoundation/zodbpickle/issues/10
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-5MtccZcF6Lseju5Kok4gcaMJTs8ng9h0B6uCLxZto6I="; sha256 = "sha256-vWzJIPKDO6bTWzvxwyaekhDr/AHs1/F2jCL2OqoHU60=";
}; };
# fails.. # fails..

View file

@ -10,8 +10,6 @@ stdenv.mkDerivation ({
NIX_CFLAGS_COMPILE = NIX_CFLAGS_COMPILE =
lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
configurePhase = '' configurePhase = ''
runHook preConfigure runHook preConfigure
export R_LIBS_SITE="$R_LIBS_SITE''${R_LIBS_SITE:+:}$out/library" export R_LIBS_SITE="$R_LIBS_SITE''${R_LIBS_SITE:+:}$out/library"

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flow"; pname = "flow";
version = "0.186.0"; version = "0.187.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "facebook"; owner = "facebook";
repo = "flow"; repo = "flow";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Bip56IgE+XtNSwUC09ANe9ClSg6vTQO60spt1ijvs68="; sha256 = "sha256-G+Le/LtmO/kdA/0IDcmEoacCLhKg7sSRBxEsYQXAK1w=";
}; };
makeFlags = [ "FLOW_RELEASE=1" ]; makeFlags = [ "FLOW_RELEASE=1" ];

View file

@ -18,16 +18,15 @@
, ninja , ninja
, capstone , capstone
, tree-sitter , tree-sitter
, python3
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rizin"; pname = "rizin";
version = "0.4.0"; version = "0.4.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz"; url = "https://github.com/rizinorg/rizin/releases/download/v${version}/rizin-src-v${version}.tar.xz";
sha256 = "sha256-CeuoaE/oE89Cpxa1mobT1lr84BPX6LJ14UXoSdM2a1o="; sha256 = "sha256-Zp2Va5l4IKNuQjzzXUgqqZhJJUuWWM72hERZkS39v7g=";
}; };
mesonFlags = [ mesonFlags = [
@ -41,7 +40,13 @@ stdenv.mkDerivation rec {
"-Duse_sys_tree_sitter=enabled" "-Duse_sys_tree_sitter=enabled"
]; ];
nativeBuildInputs = [ pkg-config meson ninja cmake (python3.withPackages (ps: [ ps.setuptools ])) ]; nativeBuildInputs = [
pkg-config
meson
meson.python3.pkgs.pyyaml
ninja
cmake
];
# meson's find_library seems to not use our compiler wrapper if static parameter # meson's find_library seems to not use our compiler wrapper if static parameter
# is either true/false... We work around by also providing LIBRARY_PATH # is either true/false... We work around by also providing LIBRARY_PATH
@ -53,6 +58,9 @@ stdenv.mkDerivation rec {
fi fi
done done
export LIBRARY_PATH export LIBRARY_PATH
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace binrz/rizin/macos_sign.sh \
--replace 'codesign' '# codesign'
''; '';
buildInputs = [ buildInputs = [
@ -76,6 +84,6 @@ stdenv.mkDerivation rec {
homepage = "https://rizin.re/"; homepage = "https://rizin.re/";
license = lib.licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ raskin makefu mic92 ]; maintainers = with lib.maintainers; [ raskin makefu mic92 ];
platforms = with lib.platforms; linux; platforms = with lib.platforms; unix;
}; };
} }

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "tflint"; pname = "tflint";
version = "0.40.0"; version = "0.40.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "terraform-linters"; owner = "terraform-linters";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-cJGzE+J3JLwH2NWl81kL7AfuYox2kKQvTFdAPUMneFY="; sha256 = "sha256-Z9hkcJxNQnOjgoJ6K4ZklRwxzWZLE/PiKCEISkZqPHs=";
}; };
vendorSha256 = "sha256-+2A/yB7yO8p2Q3ZhMv5TqpkBAu7KHq8PefXsIDM/XUg="; vendorSha256 = "sha256-sOYQs1hhyX3cjvQ3EmVVSc5HWHnrRDO2VVlzIYi4JZI=";
doCheck = false; doCheck = false;

View file

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "bazel-gazelle"; pname = "bazel-gazelle";
version = "0.26.0"; version = "0.27.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bazelbuild"; owner = "bazelbuild";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-f+4XeH282VbasY6ShSNLsesn1OR8wb6kePU808UQWpw="; sha256 = "sha256-V3XNh2Npxt941wvLICMGmEBsji/TNoDkWBC27EjLsKY=";
}; };
vendorSha256 = null; vendorSha256 = null;

View file

@ -103,6 +103,10 @@ python3.pkgs.buildPythonApplication rec {
installShellCompletion --bash data/shell-completions/bash/meson installShellCompletion --bash data/shell-completions/bash/meson
''; '';
passthru = {
inherit python3;
};
meta = with lib; { meta = with lib; {
homepage = "https://mesonbuild.com"; homepage = "https://mesonbuild.com";
description = "An open source, fast and friendly build system made in Python"; description = "An open source, fast and friendly build system made in Python";

View file

@ -8,18 +8,19 @@ stdenv.mkDerivation {
dontUnpack = true; dontUnpack = true;
dontBuild = true; dontBuild = true;
# compiler arguments based on upstream README.md
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir -p $out/bin mkdir -p $out/bin
cat <<EOF >$out/bin/cosmoc cat <<EOF >$out/bin/cosmoc
#!${stdenv.shell} #!${stdenv.shell}
exec ${stdenv.cc}/bin/${stdenv.cc.targetPrefix}gcc \ exec ${stdenv.cc}/bin/${stdenv.cc.targetPrefix}gcc \
-O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \ -Os -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \
-fno-omit-frame-pointer -pg -mnop-mcount -mno-tls-direct-seg-refs \
"\$@" \ "\$@" \
-Wl,--gc-sections -Wl,-z,max-page-size=0x1000 \ -fuse-ld=bfd -Wl,-T,${cosmopolitan}/lib/ape.lds -Wl,--gc-sections \
-fuse-ld=bfd -Wl,-T,${cosmopolitan}/lib/ape.lds \
-include ${cosmopolitan}/include/cosmopolitan.h \ -include ${cosmopolitan}/include/cosmopolitan.h \
${cosmopolitan}/lib/{crt.o,ape.o,cosmopolitan.a} ${cosmopolitan}/lib/{crt.o,ape-no-modify-self.o,cosmopolitan.a}
EOF EOF
chmod +x $out/bin/cosmoc chmod +x $out/bin/cosmoc
runHook postInstall runHook postInstall

View file

@ -5,11 +5,11 @@
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "cpm"; pname = "cpm";
version = "0.35.5"; version = "0.35.6";
src = fetchurl { src = fetchurl {
url = "https://github.com/cpm-cmake/CPM.cmake/releases/download/v${version}/CPM.cmake"; url = "https://github.com/cpm-cmake/CPM.cmake/releases/download/v${version}/CPM.cmake";
sha256 = "sha256-JWfIptbRExSQQvcxx2bS1k5cudPpQPdyj90aZdbcROk="; sha256 = "sha256-a0fiqUtpxZrNpVZ0Aa/GesU+mpW/kM/U8el5LE2OyBU=";
}; };
dontUnpack = true; dontUnpack = true;

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "datree"; pname = "datree";
version = "1.6.19"; version = "1.6.29";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "datreeio"; owner = "datreeio";
repo = "datree"; repo = "datree";
rev = version; rev = version;
hash = "sha256-cR01/IzbrD2ergJUH3XSKTGLcDuzXuOoKEvnwD2K6hs="; hash = "sha256-RFm7I9HTI3M0fdGOz4ZXHtQY4Pm86SOz9pcIQLqb7/U=";
}; };
vendorSha256 = "sha256-mEtnZO4AZEcnEHuiAWguT8VelD0yLj1rytl6gPkPKBg="; vendorSha256 = "sha256-mEtnZO4AZEcnEHuiAWguT8VelD0yLj1rytl6gPkPKBg=";

View file

@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl, jre_headless, makeWrapper }: { lib, stdenv, fetchurl, jre_headless, makeWrapper }:
stdenv.mkDerivation rec{ stdenv.mkDerivation rec{
pname = "flyway"; pname = "flyway";
version = "9.2.2"; version = "9.3.0";
src = fetchurl { src = fetchurl {
url = "mirror://maven/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz"; url = "mirror://maven/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
sha256 = "sha256-aHsBey1WzmRhcrCeHeAeVuEvX4iaxbIb/C7N6tCOyuY="; sha256 = "sha256-OnJu6gMznpzArm6KRf9ggnY+287tvrdddf9OvE5R9a8=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
dontBuild = true; dontBuild = true;

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "goda"; pname = "goda";
version = "0.5.1"; version = "0.5.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "loov"; owner = "loov";
repo = "goda"; repo = "goda";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tXXUDeqGjv6T2eI/VJ+kwPKJLT7D1nO9BaKN5FHS34I="; sha256 = "sha256-gXpO0DvxghyJIIxjE/KGjF/uRQ5W3p5QhqtmzeDmAfA=";
}; };
vendorSha256 = "sha256-OyQEw6mRrRneo3T8wns0doU4lxJYEoilTd30xctLBJ4="; vendorSha256 = "sha256-OyQEw6mRrRneo3T8wns0doU4lxJYEoilTd30xctLBJ4=";

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "circleci-cli"; pname = "circleci-cli";
version = "0.1.21041"; version = "0.1.21091";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CircleCI-Public"; owner = "CircleCI-Public";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-dc1dFJJ5mBolnzSYbTqUsoex1MfyYOXlv07OvIgtvSQ="; sha256 = "sha256-k8NeqGlhxYLZ4KAuX7eyCi5dIjYIx2z8Xb2JJb2H5Y0=";
}; };
vendorSha256 = "sha256-jrAd1G/NCjXfaJmzOhMjMZfJoGHsQ1bi3HudBM0e8rE="; vendorSha256 = "sha256-jrAd1G/NCjXfaJmzOhMjMZfJoGHsQ1bi3HudBM0e8rE=";

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "railway"; pname = "railway";
version = "2.0.10"; version = "2.0.11";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "railwayapp"; owner = "railwayapp";
repo = "cli"; repo = "cli";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-g/QBsWWVjhmn5slNav7j+vrzwf/0mMAERJaDLRrbxGI="; sha256 = "sha256-A8bfs8GgpsuX3QlJsjUWhgh0zXX0+HULRBQSY+lkXuE=";
}; };
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View file

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-spellcheck"; pname = "cargo-spellcheck";
version = "0.12.1"; version = "0.12.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "drahnr"; owner = "drahnr";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-PyNO+kBxTYeqXgZh1XhE18G9ZK7suo/acKSE57zCbcY="; sha256 = "sha256-8HZBenv2bL6D8TXzjklEFUAnqk7LkYXjtEwxpTbbzr4=";
}; };
cargoSha256 = "sha256-i6AvKF34Gh3QhwvYVd+QTYCPMW9D0/vhz7WoY5d4kHU="; cargoSha256 = "sha256-zCk+b7jcR7yDpBUVfKXIozQkcsB+73HosdCmZW9abkA=";
buildInputs = lib.optional stdenv.isDarwin Security; buildInputs = lib.optional stdenv.isDarwin Security;

View file

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-udeps"; pname = "cargo-udeps";
version = "0.1.32"; version = "0.1.33";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "est31"; owner = "est31";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-Ev7hLtE5/PqeM39nyWaMyIhFsEZnXbdyU8Q5PET98lQ="; sha256 = "sha256-Fl/4RsWHjWYJ76mD59m9Gcs2hz7bwnd0YWpZnVgMKjg=";
}; };
cargoSha256 = "sha256-3+6hZCYiyG6fgyJpjCcY1dzDK0kwVjsyckPIq/8Zfm0="; cargoSha256 = "sha256-kQwg1R+rvg2Tw27pTkrOi5QpPF3Q1woPsjac9RDYCyg=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View file

@ -4,13 +4,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sumneko-lua-language-server"; pname = "sumneko-lua-language-server";
version = "3.5.5"; version = "3.5.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sumneko"; owner = "sumneko";
repo = "lua-language-server"; repo = "lua-language-server";
rev = version; rev = version;
sha256 = "sha256-TSBV10QBD9TiQMsH800bSDbOzkD1orzHT4gLNWVE3Iw="; sha256 = "sha256-S07/N6Cq/YG0kS2riPI8wy/fOxPHkMrGqpmUd+ymwJ0=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -17,15 +17,15 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "deno"; pname = "deno";
version = "1.25.2"; version = "1.25.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "denoland"; owner = "denoland";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-yi4isp5VuQnLq2KYyti6czlVhycmxOs0a9G6rzkCgqo="; sha256 = "sha256-bKZ9/3f9YN24hV+U3d4PDKHMvNyD72qJpfqfAmgO0dk=";
}; };
cargoSha256 = "sha256-fHOTL8qipOOjI91a73wMXUm0tD78O1eHhCAtRyClmWc="; cargoSha256 = "sha256-Y/19wrY26rDuA6Pwlr2gjl1JupaJwaOhY0msq6nIyYc=";
postPatch = '' postPatch = ''
# upstream uses lld on aarch64-darwin for faster builds # upstream uses lld on aarch64-darwin for faster builds

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.14.292"; version = "4.14.293";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0zc97qy62dhc5xkjnvsfn4lpl4dgrj23hlxvxcr4cr8sj0hxzx3h"; sha256 = "047gl9nqrvpi9jaxlmhfnx848qvnrhf13710ka8fwn3lyv22k342";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "4.19.257"; version = "4.19.258";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0izaldl2l2zsshkd07qsnr9x6ikipmj5jp7lxr8dyz7kf2m17pga"; sha256 = "002sw8b272dzkp3vff0x89sbj5p3vrrikqygfdgrsxv7k3w4459x";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View file

@ -1,12 +1,12 @@
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args:
buildLinux (args // rec { buildLinux (args // rec {
version = "4.9.327"; version = "4.9.328";
extraMeta.branch = "4.9"; extraMeta.branch = "4.9";
extraMeta.broken = stdenv.isAarch64; extraMeta.broken = stdenv.isAarch64;
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1lh63viynf9f7vl0a52mnal8jack9lbqfsfammwkxi3kafpw30r2"; sha256 = "1px2np3k796cjwq1sp9gfxyql6hqyqya82vq9cb5y0canq6fqmg8";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.10.142"; version = "5.10.143";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0s52vfvw5pgnq7gq9n66ib05ryhkxwv765f16862l5gykbdynirz"; sha256 = "14af0lsvgh1k0fh283d0nrm1pkrk2kaf2mz0ab59vlvjybg9wb7s";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.15.67"; version = "5.15.68";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "0h7r2k59jsw8ykb2p7nxrpazbwx1n5p3nmfbbj1lhib91fldjiys"; sha256 = "0zlb44bwpc0hwfynzz5v5b3lkv4aha7w5737ns1qb8cvbk5v7fqp";
}; };
} // (args.argsOverride or { })) } // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.19.8"; version = "5.19.9";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1kl7fifsa6vsm34xg3kd2svhx18n771hfj67nhwnlalmb9whhqv1"; sha256 = "0dvzjbyknzlx4ndz77fsm6v28fj2chxbq1z85fbc3bckcscbbm8a";
}; };
} // (args.argsOverride or { })) } // (args.argsOverride or { }))

View file

@ -3,7 +3,7 @@
with lib; with lib;
buildLinux (args // rec { buildLinux (args // rec {
version = "5.4.212"; version = "5.4.213";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
@ -13,6 +13,6 @@ buildLinux (args // rec {
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "1hngr4hsrcd6hmlyvc3msy5racniav2jagp5abmp7xsxv0yjxiq9"; sha256 = "1wdssqmac66zqsnq5lx2z8ampa0rd3qswg0gm1sh6n3y8xlf2z76";
}; };
} // (args.argsOverride or {})) } // (args.argsOverride or {}))

View file

@ -1,8 +1,8 @@
{ stdenv, lib, fetchsvn, linux { stdenv, lib, fetchsvn, linux
, scripts ? fetchsvn { , scripts ? fetchsvn {
url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/"; url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/";
rev = "18904"; rev = "18911";
sha256 = "1l200abijg5y15h4vza86sirlcplm7iyhm3igdyxqj3s0169nck9"; sha256 = "1f5b936a7ayva2kyly3n71sg6cqdvcavcxbj3cy3imaj9247bx72";
} }
, ... , ...
}: }:

View file

@ -4,19 +4,19 @@ let
generic = { subPackages, pname, postInstall ? "", mainProgram }: generic = { subPackages, pname, postInstall ? "", mainProgram }:
buildGoModule rec { buildGoModule rec {
inherit pname; inherit pname;
version = "6.8.0"; version = "6.8.1";
shortRev = "3a1ac58"; # for internal version info shortRev = "3a1ac58"; # for internal version info
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sensu"; owner = "sensu";
repo = "sensu-go"; repo = "sensu-go";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-T9SR3Ec7Q51Q2L/xJHx35eA0/KcFB3ZxqimIYKwAJLU="; sha256 = "sha256-6kyT5atO9hqmrQnjhoLPDJEMueKYXawVvhxKMTEPJ6k=";
}; };
inherit subPackages postInstall; inherit subPackages postInstall;
vendorSha256 = "sha256-Y8gYh770p22O1ZLcqZi5NNKWOP4sXHSP3b0d4klrSHg="; vendorSha256 = "sha256-yysRmhVUw1cYgYhWg74dv3+nmLBDx5ZiXuCba1e/CrI=";
doCheck = false; doCheck = false;

View file

@ -0,0 +1,64 @@
{ lib
, buildGoModule
, fetchFromGitHub
, fetchzip
, installShellFiles
}:
let
webconsoleVersion = "1.0.17";
webconsoleDist = fetchzip {
url = "https://github.com/codenotary/immudb-webconsole/releases/download/v${webconsoleVersion}/immudb-webconsole.tar.gz";
sha256 = "sha256-hFSvPwSRXyrSBYktTOwIRa1+aH+mX/scDYDokvZuW1s=";
};
in
buildGoModule rec {
pname = "immudb";
version = "1.3.2";
src = fetchFromGitHub {
owner = "codenotary";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lcKjeqZeTQQMhVjnWNP3c+HanI/eenfUbpZJAo5FEkM=";
};
preBuild = ''
mkdir -p webconsole/dist
cp -r ${webconsoleDist}/* ./webconsole/dist
go generate -tags webconsole ./webconsole
'';
proxyVendor = true; # check if this is needed anymore when updating
vendorSha256 = "sha256-gMpkV0XqY6wh7s0lndIdCoYlvVBrMk7/lvyDVqnJ66c=";
nativeBuildInputs = [ installShellFiles ];
tags = [ "webconsole" ];
ldflags = [ "-X github.com/codenotary/immudb/cmd/version.Version=${version}" ];
subPackages = [
"cmd/immudb"
"cmd/immuclient"
"cmd/immuadmin"
];
postInstall = ''
mkdir -p share/completions
for executable in immudb immuclient immuadmin; do
for shell in bash fish zsh; do
$out/bin/$executable completion $shell > share/completions/$executable.$shell
installShellCompletion share/completions/$executable.$shell
done
done
'';
meta = with lib; {
description = "Immutable database based on zero trust, SQL and Key-Value, tamperproof, data change history";
homepage = "https://github.com/codenotary/immudb";
license = licenses.asl20;
maintainers = with maintainers; [ dit7ya ];
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "traefik"; pname = "traefik";
version = "2.8.4"; version = "2.8.5";
# Archive with static assets for webui # Archive with static assets for webui
src = fetchzip { src = fetchzip {
url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz"; url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz";
sha256 = "sha256-TzNjz1usnQ0CMu47i9pnCRR6N/d3ig2E0wVH3E8xJp0="; sha256 = "sha256-qRnt2ZyGMwnbilaau66/SEJOSWkKyZf1L7CLWVHme5k=";
stripRoot = false; stripRoot = false;
}; };
vendorSha256 = "sha256-+jqMokDuvw5LTqBxJ/2VyoT3wkdBHewTrYsK/5Uv6js="; vendorSha256 = "sha256-6gUnM+axlkzBwVx0OePTybPP1Fk+oqsFRED4+K9Weu4=";
subPackages = [ "cmd/traefik" ]; subPackages = [ "cmd/traefik" ];

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "wiki-js"; pname = "wiki-js";
version = "2.5.286"; version = "2.5.287";
src = fetchurl { src = fetchurl {
url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz"; url = "https://github.com/Requarks/wiki/releases/download/v${version}/${pname}.tar.gz";
sha256 = "sha256-jxnWUSvTldaIX21PryZiR4UlWmxs03gcGohOmnyDGS8="; sha256 = "sha256-6BtyDutVHFzOB1MXO2PIBbhyXveTa8M09m9qv+OKQ04=";
}; };
sourceRoot = "."; sourceRoot = ".";

View file

@ -8,14 +8,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "xonsh"; pname = "xonsh";
version = "0.13.1"; version = "0.13.3";
# fetch from github because the pypi package ships incomplete tests # fetch from github because the pypi package ships incomplete tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "xonsh"; owner = "xonsh";
repo = "xonsh"; repo = "xonsh";
rev = version; rev = "refs/tags/${version}";
sha256 = "sha256-Q9FJXccpTW3nPUOCf5UD8ZWJW25QX8PNHHpsVYjesYE="; sha256 = "sha256-COm+MZUbiFTB5EaOB+1+lIef1IfhQ95Ya1MmnJXGu6A=";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ckbcomp"; pname = "ckbcomp";
version = "1.209"; version = "1.210";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "salsa.debian.org"; domain = "salsa.debian.org";
owner = "installer-team"; owner = "installer-team";
repo = "console-setup"; repo = "console-setup";
rev = version; rev = version;
sha256 = "sha256-fTAntT2XqerCwINHXLis1KE/8h4AzXo1zg3PzglTPTg="; sha256 = "sha256-Np1u8oYIRwWlGpnpp5+VvYkZOkphv225p34og4O+HDE=";
}; };
buildInputs = [ perl ]; buildInputs = [ perl ];

View file

@ -2,13 +2,13 @@
buildGoModule rec { buildGoModule rec {
pname = "syft"; pname = "syft";
version = "0.55.0"; version = "0.56.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "anchore"; owner = "anchore";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-tzrWgmEMe7y6PQgtYiN12LGR24FuaEvzOBAfgbIOepo="; sha256 = "sha256-UEkBhVUapfHYQAUaYWHEpGgXn39Vb3NscWxynpob2MM=";
# populate values that require us to use git. By doing this in postFetch we # populate values that require us to use git. By doing this in postFetch we
# can delete .git afterwards and maintain better reproducibility of the src. # can delete .git afterwards and maintain better reproducibility of the src.
leaveDotGit = true; leaveDotGit = true;
@ -20,7 +20,7 @@ buildGoModule rec {
find "$out" -name .git -print0 | xargs -0 rm -rf find "$out" -name .git -print0 | xargs -0 rm -rf
''; '';
}; };
vendorSha256 = "sha256-HaTUjNKAZNiVcM4tZJb0r9ezsvWTlOicPct/ZtpTz5Y="; vendorSha256 = "sha256-MxaY11CfcLWonm4SXI0mjnq29h9Hz8PdiY8eFrn42a0=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View file

@ -10,11 +10,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "btrfs-progs"; pname = "btrfs-progs";
version = "5.19"; version = "5.19.1";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz";
sha256 = "sha256-H7zwbksvgOehJ/1oftRiWlt0+mdP4hLINv9w4O38zPk="; sha256 = "sha256-JkKeVANDzMf11LP49CuRZxMoDomMVHHacFAm720sEKY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -41,17 +41,17 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fcitx5"; pname = "fcitx5";
version = "5.0.18"; version = "5.0.19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fcitx"; owner = "fcitx";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ZhjNUWzi74lr8Wtf0f+VN1kc9C6q2TJ9ogXeu3NJKbI="; sha256 = "sha256-hgg7Sbe5/tAWWq2to9PceBQeUdV3UWENFgvuY0qCksM=";
}; };
prePatch = '' prePatch = ''
ln -s ${enDict} src/modules/spell/dict/$(stripHash ${enDict}) ln -s ${enDict} src/modules/spell/$(stripHash ${enDict})
''; '';
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -31,13 +31,13 @@ in
mkDerivation rec { mkDerivation rec {
pname = "fcitx5-chinese-addons"; pname = "fcitx5-chinese-addons";
version = "5.0.14"; version = "5.0.15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fcitx"; owner = "fcitx";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-ZIOPzRXW+aaVKDIBC3N04wx662r8WOa205CgTeYmudQ="; sha256 = "sha256-9AGL0eAkaA2N/aE8VlgRCnW2lAl55SroBumeU5xkW5M=";
}; };
cmakeFlags = [ cmakeFlags = [

View file

@ -26,13 +26,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "fcitx5-gtk"; pname = "fcitx5-gtk";
version = "5.0.17"; version = "5.0.18";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fcitx"; owner = "fcitx";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-sAPbbMoZ4NGiE7lbtcdzQQsPib6i52JwWsLe+bmTshU="; sha256 = "sha256-rQ2HLiI0dIerxRV+fbHpTJy4aGmFKmGd6YckKxXmp4s=";
}; };
cmakeFlags = [ cmakeFlags = [

View file

@ -2,6 +2,7 @@
, stdenv , stdenv
, fetchpatch , fetchpatch
, fetchFromGitHub , fetchFromGitHub
, nix-update-script
, rustPlatform , rustPlatform
, CoreServices , CoreServices
, which , which
@ -9,26 +10,31 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "dotter"; pname = "dotter";
version = "0.12.13"; version = "0.12.14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SuperCuber"; owner = "SuperCuber";
repo = "dotter"; repo = "dotter";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-j3Dj43AbD0V5pZ6mM1uvPsqWAVJrmWyWvwC5NK1cRRY="; hash = "sha256-GGbUpjAcihJLNNo0OtkRGQ2RcT/75vDABlHs7Atzo1s=";
}; };
cargoHash = "sha256-HPs55JBbYObunU0cSm/7lsu/DOk4ne9Ea9MCRJ427zo="; cargoHash = "sha256-uC0OwN73krM7QaQ4rtWV6IseKdZmiqrB8a6QGTs6fHE=";
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
checkInputs = [ which ]; checkInputs = [ which ];
passthru = {
updateScript = nix-update-script {
attrPath = pname;
};
};
meta = with lib; { meta = with lib; {
description = "A dotfile manager and templater written in rust 🦀"; description = "A dotfile manager and templater written in rust 🦀";
homepage = "https://github.com/SuperCuber/dotter"; homepage = "https://github.com/SuperCuber/dotter";
license = licenses.unlicense; license = licenses.unlicense;
maintainers = with maintainers; [ linsui ]; maintainers = with maintainers; [ linsui ];
mainProgram = "dotter";
}; };
} }

View file

@ -11,8 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo="; sha256 = "sha256-NzFKNCCPWBj/fhaEJF34nyeyvLMeQwIcQgTlYc6mgYo=";
}; };
# There is no dependency to vendor in this project. cargoHash = "sha256-Dc+SuLwbLFcNSr9RiNSc7dgisBOvOUEIDR8dFAkC/O0=";
cargoLock.lockFile = ./Cargo.lock;
meta = with lib; { meta = with lib; {
description = "ELF visualizer, generates HTML files from ELF binaries."; description = "ELF visualizer, generates HTML files from ELF binaries.";

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