Merge staging-next into staging

Changed files
+986 -233
doc
builders
packages
using
nixos
modules
services
continuous-integration
pkgs
applications
blockchains
logging
humioctl
misc
dasel
gsctl
networking
cluster
gatekeeper
helm-docs
helmsman
version-management
gitoxide
development
interpreters
lunatic
libraries
physics
fastjet-contrib
python-modules
azure-mgmt-containerservice
blspy
chia-rs
clvm-rs
clvm-tools
clvm-tools-rs
tools
analysis
tflint
continuous-integration
buildkite-agent
cpm
esbuild
go-toml
gore
gotestsum
hcloud
misc
grcov
grpc-client-cli
misc
fastly
servers
gpsd
jackett
monitoring
shells
zsh
oh-my-zsh
tools
audio
headsetcontrol
misc
libgen-cli
networking
checkip
gping
security
chain-bench
doppler
virtualization
top-level
-13
doc/builders/packages/unfree.xml
···
-
<section xmlns="http://docbook.org/ns/docbook"
-
xmlns:xlink="http://www.w3.org/1999/xlink"
-
xml:id="unfree-software">
-
<title>Unfree software</title>
-
-
<para>
-
All users of Nixpkgs are free software users, and many users (and developers) of Nixpkgs want to limit and tightly control their exposure to unfree software. At the same time, many users need (or want) to run some specific pieces of proprietary software. Nixpkgs includes some expressions for unfree software packages. By default unfree software cannot be installed and doesn’t show up in searches. To allow installing unfree software in a single Nix invocation one can export <literal>NIXPKGS_ALLOW_UNFREE=1</literal>. For a persistent solution, users can set <literal>allowUnfree</literal> in the Nixpkgs configuration.
-
</para>
-
-
<para>
-
Fine-grained control is possible by defining <literal>allowUnfreePredicate</literal> function in config; it takes the <literal>mkDerivation</literal> parameter attrset and returns <literal>true</literal> for unfree packages that should be allowed.
-
</para>
-
</section>
···
+5
doc/using/configuration.chapter.md
···
## Installing unfree packages {#sec-allow-unfree}
There are several ways to tweak how Nix handles a package which has been marked as unfree.
- To temporarily allow all unfree packages, you can use an environment variable for a single invocation of the nix tools:
···
## Installing unfree packages {#sec-allow-unfree}
+
All users of Nixpkgs are free software users, and many users (and developers) of Nixpkgs want to limit and tightly control their exposure to unfree software.
+
At the same time, many users need (or want) to run some specific pieces of proprietary software.
+
Nixpkgs includes some expressions for unfree software packages.
+
By default unfree software cannot be installed and doesn’t show up in searches.
+
There are several ways to tweak how Nix handles a package which has been marked as unfree.
- To temporarily allow all unfree packages, you can use an environment variable for a single invocation of the nix tools:
+24 -93
nixos/modules/services/continuous-integration/gitlab-runner.nix
···
export CONFIG_FILE=${configPath}
mkdir -p $(dirname ${configPath})
# remove no longer existing services
gitlab-runner verify --delete
···
--name "$NAME" && sleep 1
done
-
# update global options
-
remarshal --if toml --of json ${configPath} \
-
| jq -cM ${escapeShellArg (concatStringsSep " | " [
-
".check_interval = ${toJSON cfg.checkInterval}"
-
".concurrent = ${toJSON cfg.concurrent}"
-
".sentry_dsn = ${toJSON cfg.sentryDSN}"
-
".listen_address = ${toJSON cfg.prometheusListenAddress}"
-
".session_server.listen_address = ${toJSON cfg.sessionServer.listenAddress}"
-
".session_server.advertise_address = ${toJSON cfg.sessionServer.advertiseAddress}"
-
".session_server.session_timeout = ${toJSON cfg.sessionServer.sessionTimeout}"
-
"del(.[] | nulls)"
-
"del(.session_server[] | nulls)"
-
])} \
-
| remarshal --if json --of toml \
-
| sponge ${configPath}
-
# make config file readable by service
chown -R --reference=$HOME $(dirname ${configPath})
'');
···
for settings not covered by this module.
'';
};
-
checkInterval = mkOption {
-
type = types.int;
-
default = 0;
-
example = literalExpression "with lib; (length (attrNames config.services.gitlab-runner.services)) * 3";
-
description = ''
-
Defines the interval length, in seconds, between new jobs check.
-
The default value is 3;
-
if set to 0 or lower, the default value will be used.
-
See <link xlink:href="https://docs.gitlab.com/runner/configuration/advanced-configuration.html#how-check_interval-works">runner documentation</link> for more information.
-
'';
-
};
-
concurrent = mkOption {
-
type = types.int;
-
default = 1;
-
example = literalExpression "config.nix.settings.max-jobs";
-
description = ''
-
Limits how many jobs globally can be run concurrently.
-
The most upper limit of jobs using all defined runners.
-
0 does not mean unlimited.
-
'';
-
};
-
sentryDSN = mkOption {
-
type = types.nullOr types.str;
-
default = null;
-
example = "https://public:private@host:port/1";
-
description = ''
-
Data Source Name for tracking of all system level errors to Sentry.
-
'';
-
};
-
prometheusListenAddress = mkOption {
-
type = types.nullOr types.str;
-
default = null;
-
example = "localhost:8080";
-
description = ''
-
Address (&lt;host&gt;:&lt;port&gt;) on which the Prometheus metrics HTTP server
-
should be listening.
-
'';
-
};
-
sessionServer = mkOption {
type = types.submodule {
-
options = {
-
listenAddress = mkOption {
-
type = types.nullOr types.str;
-
default = null;
-
example = "0.0.0.0:8093";
-
description = ''
-
An internal URL to be used for the session server.
-
'';
-
};
-
advertiseAddress = mkOption {
-
type = types.nullOr types.str;
-
default = null;
-
example = "runner-host-name.tld:8093";
-
description = ''
-
The URL that the Runner will expose to GitLab to be used
-
to access the session server.
-
Fallbacks to <option>listenAddress</option> if not defined.
-
'';
-
};
-
sessionTimeout = mkOption {
-
type = types.int;
-
default = 1800;
-
description = ''
-
How long in seconds the session can stay active after
-
the job completes (which will block the job from finishing).
-
'';
-
};
-
};
};
default = { };
-
example = literalExpression ''
-
{
-
listenAddress = "0.0.0.0:8093";
-
}
-
'';
description = ''
-
The session server allows the user to interact with jobs
-
that the Runner is responsible for. A good example of this is the
-
<link xlink:href="https://docs.gitlab.com/ee/ci/interactive_web_terminal/index.html">interactive web terminal</link>.
'';
};
gracefulTermination = mkOption {
···
config = mkIf cfg.enable {
warnings = (mapAttrsToList
(n: v: "services.gitlab-runner.services.${n}.`registrationConfigFile` points to a file in Nix Store. You should use quoted absolute path to prevent this.")
-
(filterAttrs (n: v: isStorePath v.registrationConfigFile) cfg.services))
-
++ optional (cfg.configFile != null) "services.gitlab-runner.`configFile` is deprecated, please use services.gitlab-runner.`services`.";
environment.systemPackages = [ cfg.package ];
systemd.services.gitlab-runner = {
description = "Gitlab Runner";
···
(mkRenamedOptionModule [ "services" "gitlab-runner" "packages" ] [ "services" "gitlab-runner" "extraPackages" ] )
(mkRemovedOptionModule [ "services" "gitlab-runner" "configOptions" ] "Use services.gitlab-runner.services option instead" )
(mkRemovedOptionModule [ "services" "gitlab-runner" "workDir" ] "You should move contents of workDir (if any) to /var/lib/gitlab-runner" )
];
}
···
export CONFIG_FILE=${configPath}
mkdir -p $(dirname ${configPath})
+
touch ${configPath}
+
+
# update global options
+
remarshal --if toml --of json ${configPath} \
+
| jq -cM 'with_entries(select([.key] | inside(["runners"])))' \
+
| jq -scM '.[0] + .[1]' - <(echo ${escapeShellArg (toJSON cfg.settings)}) \
+
| remarshal --if json --of toml \
+
| sponge ${configPath}
# remove no longer existing services
gitlab-runner verify --delete
···
--name "$NAME" && sleep 1
done
# make config file readable by service
chown -R --reference=$HOME $(dirname ${configPath})
'');
···
for settings not covered by this module.
'';
};
+
settings = mkOption {
type = types.submodule {
+
freeformType = (pkgs.formats.json { }).type;
};
default = { };
description = ''
+
Global gitlab-runner configuration. See
+
<link xlink:href="https://docs.gitlab.com/runner/configuration/advanced-configuration.html#the-global-section"/>
+
for supported values.
'';
};
gracefulTermination = mkOption {
···
config = mkIf cfg.enable {
warnings = (mapAttrsToList
(n: v: "services.gitlab-runner.services.${n}.`registrationConfigFile` points to a file in Nix Store. You should use quoted absolute path to prevent this.")
+
(filterAttrs (n: v: isStorePath v.registrationConfigFile) cfg.services));
+
environment.systemPackages = [ cfg.package ];
systemd.services.gitlab-runner = {
description = "Gitlab Runner";
···
(mkRenamedOptionModule [ "services" "gitlab-runner" "packages" ] [ "services" "gitlab-runner" "extraPackages" ] )
(mkRemovedOptionModule [ "services" "gitlab-runner" "configOptions" ] "Use services.gitlab-runner.services option instead" )
(mkRemovedOptionModule [ "services" "gitlab-runner" "workDir" ] "You should move contents of workDir (if any) to /var/lib/gitlab-runner" )
+
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "checkInterval" ] [ "services" "gitlab-runner" "settings" "check_interval" ] )
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "concurrent" ] [ "services" "gitlab-runner" "settings" "concurrent" ] )
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "sentryDSN" ] [ "services" "gitlab-runner" "settings" "sentry_dsn" ] )
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "prometheusListenAddress" ] [ "services" "gitlab-runner" "settings" "listen_address" ] )
+
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "sessionServer" "listenAddress" ] [ "services" "gitlab-runner" "settings" "session_server" "listen_address" ] )
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "sessionServer" "advertiseAddress" ] [ "services" "gitlab-runner" "settings" "session_server" "advertise_address" ] )
+
(mkRenamedOptionModule [ "services" "gitlab-runner" "sessionServer" "sessionTimeout" ] [ "services" "gitlab-runner" "settings" "session_server" "session_timeout" ] )
];
}
+9 -3
pkgs/applications/blockchains/chia/default.nix
···
let chia = python3Packages.buildPythonApplication rec {
pname = "chia";
-
version = "1.3.1";
src = fetchFromGitHub {
owner = "Chia-Network";
repo = "chia-blockchain";
rev = version;
fetchSubmodules = true;
-
hash = "sha256-nH6rCzIQu5oWsdEHa+UkvbWeUGjrtpEKVEcLmSoor5k=";
};
postPatch = ''
substituteInPlace setup.py \
···
chiapos
chiavdf
chiabip158
click
clvm
clvm-rs
clvm-tools
colorama
colorlog
concurrent-log-handler
···
meta = with lib; {
homepage = "https://www.chia.net/";
description = "Chia is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure.";
-
knownVulnerabilities = [ "CVE-2022-36447" ];
license = with licenses; [ asl20 ];
maintainers = teams.chia.members;
platforms = platforms.all;
···
let chia = python3Packages.buildPythonApplication rec {
pname = "chia";
+
version = "1.5.0";
src = fetchFromGitHub {
owner = "Chia-Network";
repo = "chia-blockchain";
rev = version;
fetchSubmodules = true;
+
hash = "sha256-OlaAnUy16QBff81XMoYQaZA0wKnsr+/3XEQLBP8IMug=";
};
+
+
patches = [
+
# chia tries to put lock files in the python modules directory
+
./dont_lock_in_store.patch
+
];
postPatch = ''
substituteInPlace setup.py \
···
chiapos
chiavdf
chiabip158
+
chia-rs
click
clvm
clvm-rs
clvm-tools
+
clvm-tools-rs
colorama
colorlog
concurrent-log-handler
···
meta = with lib; {
homepage = "https://www.chia.net/";
description = "Chia is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure.";
license = with licenses; [ asl20 ];
maintainers = teams.chia.members;
platforms = platforms.all;
+21
pkgs/applications/blockchains/chia/dont_lock_in_store.patch
···
···
+
--- a/chia/wallet/puzzles/load_clvm.py
+
+++ b/chia/wallet/puzzles/load_clvm.py
+
@@ -82,18 +82,6 @@ def load_serialized_clvm(clvm_filename, package_or_requirement=__name__) -> Seri
+
"""
+
hex_filename = f"{clvm_filename}.hex"
+
+
- try:
+
- if pkg_resources.resource_exists(package_or_requirement, clvm_filename):
+
- # Establish whether the size is zero on entry
+
- full_path = pathlib.Path(pkg_resources.resource_filename(package_or_requirement, clvm_filename))
+
- output = full_path.parent / hex_filename
+
- compile_clvm(full_path, output, search_paths=[full_path.parent])
+
-
+
- except NotImplementedError:
+
- # pyinstaller doesn't support `pkg_resources.resource_exists`
+
- # so we just fall through to loading the hex clvm
+
- pass
+
-
+
clvm_hex = pkg_resources.resource_string(package_or_requirement, hex_filename).decode("utf8")
+
assert len(clvm_hex.strip()) != 0
+
clvm_blob = bytes.fromhex(clvm_hex)
+3 -3
pkgs/applications/logging/humioctl/default.nix
···
{ buildGoModule, fetchFromGitHub, installShellFiles, lib }:
let
-
humioCtlVersion = "0.28.11";
-
sha256 = "sha256-CdGeGpOEWYn7yIWJxWpRrSPHcuult+jtqpjYaSjfBLQ=";
-
vendorSha256 = "sha256-fgRQ2n5tzj5s4rT65VIqh61wDwu+x/fWhpaKwyr8XWA=";
in buildGoModule {
name = "humioctl-${humioCtlVersion}";
pname = "humioctl";
···
{ buildGoModule, fetchFromGitHub, installShellFiles, lib }:
let
+
humioCtlVersion = "0.29.1";
+
sha256 = "sha256-89rVUzxUf9lM1KE55m1EQidwc26q/QadY0kgu/afj9I=";
+
vendorSha256 = "sha256-n9gfY6oNxOjU6sGm8Bd8asFlHxm+dzHdVWj4CmfvFpA=";
in buildGoModule {
name = "humioctl-${humioCtlVersion}";
pname = "humioctl";
+2 -2
pkgs/applications/misc/dasel/default.nix
···
buildGoModule rec {
pname = "dasel";
-
version = "1.25.0";
src = fetchFromGitHub {
owner = "TomWright";
repo = "dasel";
rev = "v${version}";
-
sha256 = "sha256-VAakbuAkH7kuAx16m2vo4exikI03inXBW3OEIs5WwSY=";
};
vendorSha256 = "sha256-zli9SEBU6n0JusAquqb9+O2W4yPZS7zmC5PCebVSeIA=";
···
buildGoModule rec {
pname = "dasel";
+
version = "1.26.0";
src = fetchFromGitHub {
owner = "TomWright";
repo = "dasel";
rev = "v${version}";
+
sha256 = "sha256-edmg3LU3nQ1fWSb2jDE2kaOZ98pchm3exO/PuethTMU=";
};
vendorSha256 = "sha256-zli9SEBU6n0JusAquqb9+O2W4yPZS7zmC5PCebVSeIA=";
+3 -3
pkgs/applications/misc/gsctl/default.nix
···
buildGoModule rec {
pname = "gsctl";
-
version = "1.1.5";
src = fetchFromGitHub {
owner = "giantswarm";
repo = pname;
rev = version;
-
sha256 = "sha256-P1hJoZ1YSZTCo5ha/Um/nYVVhbYC3dcrQGJYTSnqNu4=";
};
-
vendorSha256 = "sha256-NeRABlKUpD2ZHRid/vu34Dh9uHZ+7IXWFPX8jkexUog=";
ldflags = [
"-s" "-w"
···
buildGoModule rec {
pname = "gsctl";
+
version = "1.1.6";
src = fetchFromGitHub {
owner = "giantswarm";
repo = pname;
rev = version;
+
sha256 = "sha256-eemPsrSFwgUR1Jz7283jjwMkoJR38QiaiilI9G0IQuo=";
};
+
vendorSha256 = "sha256-6b4H8YAY8d/qIGnnGPYZoXne1LXHLsc0OEq0lCeqivo=";
ldflags = [
"-s" "-w"
+2 -2
pkgs/applications/networking/cluster/gatekeeper/default.nix
···
buildGoModule rec {
pname = "gatekeeper";
-
version = "3.8.1";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "gatekeeper";
rev = "v${version}";
-
sha256 = "sha256-zEUH88sjgR738BXK2oSSM6jf5oHZt0VJv61BcxclG1Q=";
};
vendorSha256 = null;
···
buildGoModule rec {
pname = "gatekeeper";
+
version = "3.9.0";
src = fetchFromGitHub {
owner = "open-policy-agent";
repo = "gatekeeper";
rev = "v${version}";
+
sha256 = "sha256-hZ8PBJ+6G0A5tVrJfxy2rODxOxQarQg6mxG3sQCqjfY=";
};
vendorSha256 = null;
+3 -3
pkgs/applications/networking/cluster/helm-docs/default.nix
···
buildGoModule rec {
pname = "helm-docs";
-
version = "1.10.0";
src = fetchFromGitHub {
owner = "norwoodj";
repo = "helm-docs";
rev = "v${version}";
-
sha256 = "sha256-V7Qw20PPoAEXl/XAMj/WSM73fLdp/gH4G3ipx49p06o=";
};
-
vendorSha256 = "sha256-FpmeOQ8nV+sEVu2+nY9o9aFbCpwSShQUFOmyzwEQ9Pw=";
subPackages = [ "cmd/helm-docs" ];
ldflags = [
···
buildGoModule rec {
pname = "helm-docs";
+
version = "1.11.0";
src = fetchFromGitHub {
owner = "norwoodj";
repo = "helm-docs";
rev = "v${version}";
+
sha256 = "sha256-476ZhjRwHlNJFkHzY8qQ7WbAUUpFNSoxXLGX9esDA/E=";
};
+
vendorSha256 = "sha256-xXwunk9rmzZEtqmSo8biuXnAjPp7fqWdQ+Kt9+Di9N8=";
subPackages = [ "cmd/helm-docs" ];
ldflags = [
+3 -3
pkgs/applications/networking/cluster/helmsman/default.nix
···
buildGoModule rec {
pname = "helmsman";
-
version = "3.8.1";
src = fetchFromGitHub {
owner = "Praqma";
repo = "helmsman";
rev = "v${version}";
-
sha256 = "sha256-njo5LlowlgWFK5G2lpgi7hdxtnSs8f5cT0oHI7bJxNc=";
};
-
vendorSha256 = "sha256-F+b4EXAxa4+O6yepx+9eRrdq294ZcQ+sODFUCKYpSuo=";
doCheck = false;
···
buildGoModule rec {
pname = "helmsman";
+
version = "3.13.0";
src = fetchFromGitHub {
owner = "Praqma";
repo = "helmsman";
rev = "v${version}";
+
sha256 = "sha256-QyxluxAwhEZrgfMWlxB7sUZi6XGCFNGhhWRw3RmnhKM=";
};
+
vendorSha256 = "sha256-gkzDecVvHZPFWDSi8nLw2mkR4HK0+pClpaHcdFFOnF8=";
doCheck = false;
+3 -3
pkgs/applications/version-management/gitoxide/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "gitoxide";
-
version = "0.12.0";
src = fetchFromGitHub {
owner = "Byron";
repo = "gitoxide";
rev = "v${version}";
-
sha256 = "sha256-hDNlnNGm9of6Yu9WRVTRH5g4fAXlUxAexdufbZ0vMOo=";
};
-
cargoSha256 = "sha256-026DFEWu7PTvhJZP7YW3KOBOkzFRoxrc+THilit87jU=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = if stdenv.isDarwin
···
rustPlatform.buildRustPackage rec {
pname = "gitoxide";
+
version = "0.13.0";
src = fetchFromGitHub {
owner = "Byron";
repo = "gitoxide";
rev = "v${version}";
+
sha256 = "sha256-NdZ39F6nSuLZNOdoxRs79OR6I3oFASXHzm/hecDyxNI=";
};
+
cargoSha256 = "sha256-6uRLW1KJF0yskEfWm9ERQIDgVnerAhQFbMaxhnEDIOc=";
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = if stdenv.isDarwin
+4 -5
pkgs/development/interpreters/lunatic/default.nix
···
-
{ lib, rustPlatform, fetchFromGitHub, cmake, stdenv }:
rustPlatform.buildRustPackage rec {
pname = "lunatic";
-
version = "0.7.5";
src = fetchFromGitHub {
owner = "lunatic-solutions";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-HqDrGoyYzdx8OTanlRd95L1wAtFeew7Xs2rZ7nK2Zus=";
};
-
cargoSha256 = "sha256-t3EwVYrKx7dvUcSp0B1iUAklg7WdQDld/T0O1HgHw54=";
nativeBuildInputs = [ cmake ];
···
changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
-
broken = stdenv.isDarwin;
};
}
···
+
{ lib, rustPlatform, fetchFromGitHub, cmake }:
rustPlatform.buildRustPackage rec {
pname = "lunatic";
+
version = "0.9.0";
src = fetchFromGitHub {
owner = "lunatic-solutions";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-gHG8jk23qTANbLNPH4Q+YusEkDZ/G33SARAsLVLrVPs=";
};
+
cargoSha256 = "sha256-keu9lNYuOruU58YBPyqtDqBS/jjruK9GcYrKv7dGmlQ=";
nativeBuildInputs = [ cmake ];
···
changelog = "https://github.com/lunatic-solutions/lunatic/blob/v${version}/RELEASES.md";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}
+2 -2
pkgs/development/libraries/physics/fastjet-contrib/default.nix
···
stdenv.mkDerivation rec {
pname = "fastjet-contrib";
-
version = "1.048";
src = fetchurl {
url = "https://fastjet.hepforge.org/contrib/downloads/fjcontrib-${version}.tar.gz";
-
sha256 = "sha256-+ZidO2rrIoSLz5EJXDBgfwJ9PvJ3pPD3BKjw/C52aYE=";
};
buildInputs = [ fastjet ];
···
stdenv.mkDerivation rec {
pname = "fastjet-contrib";
+
version = "1.049";
src = fetchurl {
url = "https://fastjet.hepforge.org/contrib/downloads/fjcontrib-${version}.tar.gz";
+
sha256 = "sha256-ri7WIGvGJ4tl6ZpPeN8O6ykR8wGij7V7UMVzwNWGmYc=";
};
buildInputs = [ fastjet ];
+2 -2
pkgs/development/python-modules/azure-mgmt-containerservice/default.nix
···
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
-
version = "20.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
···
src = fetchPypi {
inherit pname version;
extension = "zip";
-
sha256 = "sha256-dCPFy24cXij50OH8go2idgCEXakMZu8swT5UcpNIzmA=";
};
propagatedBuildInputs = [
···
buildPythonPackage rec {
pname = "azure-mgmt-containerservice";
+
version = "20.2.0";
format = "setuptools";
disabled = pythonOlder "3.6";
···
src = fetchPypi {
inherit pname version;
extension = "zip";
+
sha256 = "sha256-+XNJbI4LTxx8kcNr6dDlcaGujrqriKaEPb0deo6YbkM=";
};
propagatedBuildInputs = [
+6 -6
pkgs/development/python-modules/blspy/default.nix
···
buildPythonPackage rec {
pname = "blspy";
-
version = "1.0.9";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
-
hash = "sha256-6keimQqwh37G9xc1Xyxlr+0n9Qgv87Np2D7Gzj6ik5Y=";
};
patches = [
···
relic_src = fetchFromGitHub {
owner = "Chia-Network";
repo = "relic";
-
rev = "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7"; # pinned by blspy
-
hash = "sha256-IfTD8DvTEXeLUoKe4Ejafb+PEJW5DV/VXRYuutwGQHU=";
};
sodium_src = fetchFromGitHub {
owner = "AmineKhaldi";
···
catch2_src = fetchFromGitHub {
owner = "catchorg";
repo = "Catch2";
-
rev = "v2.13.7"; # pinned by blspy
-
sha256 = "NhZ8Hh7dka7KggEKKZyEbIZahuuTYeCT7cYYSUvkPzI=";
};
})
];
···
buildPythonPackage rec {
pname = "blspy";
+
version = "1.0.13";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
+
hash = "sha256-feuHVtBgjzGBjY1eSKh47feTT8prdkSwvs993lJSSiI=";
};
patches = [
···
relic_src = fetchFromGitHub {
owner = "Chia-Network";
repo = "relic";
+
rev = "215c69966cb78b255995f0ee9c86bbbb41c3c42b"; # pinned by blspy
+
hash = "sha256-wivK18Cp7BMZJvrYxJgSHInRZgFgsgSzd0YIy5IWoYA=";
};
sodium_src = fetchFromGitHub {
owner = "AmineKhaldi";
···
catch2_src = fetchFromGitHub {
owner = "catchorg";
repo = "Catch2";
+
rev = "v3.0.0-preview5"; # pinned by blspy
+
sha256 = "sha256-IQ1yGZo3nKHTqScUoq3i3Njxqvk7uW8hQ3GT0/SxGaw=";
};
})
];
+2 -2
pkgs/development/python-modules/blspy/dont_fetch_dependencies.patch
···
- set(RELIC_GIT_TAG "origin/main")
-else ()
- # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
-
- set(RELIC_GIT_TAG "1d98e5abf3ca5b14fd729bd5bcced88ea70ecfd7")
-endif ()
-
message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
···
FetchContent_Declare(
Catch2
- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
-
- GIT_TAG v2.13.7
+ URL @catch2_src@
)
FetchContent_MakeAvailable(Catch2)
···
- set(RELIC_GIT_TAG "origin/main")
-else ()
- # This is currently anchored to upstream aecdcae7956f542fbee2392c1f0feb0a8ac41dc5
+
- set(RELIC_GIT_TAG "215c69966cb78b255995f0ee9c86bbbb41c3c42b")
-endif ()
-
message(STATUS "Relic will be built from: ${RELIC_GIT_TAG}")
···
FetchContent_Declare(
Catch2
- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
+
- GIT_TAG v3.0.0-preview5
+ URL @catch2_src@
)
FetchContent_MakeAvailable(Catch2)
+732
pkgs/development/python-modules/chia-rs/Cargo.lock
···
···
+
# This file is automatically @generated by Cargo.
+
# It is not intended for manual editing.
+
version = 3
+
+
[[package]]
+
name = "autocfg"
+
version = "1.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
+
+
[[package]]
+
name = "bitflags"
+
version = "1.3.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
+
+
[[package]]
+
name = "bitvec"
+
version = "0.22.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5237f00a8c86130a0cc317830e558b966dd7850d48a953d998c813f01a41b527"
+
dependencies = [
+
"funty",
+
"radium",
+
"tap",
+
"wyz",
+
]
+
+
[[package]]
+
name = "block-buffer"
+
version = "0.9.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4"
+
dependencies = [
+
"generic-array",
+
]
+
+
[[package]]
+
name = "bls12_381"
+
version = "0.5.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "54757888b09a69be70b5ec303e382a74227392086ba808cb01eeca29233a2397"
+
dependencies = [
+
"ff",
+
"group",
+
"pairing",
+
"rand_core",
+
"subtle",
+
]
+
+
[[package]]
+
name = "bumpalo"
+
version = "3.10.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "37ccbd214614c6783386c1af30caf03192f17891059cecc394b4fb119e363de3"
+
+
[[package]]
+
name = "byteorder"
+
version = "1.4.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
+
+
[[package]]
+
name = "cfg-if"
+
version = "1.0.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
+
+
[[package]]
+
name = "chia"
+
version = "0.1.5"
+
dependencies = [
+
"clvmr",
+
"hex",
+
"num-traits",
+
"pyo3",
+
"serde",
+
]
+
+
[[package]]
+
name = "chia_rs"
+
version = "0.1.5"
+
dependencies = [
+
"chia",
+
"clvmr",
+
"hex",
+
"py_streamable",
+
"pyo3",
+
"serde",
+
"sha2",
+
]
+
+
[[package]]
+
name = "chia_wasm"
+
version = "0.1.5"
+
dependencies = [
+
"chia",
+
"wasm-bindgen",
+
"wasm-bindgen-test",
+
]
+
+
[[package]]
+
name = "clvmr"
+
version = "0.1.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d18d68c7f9e8e08ea66a6673bec83100bd53103a9d504fe279147bd0a79b260c"
+
dependencies = [
+
"bls12_381",
+
"hex",
+
"lazy_static",
+
"num-bigint",
+
"num-integer",
+
"num-traits",
+
"pyo3",
+
"sha2",
+
"wasm-bindgen",
+
"wasm-bindgen-test",
+
]
+
+
[[package]]
+
name = "console_error_panic_hook"
+
version = "0.1.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "a06aeb73f470f66dcdbf7223caeebb85984942f22f1adb2a088cf9668146bbbc"
+
dependencies = [
+
"cfg-if",
+
"wasm-bindgen",
+
]
+
+
[[package]]
+
name = "cpufeatures"
+
version = "0.1.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "66c99696f6c9dd7f35d486b9d04d7e6e202aa3e8c40d553f2fdf5e7e0c6a71ef"
+
dependencies = [
+
"libc",
+
]
+
+
[[package]]
+
name = "ctor"
+
version = "0.1.22"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f877be4f7c9f246b183111634f75baa039715e3f46ce860677d3b19a69fb229c"
+
dependencies = [
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "digest"
+
version = "0.9.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066"
+
dependencies = [
+
"generic-array",
+
]
+
+
[[package]]
+
name = "ff"
+
version = "0.10.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d0f40b2dcd8bc322217a5f6559ae5f9e9d1de202a2ecee2e9eafcbece7562a4f"
+
dependencies = [
+
"bitvec",
+
"rand_core",
+
"subtle",
+
]
+
+
[[package]]
+
name = "funty"
+
version = "1.2.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1847abb9cb65d566acd5942e94aea9c8f547ad02c98e1649326fc0e8910b8b1e"
+
+
[[package]]
+
name = "generic-array"
+
version = "0.14.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fd48d33ec7f05fbfa152300fdad764757cbded343c1aa1cff2fbaf4134851803"
+
dependencies = [
+
"typenum",
+
"version_check",
+
]
+
+
[[package]]
+
name = "ghost"
+
version = "0.1.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b93490550b1782c589a350f2211fff2e34682e25fed17ef53fc4fa8fe184975e"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "group"
+
version = "0.10.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "1c363a5301b8f153d80747126a04b3c82073b9fe3130571a9d170cacdeaf7912"
+
dependencies = [
+
"byteorder",
+
"ff",
+
"rand_core",
+
"subtle",
+
]
+
+
[[package]]
+
name = "hex"
+
version = "0.4.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
+
[[package]]
+
name = "indoc"
+
version = "0.3.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "47741a8bc60fb26eb8d6e0238bbb26d8575ff623fdc97b1a2c00c050b9684ed8"
+
dependencies = [
+
"indoc-impl",
+
"proc-macro-hack",
+
]
+
+
[[package]]
+
name = "indoc-impl"
+
version = "0.3.6"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ce046d161f000fffde5f432a0d034d0341dc152643b2598ed5bfce44c4f3a8f0"
+
dependencies = [
+
"proc-macro-hack",
+
"proc-macro2",
+
"quote",
+
"syn",
+
"unindent",
+
]
+
+
[[package]]
+
name = "instant"
+
version = "0.1.12"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
+
dependencies = [
+
"cfg-if",
+
]
+
+
[[package]]
+
name = "inventory"
+
version = "0.1.11"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f0eb5160c60ba1e809707918ee329adb99d222888155835c6feedba19f6c3fd4"
+
dependencies = [
+
"ctor",
+
"ghost",
+
"inventory-impl",
+
]
+
+
[[package]]
+
name = "inventory-impl"
+
version = "0.1.11"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7e41b53715c6f0c4be49510bb82dee2c1e51c8586d885abe65396e82ed518548"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "js-sys"
+
version = "0.3.52"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ce791b7ca6638aae45be056e068fc756d871eb3b3b10b8efa62d1c9cec616752"
+
dependencies = [
+
"wasm-bindgen",
+
]
+
+
[[package]]
+
name = "lazy_static"
+
version = "1.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
+
+
[[package]]
+
name = "libc"
+
version = "0.2.126"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
+
+
[[package]]
+
name = "lock_api"
+
version = "0.4.7"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
+
dependencies = [
+
"autocfg",
+
"scopeguard",
+
]
+
+
[[package]]
+
name = "log"
+
version = "0.4.17"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
+
dependencies = [
+
"cfg-if",
+
]
+
+
[[package]]
+
name = "num-bigint"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "4e0d047c1062aa51e256408c560894e5251f08925980e53cf1aa5bd00eec6512"
+
dependencies = [
+
"autocfg",
+
"num-integer",
+
"num-traits",
+
]
+
+
[[package]]
+
name = "num-integer"
+
version = "0.1.44"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d2cc698a63b549a70bc047073d2949cce27cd1c7b0a4a862d08a8031bc2801db"
+
dependencies = [
+
"autocfg",
+
"num-traits",
+
]
+
+
[[package]]
+
name = "num-traits"
+
version = "0.2.14"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "9a64b1ec5cda2586e284722486d802acf1f7dbdc623e2bfc57e65ca1cd099290"
+
dependencies = [
+
"autocfg",
+
]
+
+
[[package]]
+
name = "once_cell"
+
version = "1.13.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1"
+
+
[[package]]
+
name = "opaque-debug"
+
version = "0.3.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
+
+
[[package]]
+
name = "pairing"
+
version = "0.20.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7de9d09263c9966e8196fe0380c9dbbc7ea114b5cf371ba29004bc1f9c6db7f3"
+
dependencies = [
+
"group",
+
]
+
+
[[package]]
+
name = "parking_lot"
+
version = "0.11.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
+
dependencies = [
+
"instant",
+
"lock_api",
+
"parking_lot_core",
+
]
+
+
[[package]]
+
name = "parking_lot_core"
+
version = "0.8.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
+
dependencies = [
+
"cfg-if",
+
"instant",
+
"libc",
+
"redox_syscall",
+
"smallvec",
+
"winapi",
+
]
+
+
[[package]]
+
name = "paste"
+
version = "0.1.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "45ca20c77d80be666aef2b45486da86238fabe33e38306bd3118fe4af33fa880"
+
dependencies = [
+
"paste-impl",
+
"proc-macro-hack",
+
]
+
+
[[package]]
+
name = "paste-impl"
+
version = "0.1.18"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d95a7db200b97ef370c8e6de0088252f7e0dfff7d047a28528e47456c0fc98b6"
+
dependencies = [
+
"proc-macro-hack",
+
]
+
+
[[package]]
+
name = "proc-macro-hack"
+
version = "0.5.19"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
+
+
[[package]]
+
name = "proc-macro2"
+
version = "1.0.42"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c278e965f1d8cf32d6e0e96de3d3e79712178ae67986d9cf9151f51e95aac89b"
+
dependencies = [
+
"unicode-ident",
+
]
+
+
[[package]]
+
name = "py_streamable"
+
version = "0.1.0"
+
dependencies = [
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "pyo3"
+
version = "0.15.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "7cf01dbf1c05af0a14c7779ed6f3aa9deac9c3419606ac9de537a2d649005720"
+
dependencies = [
+
"cfg-if",
+
"indoc",
+
"inventory",
+
"libc",
+
"parking_lot",
+
"paste",
+
"pyo3-build-config",
+
"pyo3-macros",
+
"unindent",
+
]
+
+
[[package]]
+
name = "pyo3-build-config"
+
version = "0.15.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "779239fc40b8e18bc8416d3a37d280ca9b9fb04bda54b98037bb6748595c2410"
+
dependencies = [
+
"once_cell",
+
]
+
+
[[package]]
+
name = "pyo3-macros"
+
version = "0.15.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "67701eb32b1f9a9722b4bc54b548ff9d7ebfded011c12daece7b9063be1fd755"
+
dependencies = [
+
"pyo3-macros-backend",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "pyo3-macros-backend"
+
version = "0.15.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "f44f09e825ee49a105f2c7b23ebee50886a9aee0746f4dd5a704138a64b0218a"
+
dependencies = [
+
"proc-macro2",
+
"pyo3-build-config",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "quote"
+
version = "1.0.20"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
+
dependencies = [
+
"proc-macro2",
+
]
+
+
[[package]]
+
name = "radium"
+
version = "0.6.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "643f8f41a8ebc4c5dc4515c82bb8abd397b527fc20fd681b7c011c2aee5d44fb"
+
+
[[package]]
+
name = "rand_core"
+
version = "0.6.3"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7"
+
+
[[package]]
+
name = "redox_syscall"
+
version = "0.2.16"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
+
dependencies = [
+
"bitflags",
+
]
+
+
[[package]]
+
name = "scoped-tls"
+
version = "1.0.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
+
+
[[package]]
+
name = "scopeguard"
+
version = "1.1.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
+
+
[[package]]
+
name = "serde"
+
version = "1.0.140"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03"
+
dependencies = [
+
"serde_derive",
+
]
+
+
[[package]]
+
name = "serde_derive"
+
version = "1.0.140"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
]
+
+
[[package]]
+
name = "sha2"
+
version = "0.9.5"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b362ae5752fd2137731f9fa25fd4d9058af34666ca1966fb969119cc35719f12"
+
dependencies = [
+
"block-buffer",
+
"cfg-if",
+
"cpufeatures",
+
"digest",
+
"opaque-debug",
+
]
+
+
[[package]]
+
name = "smallvec"
+
version = "1.9.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1"
+
+
[[package]]
+
name = "subtle"
+
version = "2.4.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601"
+
+
[[package]]
+
name = "syn"
+
version = "1.0.98"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"unicode-ident",
+
]
+
+
[[package]]
+
name = "tap"
+
version = "1.0.1"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
+
+
[[package]]
+
name = "typenum"
+
version = "1.15.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "dcf81ac59edc17cc8697ff311e8f5ef2d99fcbd9817b34cec66f90b6c3dfd987"
+
+
[[package]]
+
name = "unicode-ident"
+
version = "1.0.2"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "15c61ba63f9235225a22310255a29b806b907c9b8c964bcbd0a2c70f3f2deea7"
+
+
[[package]]
+
name = "unindent"
+
version = "0.1.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "52fee519a3e570f7df377a06a1a7775cdbfb7aa460be7e08de2b1f0e69973a44"
+
+
[[package]]
+
name = "version_check"
+
version = "0.9.4"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
+
+
[[package]]
+
name = "wasm-bindgen"
+
version = "0.2.75"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "b608ecc8f4198fe8680e2ed18eccab5f0cd4caaf3d83516fa5fb2e927fda2586"
+
dependencies = [
+
"cfg-if",
+
"wasm-bindgen-macro",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-backend"
+
version = "0.2.75"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "580aa3a91a63d23aac5b6b267e2d13cb4f363e31dce6c352fca4752ae12e479f"
+
dependencies = [
+
"bumpalo",
+
"lazy_static",
+
"log",
+
"proc-macro2",
+
"quote",
+
"syn",
+
"wasm-bindgen-shared",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-futures"
+
version = "0.4.25"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "16646b21c3add8e13fdb8f20172f8a28c3dbf62f45406bcff0233188226cfe0c"
+
dependencies = [
+
"cfg-if",
+
"js-sys",
+
"wasm-bindgen",
+
"web-sys",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-macro"
+
version = "0.2.75"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "171ebf0ed9e1458810dfcb31f2e766ad6b3a89dbda42d8901f2b268277e5f09c"
+
dependencies = [
+
"quote",
+
"wasm-bindgen-macro-support",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-macro-support"
+
version = "0.2.75"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "6c2657dd393f03aa2a659c25c6ae18a13a4048cebd220e147933ea837efc589f"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
"syn",
+
"wasm-bindgen-backend",
+
"wasm-bindgen-shared",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-shared"
+
version = "0.2.75"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "2e0c4a743a309662d45f4ede961d7afa4ba4131a59a639f29b0069c3798bbcc2"
+
+
[[package]]
+
name = "wasm-bindgen-test"
+
version = "0.3.25"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ce783b6c3854292723f498b7bfcf65a782a320b6f1cb3012d08dfbc603fa62f5"
+
dependencies = [
+
"console_error_panic_hook",
+
"js-sys",
+
"scoped-tls",
+
"wasm-bindgen",
+
"wasm-bindgen-futures",
+
"wasm-bindgen-test-macro",
+
]
+
+
[[package]]
+
name = "wasm-bindgen-test-macro"
+
version = "0.3.25"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "3859815cf8435b92f3a34381bef950daffc1403bbb77ef99e35422a7b0abb194"
+
dependencies = [
+
"proc-macro2",
+
"quote",
+
]
+
+
[[package]]
+
name = "web-sys"
+
version = "0.3.52"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "01c70a82d842c9979078c772d4a1344685045f1a5628f677c2b2eab4dd7d2696"
+
dependencies = [
+
"js-sys",
+
"wasm-bindgen",
+
]
+
+
[[package]]
+
name = "winapi"
+
version = "0.3.9"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+
dependencies = [
+
"winapi-i686-pc-windows-gnu",
+
"winapi-x86_64-pc-windows-gnu",
+
]
+
+
[[package]]
+
name = "winapi-i686-pc-windows-gnu"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+
[[package]]
+
name = "winapi-x86_64-pc-windows-gnu"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+
[[package]]
+
name = "wyz"
+
version = "0.4.0"
+
source = "registry+https://github.com/rust-lang/crates.io-index"
+
checksum = "129e027ad65ce1453680623c3fb5163cbf7107bfe1aa32257e7d0e63f9ced188"
+
dependencies = [
+
"tap",
+
]
+49
pkgs/development/python-modules/chia-rs/default.nix
···
···
+
{ buildPythonPackage
+
, lib
+
, fetchFromGitHub
+
, pytestCheckHook
+
, rustPlatform
+
}:
+
+
buildPythonPackage rec {
+
pname = "chia-rs";
+
version = "0.1.5";
+
+
src = fetchFromGitHub {
+
owner = "chia-network";
+
repo = "chia_rs";
+
rev = version;
+
sha256 = "sha256-4TIRj7FMIArI/EvDARReC4MqDG44zjn/MKoUHAVqq5s=";
+
};
+
+
cargoDeps = rustPlatform.importCargoLock {
+
lockFile = ./Cargo.lock;
+
};
+
+
postPatch = ''
+
cp ${./Cargo.lock} Cargo.lock
+
'';
+
+
nativeBuildInputs = with rustPlatform; [
+
cargoSetupHook
+
maturinBuildHook
+
];
+
+
preBuild = ''
+
# avoid ENOENT in maturinBuildHook
+
touch wheel/Cargo.lock
+
'';
+
+
checkInputs = [
+
pytestCheckHook
+
];
+
+
buildAndTestSubdir = "wheel";
+
+
meta = with lib; {
+
description = "Rust crate & wheel with consensus code";
+
homepage = "https://github.com/Chia-Network/chia_rs/";
+
license = licenses.asl20;
+
maintainers = teams.chia.members;
+
};
+
}
-26
pkgs/development/python-modules/clvm-rs/default.nix
···
, pkgs
}:
-
let
-
# clvm-rs does not work with maturin 0.12
-
# https://github.com/Chia-Network/clvm_rs/commit/32fba40178a5440a1306623f47d8b0684ae2339a#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
-
maturin_0_11 = with pkgs; rustPlatform.buildRustPackage rec {
-
pname = "maturin";
-
version = "0.11.5";
-
src = fetchFromGitHub {
-
owner = "PyO3";
-
repo = "maturin";
-
rev = "v${version}";
-
hash = "sha256-hwc6WObcJa6EXf+9PRByUtiupMMYuXThA8i/K4rl0MA=";
-
};
-
cargoHash = "sha256-qGCEfKpQwAC57LKonFnUEgLW4Cc7HFJgSyUOzHkKN9c=";
-
-
-
nativeBuildInputs = [ pkg-config ];
-
-
buildInputs = lib.optionals stdenv.isLinux [ dbus ]
-
++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ];
-
-
# Requires network access, fails in sandbox.
-
doCheck = false;
-
};
-
in
-
buildPythonPackage rec {
pname = "clvm_rs";
version = "0.1.19";
···
nativeBuildInputs = [
perl # used by openssl-sys to configure
-
maturin_0_11
] ++ (with rustPlatform; [
cargoSetupHook
maturinBuildHook
···
, pkgs
}:
buildPythonPackage rec {
pname = "clvm_rs";
version = "0.1.19";
···
nativeBuildInputs = [
perl # used by openssl-sys to configure
] ++ (with rustPlatform; [
cargoSetupHook
maturinBuildHook
+40
pkgs/development/python-modules/clvm-tools-rs/default.nix
···
···
+
{ lib
+
, fetchFromGitHub
+
, buildPythonPackage
+
, rustPlatform
+
, pythonOlder
+
}:
+
+
buildPythonPackage rec {
+
pname = "clvm-tools-rs";
+
version = "0.1.19";
+
disabled = pythonOlder "3.7";
+
format = "pyproject";
+
+
src = fetchFromGitHub {
+
owner = "Chia-Network";
+
repo = "clvm_tools_rs";
+
rev = version;
+
sha256 = "sha256-LQbFBZBLUAjyqIAWIn+N8tUrBMskRoKvMMg5gfTyVU8=";
+
};
+
+
cargoDeps = rustPlatform.fetchCargoTarball {
+
inherit src;
+
name = "${pname}-${version}";
+
sha256 = "sha256-LcDWpMM+PUElsXO82H6QVOp338+NduC/j3pXQKSni3I=";
+
};
+
+
nativeBuildInputs = with rustPlatform; [
+
cargoSetupHook
+
maturinBuildHook
+
];
+
+
pythonImportsCheck = [ "clvm_tools_rs" ];
+
+
meta = with lib; {
+
homepage = "https://chialisp.com/";
+
description = "Rust port of clvm_tools";
+
license = licenses.asl20;
+
maintainers = teams.chia.members;
+
};
+
}
+2 -2
pkgs/development/python-modules/clvm-tools/default.nix
···
buildPythonPackage rec {
pname = "clvm_tools";
-
version = "0.4.3";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Chia-Network";
repo = "clvm_tools";
rev = version;
-
sha256 = "sha256-bWz3YCrakob/kROq+LOA+yD1wtIbInVrmDqtg4/cV4g=";
};
nativeBuildInputs = [
···
buildPythonPackage rec {
pname = "clvm_tools";
+
version = "0.4.4";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Chia-Network";
repo = "clvm_tools";
rev = version;
+
sha256 = "sha256-Fv7NTUEjbEDALyc+WLDQ7yJOdODZCwLobN+vUvaBWMY=";
};
nativeBuildInputs = [
+3 -3
pkgs/development/tools/analysis/tflint/default.nix
···
buildGoModule rec {
pname = "tflint";
-
version = "0.38.1";
src = fetchFromGitHub {
owner = "terraform-linters";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-sBvfcAOkfZ5V7SrLBWrSQr5zXwqbwOBmYehujk0y6eg=";
};
-
vendorSha256 = "sha256-2v070TwDWkN4HZ/EOu85lotA9qIKLgpwD9TrfH7pGY4=";
doCheck = false;
···
buildGoModule rec {
pname = "tflint";
+
version = "0.39.0";
src = fetchFromGitHub {
owner = "terraform-linters";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-hyaYHn2Hzq6k4HSSy86zloLG1Sy/hpHpmj1xUD2UoG8=";
};
+
vendorSha256 = "sha256-6sk1bFuSCrKt9uMrrwOpX/SBZrjFvtqVPFylbRNHpz4=";
doCheck = false;
+3 -3
pkgs/development/tools/continuous-integration/buildkite-agent/default.nix
···
nixosTests }:
buildGoModule rec {
pname = "buildkite-agent";
-
version = "3.37.0";
src = fetchFromGitHub {
owner = "buildkite";
repo = "agent";
rev = "v${version}";
-
sha256 = "sha256-fjPMf9upHksijVApXgXumxCueI7huWRqQsIyAx7BCpI=";
};
-
vendorSha256 = "sha256-BV5GUqv3u3kE4qOkEBmc3mGFJHqrGRxwObEY4PzRboA=";
postPatch = ''
substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
···
nixosTests }:
buildGoModule rec {
pname = "buildkite-agent";
+
version = "3.38.0";
src = fetchFromGitHub {
owner = "buildkite";
repo = "agent";
rev = "v${version}";
+
sha256 = "sha256-W93yvdyfk6niSZ/usiOp6Yb8tFgEuC3UmJI6zDEHsFY=";
};
+
vendorSha256 = "sha256-n+n+Fank/L8mVCB7ulVXJkpJpr65ELirtBqScot2ANM=";
postPatch = ''
substituteInPlace bootstrap/shell/shell.go --replace /bin/bash ${bash}/bin/bash
+2 -2
pkgs/development/tools/cpm/default.nix
···
stdenvNoCC.mkDerivation rec {
pname = "cpm";
-
version = "0.35.1";
src = fetchurl {
url = "https://github.com/cpm-cmake/CPM.cmake/releases/download/v${version}/CPM.cmake";
-
sha256 = "sha256-CMge+NpJRU+G+c+s0tb2EN8UG6E8FE90lIvcULggYXY=";
};
dontUnpack = true;
···
stdenvNoCC.mkDerivation rec {
pname = "cpm";
+
version = "0.35.2";
src = fetchurl {
url = "https://github.com/cpm-cmake/CPM.cmake/releases/download/v${version}/CPM.cmake";
+
sha256 = "sha256-QZ3h2x92ltvevcynNYiS+ZCPWnM6T0hyXLLVweFJX2w=";
};
dontUnpack = true;
+3 -3
pkgs/development/tools/esbuild/default.nix
···
buildGoModule rec {
pname = "esbuild";
-
version = "0.14.49";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
-
sha256 = "sha256-bQt9dLkwvXT4pLxTwYp+5Bg6IgwBnB8uu1gdAmhPn0A=";
};
-
vendorSha256 = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
subPackages = [ "cmd/esbuild" ];
···
buildGoModule rec {
pname = "esbuild";
+
version = "0.14.50";
src = fetchFromGitHub {
owner = "evanw";
repo = "esbuild";
rev = "v${version}";
+
sha256 = "sha256-hW57Ey+2wr7p2ilsMp0luSTOD8aABPpI7GuP0xS7HfY=";
};
+
vendorSha256 = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
subPackages = [ "cmd/esbuild" ];
+3 -3
pkgs/development/tools/go-toml/default.nix
···
buildGoModule rec {
pname = "go-toml";
-
version = "2.0.0";
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-NdUD+QpqKU5CaY2vBEop6hoK6z1Ok4Dn+W9eUHaGFb4=";
};
-
vendorSha256 = "sha256-TuyrtUAbT++S3glpCD603KV6QMkOFv5FgnPpYcMjy1I=";
excludedPackages = [ "cmd/gotoml-test-decoder" "cmd/tomltestgen" ];
···
buildGoModule rec {
pname = "go-toml";
+
version = "2.0.2";
src = fetchFromGitHub {
owner = "pelletier";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-lZUM31lA6l35EHEZnw6i+WR7qBo692RvlOBkxxBq6Vs=";
};
+
vendorSha256 = "sha256-/F/ZbeNkiiO2+QibpoKUi1kC3Wv5Jujx6r468irlea0=";
excludedPackages = [ "cmd/gotoml-test-decoder" "cmd/tomltestgen" ];
+2 -2
pkgs/development/tools/gore/default.nix
···
buildGoModule rec {
pname = "gore";
-
version = "0.5.4";
src = fetchFromGitHub {
owner = "motemen";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-ipHvflsVBSjqohV/PliS0s0Nhie4nIP/HgupNH/Yui4=";
};
vendorSha256 = "sha256-HrdNWsUVz5G5tG/ZFz2z1Vt4kM12I088/6OIkRFyDl8=";
···
buildGoModule rec {
pname = "gore";
+
version = "0.5.5";
src = fetchFromGitHub {
owner = "motemen";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-ZNv3sqwOEtxjvyqC9oR8xYwo8sywU2MF8ngBw407/ko=";
};
vendorSha256 = "sha256-HrdNWsUVz5G5tG/ZFz2z1Vt4kM12I088/6OIkRFyDl8=";
+2 -2
pkgs/development/tools/gotestsum/default.nix
···
buildGoModule rec {
pname = "gotestsum";
-
version = "1.8.0";
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "v${version}";
-
sha256 = "sha256-6GEkuVa6RCMv0FsTYXhhscVe3Ya78qwbj7Im9AL0fOo=";
};
vendorSha256 = "sha256-wP5y8Ec6eSe+rdMEQQdX0fFTQ0HWuiyBRHxGlraZd+o=";
···
buildGoModule rec {
pname = "gotestsum";
+
version = "1.8.1";
src = fetchFromGitHub {
owner = "gotestyourself";
repo = "gotestsum";
rev = "v${version}";
+
sha256 = "sha256-EACzBakuMlwDUJTk/63OxFx3olNtyDLBYRdGE9BSSYI=";
};
vendorSha256 = "sha256-wP5y8Ec6eSe+rdMEQQdX0fFTQ0HWuiyBRHxGlraZd+o=";
+3 -3
pkgs/development/tools/hcloud/default.nix
···
buildGoModule rec {
pname = "hcloud";
-
version = "1.30.0";
src = fetchFromGitHub {
owner = "hetznercloud";
repo = "cli";
rev = "v${version}";
-
sha256 = "sha256-mbMrXPQg5yUhmfJ3ztrXD/NKmwJKkZFFPu+utrsaPEc=";
};
-
vendorSha256 = "sha256-++uvg/vXRX2lPU4CmqAcLWbsWBXZHXaXO4qXEaq90T4";
ldflags = [
"-s" "-w"
···
buildGoModule rec {
pname = "hcloud";
+
version = "1.30.1";
src = fetchFromGitHub {
owner = "hetznercloud";
repo = "cli";
rev = "v${version}";
+
sha256 = "sha256-0zVbk8NuPGYyEcYV1F1if8VdKa4MnW2v+VQcvgM9bZ8=";
};
+
vendorSha256 = "sha256-++uvg/vXRX2lPU4CmqAcLWbsWBXZHXaXO4qXEaq90T4=";
ldflags = [
"-s" "-w"
+3 -3
pkgs/development/tools/misc/grcov/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "grcov";
-
version = "0.8.9";
src = fetchFromGitHub {
owner = "mozilla";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-VSjKZoK/o05kYX5mRCnaS6r/+4dZep9Bp9Im1Zw7piM=";
};
-
cargoSha256 = "sha256-7I0BizeDbikpog0YG/X8vwoO4PGE1qYzRTWTr0RUQws=";
# tests do not find grcov path correctly
checkFlags = let
···
rustPlatform.buildRustPackage rec {
pname = "grcov";
+
version = "0.8.11";
src = fetchFromGitHub {
owner = "mozilla";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-PUZ60dc2ciUInr98dF67Fi0xP/IHgITtYYG54wlLZYE=";
};
+
cargoSha256 = "sha256-7bDWxiVmSi2GT6cSTzT0GTAs1qmFaj40JmVaD/sFwsA=";
# tests do not find grcov path correctly
checkFlags = let
+3 -3
pkgs/development/tools/misc/grpc-client-cli/default.nix
···
buildGoModule rec {
pname = "grpc-client-cli";
-
version = "1.12.0";
src = fetchFromGitHub {
owner = "vadimi";
repo = "grpc-client-cli";
rev = "v${version}";
-
sha256 = "sha256-hsx+nmkYLkSsrUEDAf5556qNLeZ3w5txFBUpDv+b3a4=";
};
-
vendorSha256 = "sha256-1WcnEl3odjxyXfSNyzPU3fa5yrF4MaEgfCAsbr3xedA=";
meta = with lib; {
description = "generic gRPC command line client";
···
buildGoModule rec {
pname = "grpc-client-cli";
+
version = "1.13.0";
src = fetchFromGitHub {
owner = "vadimi";
repo = "grpc-client-cli";
rev = "v${version}";
+
sha256 = "sha256-lm+XPZB1USYV3bSYyQCgHJwG6DkhDuAbTaUycxu+CeM=";
};
+
vendorSha256 = "sha256-benXxv//bB4fcfAsZ69DZu9E+4iKQgVbaWGYcFsnyfM=";
meta = with lib; {
description = "generic gRPC command line client";
+3 -2
pkgs/misc/fastly/default.nix
···
-
{ lib, fetchFromGitHub, installShellFiles, buildGoModule }:
buildGoModule rec {
pname = "fastly";
···
"-w"
"-X github.com/fastly/cli/pkg/revision.AppVersion=v${version}"
"-X github.com/fastly/cli/pkg/revision.Environment=release"
];
preBuild = ''
ldflags+=" -X github.com/fastly/cli/pkg/revision.GitCommit=$(cat COMMIT)"
-
ldflags+=" -X 'github.com/fastly/cli/pkg/revision.GoVersion=$(go version)'"
'';
postInstall = ''
···
+
{ lib, fetchFromGitHub, installShellFiles, buildGoModule, go }:
buildGoModule rec {
pname = "fastly";
···
"-w"
"-X github.com/fastly/cli/pkg/revision.AppVersion=v${version}"
"-X github.com/fastly/cli/pkg/revision.Environment=release"
+
"-X github.com/fastly/cli/pkg/revision.GoHostOS=${go.GOHOSTOS}"
+
"-X github.com/fastly/cli/pkg/revision.GoHostArch=${go.GOHOSTARCH}"
];
preBuild = ''
ldflags+=" -X github.com/fastly/cli/pkg/revision.GitCommit=$(cat COMMIT)"
'';
postInstall = ''
-1
pkgs/servers/gpsd/default.nix
···
# remove binaries for x-less install because xgps sconsflag is partially broken
postFixup = ''
-
${if guiSupport then "" else "rm $out/bin/xgps*"}
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
···
# remove binaries for x-less install because xgps sconsflag is partially broken
postFixup = ''
wrapPythonProgramsIn $out/bin "$out $pythonPath"
'';
+2 -2
pkgs/servers/jackett/default.nix
···
buildDotnetModule rec {
pname = "jackett";
-
version = "0.20.915";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
-
sha256 = "aKl0PTzmaBPhVihWDP2WMlt3aA9D53w/o/wOFQo7ArA=";
};
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
···
buildDotnetModule rec {
pname = "jackett";
+
version = "0.20.1473";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
+
sha256 = "5HrdlBk/MKBW1Y5WsKRRxF1vYagsQnCBo5a1lhMDklE=";
};
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+2 -2
pkgs/servers/monitoring/loki/default.nix
···
}:
buildGoModule rec {
-
version = "2.6.0";
pname = "grafana-loki";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "loki";
-
sha256 = "sha256-LPunSNKF0HBlmYOn0AIT0zLSVmLaizDnDchJhMjexfM=";
};
vendorSha256 = null;
···
}:
buildGoModule rec {
+
version = "2.6.1";
pname = "grafana-loki";
src = fetchFromGitHub {
rev = "v${version}";
owner = "grafana";
repo = "loki";
+
sha256 = "sha256-6g0tzI6ZW+wwbPrNTdj0t2H0/M8+M9ioJl6iPL0mAtY=";
};
vendorSha256 = null;
+3 -3
pkgs/shells/zsh/oh-my-zsh/default.nix
···
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }:
stdenv.mkDerivation rec {
-
version = "2022-07-12";
pname = "oh-my-zsh";
-
rev = "249c708ed3a4a7a63d16a6e911a46b6fb9623cbd";
src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
-
sha256 = "zBLgAS96uovLIrKLoVSjRJKeoRkGWu6TQqsvoYokLV4=";
};
strictDeps = true;
···
, git, nix, nixfmt, jq, coreutils, gnused, curl, cacert, bash }:
stdenv.mkDerivation rec {
+
version = "2022-07-26";
pname = "oh-my-zsh";
+
rev = "bb6c14cdfd0b7d543d0d9c2e5f0c0a9409a82084";
src = fetchFromGitHub {
inherit rev;
owner = "ohmyzsh";
repo = "ohmyzsh";
+
sha256 = "jlQKnF5vZp7ARVXtV/WEnTIV0m5FwqTj83igDyMyTTQ=";
};
strictDeps = true;
+2 -2
pkgs/tools/audio/headsetcontrol/default.nix
···
stdenv.mkDerivation rec {
pname = "headsetcontrol";
-
version = "2.6";
src = fetchFromGitHub {
owner = "Sapd";
repo = "HeadsetControl";
rev = version;
-
sha256 = "0a7zimzi71416pmn6z0l1dn1c2x8p702hkd0k6da9rsznff85a88";
};
nativeBuildInputs = [
···
stdenv.mkDerivation rec {
pname = "headsetcontrol";
+
version = "2.6.1";
src = fetchFromGitHub {
owner = "Sapd";
repo = "HeadsetControl";
rev = version;
+
sha256 = "sha256-SVOcRzR52RYZsk/OWAr1/s+Nm6x48OxG0TF7yQ+Kb94=";
};
nativeBuildInputs = [
+10 -7
pkgs/tools/misc/libgen-cli/default.nix
···
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "libgen-cli";
-
version = "1.0.7";
src = fetchFromGitHub {
owner = "ciehanski";
repo = pname;
rev = "v${version}";
-
sha256 = "15nzdwhmgpm36dqx7an5rjl5sw2r4p66qn2y3jzl6fc0y7224ns1";
};
-
vendorSha256 = "0smb83mq711b2pby57ijcllccn7y2l10zb4fbf779xibb2g09608";
doCheck = false;
subPackages = [ "." ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
-
for shell in bash zsh; do
-
$out/bin/libgen-cli completion $shell > libgen-cli.$shell || :
-
installShellCompletion libgen-cli.$shell
-
done
'';
meta = with lib; {
···
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
+
buildGoModule rec {
pname = "libgen-cli";
+
version = "1.0.9";
src = fetchFromGitHub {
owner = "ciehanski";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-Ga9C4h1dcjIdsLJLgZ9s1Fnq4ejI5q0gUtapg/FpLcM=";
};
+
vendorSha256 = "sha256-uHu0BfF26COL/S/yswdcVJVYwozl8Pl3RXHSctYQi+s=";
doCheck = false;
subPackages = [ "." ];
nativeBuildInputs = [ installShellFiles ];
+
+
ldflags = [ "-s" "-w" ];
postInstall = ''
+
installShellCompletion --cmd libgen-cli \
+
--bash <($out/bin/libgen-cli completion bash) \
+
--fish <($out/bin/libgen-cli completion fish) \
+
--zsh <($out/bin/libgen-cli completion zsh)
'';
meta = with lib; {
+2 -2
pkgs/tools/networking/checkip/default.nix
···
buildGoModule rec {
pname = "checkip";
-
version = "0.38.5";
src = fetchFromGitHub {
owner = "jreisinger";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-ZwrwBWhji/moT1dQBCkMP5DI+xEfE6dGtZerFubobjc=";
};
vendorSha256 = "sha256-cahrJvPSemlEpaQ1s4bbi1yp0orTDGOoanqXDVVIpjQ=";
···
buildGoModule rec {
pname = "checkip";
+
version = "0.40.0";
src = fetchFromGitHub {
owner = "jreisinger";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-rq1pmGcRrpqM+ffiWhgAG/L0UqtvD4XWRblzv49P9T8=";
};
vendorSha256 = "sha256-cahrJvPSemlEpaQ1s4bbi1yp0orTDGOoanqXDVVIpjQ=";
+3 -3
pkgs/tools/networking/gping/default.nix
···
rustPlatform.buildRustPackage rec {
pname = "gping";
-
version = "1.3.1";
src = fetchFromGitHub {
owner = "orf";
repo = "gping";
rev = "gping-v${version}";
-
sha256 = "sha256-/CH9cSOkgXxdxSN1G4Jg404KOHEYhnsSCK4QB6Zdk+A=";
};
-
cargoSha256 = "sha256-2knD3MwrJKvbdovh6bd81GqHHqeAG1OFzXsLB4eO0Do=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
···
rustPlatform.buildRustPackage rec {
pname = "gping";
+
version = "1.3.2";
src = fetchFromGitHub {
owner = "orf";
repo = "gping";
rev = "gping-v${version}";
+
sha256 = "sha256-hAUmRUMhP3rD1k6UhIN94/Kt+OjaytUTM3XIcrvasco=";
};
+
cargoSha256 = "sha256-SqQsKTS3psF/xfwyBRQB9c3/KIZU1fpyqVy9fh4Rqkk=";
buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ];
+3 -3
pkgs/tools/security/chain-bench/default.nix
···
buildGoModule rec {
pname = "chain-bench";
-
version = "0.1.0";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
-
sha256 = "sha256-8KsEjVZJtQ4oj4UVM2TRzAOPUeUWKVwPM+8zLzsvLq0=";
};
-
vendorSha256 = "sha256-UWm6Bg6E6Vo6giztkPqCLaM7BBxJ+qmlXlYat3xlSYM=";
nativeBuildInputs = [ installShellFiles ];
···
buildGoModule rec {
pname = "chain-bench";
+
version = "0.1.3";
src = fetchFromGitHub {
owner = "aquasecurity";
repo = pname;
rev = "v${version}";
+
sha256 = "sha256-qNprOxp8PKV5nld4uDGH0I0KG0r5sH7vr6It62J8RXc=";
};
+
vendorSha256 = "sha256-54q486c/uUpatLQ3/FiVZxqu9NCkzcf8yQUZnAtrqYg=";
nativeBuildInputs = [ installShellFiles ];
+3 -3
pkgs/tools/security/doppler/default.nix
···
buildGoModule rec {
pname = "doppler";
-
version = "3.38.0";
src = fetchFromGitHub {
owner = "dopplerhq";
repo = "cli";
rev = version;
-
sha256 = "sha256-GKsq6AhkhacG+5XIELpe58bDe5l3BnLCwJHMkCzTzJU=";
};
-
vendorSha256 = "sha256-VPxHxNtDeP5CFDMTeMsZYED9ZGWMquJdeupeCVldY/E=";
ldflags = [ "-X github.com/DopplerHQ/cli/pkg/version.ProgramVersion=v${version}" ];
···
buildGoModule rec {
pname = "doppler";
+
version = "3.40.1";
src = fetchFromGitHub {
owner = "dopplerhq";
repo = "cli";
rev = version;
+
sha256 = "sha256-OVfclCkyFw9GO7sGjId40vrmnt4oyHjNYZBNFjyYFUc=";
};
+
vendorSha256 = "sha256-evG1M0ZHfn9hsMsSncwxF5Hr/VJ7y6Ir0D2gHJaunBo=";
ldflags = [ "-X github.com/DopplerHQ/cli/pkg/version.ProgramVersion=v${version}" ];
+2 -2
pkgs/tools/virtualization/govc/default.nix
···
buildGoModule rec {
pname = "govc";
-
version = "0.28.0";
subPackages = [ "govc" ];
···
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
-
sha256 = "sha256-uK1JsBJC9O8dEJbAnyeMoolKZ2WhEPsDo/is/I+gfHg=";
};
vendorSha256 = "sha256-jbGqQITAhyBLoDa3cKU5gK+4WGgoGSCyFtzeoXx8e7k=";
···
buildGoModule rec {
pname = "govc";
+
version = "0.29.0";
subPackages = [ "govc" ];
···
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
+
sha256 = "sha256-SVQyl1uI3wGBBDhz2VLm0uJj+aREqNot7K+iGRHGmhI=";
};
vendorSha256 = "sha256-jbGqQITAhyBLoDa3cKU5gK+4WGgoGSCyFtzeoXx8e7k=";
+3 -1
pkgs/top-level/all-packages.nix
···
extrude = callPackage ../tools/security/extrude { };
-
fastly = callPackage ../misc/fastly {};
f2 = callPackage ../tools/misc/f2 {};
···
extrude = callPackage ../tools/security/extrude { };
+
fastly = callPackage ../misc/fastly {
+
# If buildGoModule is overriden, provide a matching version of the go attribute
+
};
f2 = callPackage ../tools/misc/f2 {};
+4
pkgs/top-level/python-packages.nix
···
chiavdf = callPackage ../development/python-modules/chiavdf { };
chirpstack-api = callPackage ../development/python-modules/chirpstack-api { };
chispa = callPackage ../development/python-modules/chispa { };
···
clvm-rs = callPackage ../development/python-modules/clvm-rs { };
clvm-tools = callPackage ../development/python-modules/clvm-tools { };
cma = callPackage ../development/python-modules/cma { };
···
chiavdf = callPackage ../development/python-modules/chiavdf { };
+
chia-rs = callPackage ../development/python-modules/chia-rs { };
+
chirpstack-api = callPackage ../development/python-modules/chirpstack-api { };
chispa = callPackage ../development/python-modules/chispa { };
···
clvm-rs = callPackage ../development/python-modules/clvm-rs { };
clvm-tools = callPackage ../development/python-modules/clvm-tools { };
+
+
clvm-tools-rs = callPackage ../development/python-modules/clvm-tools-rs { };
cma = callPackage ../development/python-modules/cma { };