mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
Merge master into staging-next
This commit is contained in:
commit
ac34133fb9
3
.mailmap
3
.mailmap
@ -1,6 +1,9 @@
|
||||
ajs124 <git@ajs124.de> <ajs124@users.noreply.github.com>
|
||||
Anderson Torres <torres.anderson.85@protonmail.com>
|
||||
Atemu <git@atemu.net> <atemu.main@gmail.com>
|
||||
Christina Sørensen <christina@cafkafk.com>
|
||||
Christina Sørensen <christina@cafkafk.com> <christinaafk@gmail.com>
|
||||
Christina Sørensen <christina@cafkafk.com> <89321978+cafkafk@users.noreply.github.com>
|
||||
Daniel Løvbrøtte Olsen <me@dandellion.xyz> <daniel.olsen99@gmail.com>
|
||||
Fabian Affolter <mail@fabian-affolter.ch> <fabian@affolter-engineering.ch>
|
||||
goatastronaut0212 <goatastronaut0212@outlook.com> <goatastronaut0212@proton.me>
|
||||
|
@ -23,12 +23,13 @@ The recommended way of defining a derivation for a Coq library, is to use the `c
|
||||
* if it is a string of the form `owner:branch` then it tries to download the `branch` of owner `owner` for a project of the same name using the same vcs, and the `version` attribute of the resulting derivation is set to `"dev"`, additionally if the owner is not provided (i.e. if the `owner:` prefix is missing), it defaults to the original owner of the package (see below),
|
||||
* if it is a string of the form `"#N"`, and the domain is github, then it tries to download the current head of the pull request `#N` from github,
|
||||
* `defaultVersion` (optional). Coq libraries may be compatible with some specific versions of Coq only. The `defaultVersion` attribute is used when no `version` is provided (or if `version = null`) to select the version of the library to use by default, depending on the context. This selection will mainly depend on a `coq` version number but also possibly on other packages versions (e.g. `mathcomp`). If its value ends up to be `null`, the package is marked for removal in end-user `coqPackages` attribute set.
|
||||
* `release` (optional, defaults to `{}`), lists all the known releases of the library and for each of them provides an attribute set with at least a `hash` attribute (you may put the empty string `""` in order to automatically insert a fake hash, this will trigger an error which will allow you to find the correct hash), each attribute set of the list of releases also takes optional overloading arguments for the fetcher as below (i.e.`domain`, `owner`, `repo`, `rev` assuming the default fetcher is used) and optional overrides for the result of the fetcher (i.e. `version` and `src`).
|
||||
* `release` (optional, defaults to `{}`), lists all the known releases of the library and for each of them provides an attribute set with at least a `hash` attribute (you may put the empty string `""` in order to automatically insert a fake hash, this will trigger an error which will allow you to find the correct hash), each attribute set of the list of releases also takes optional overloading arguments for the fetcher as below (i.e.`domain`, `owner`, `repo`, `rev`, `artifact` assuming the default fetcher is used) and optional overrides for the result of the fetcher (i.e. `version` and `src`).
|
||||
* `fetcher` (optional, defaults to a generic fetching mechanism supporting github or gitlab based infrastructures), is a function that takes at least an `owner`, a `repo`, a `rev`, and a `hash` and returns an attribute set with a `version` and `src`.
|
||||
* `repo` (optional, defaults to the value of `pname`),
|
||||
* `owner` (optional, defaults to `"coq-community"`).
|
||||
* `domain` (optional, defaults to `"github.com"`), domains including the strings `"github"` or `"gitlab"` in their names are automatically supported, otherwise, one must change the `fetcher` argument to support them (cf `pkgs/development/coq-modules/heq/default.nix` for an example),
|
||||
* `releaseRev` (optional, defaults to `(v: v)`), provides a default mapping from release names to revision hashes/branch names/tags,
|
||||
* `releaseArtifact` (optional, defaults to `(v: null)`), provides a default mapping from release names to artifact names (only works for github artifact for now),
|
||||
* `displayVersion` (optional), provides a way to alter the computation of `name` from `pname`, by explaining how to display version numbers,
|
||||
* `namePrefix` (optional, defaults to `[ "coq" ]`), provides a way to alter the computation of `name` from `pname`, by explaining which dependencies must occur in `name`,
|
||||
* `nativeBuildInputs` (optional), is a list of executables that are required to build the current derivation, in addition to the default ones (namely `which`, `dune` and `ocaml` depending on whether `useDune`, `useDuneifVersion` and `mlPlugin` are set).
|
||||
|
@ -64,7 +64,7 @@
|
||||
boot.loader.grub.enable = false;
|
||||
fileSystems."/".device = "nodev";
|
||||
# See https://search.nixos.org/options?show=system.stateVersion&query=stateversion
|
||||
system.stateVersion = lib.versions.majorMinor lib.version; # DON'T do this in real configs!
|
||||
system.stateVersion = lib.trivial.release; # DON'T do this in real configs!
|
||||
})
|
||||
];
|
||||
}).config.system.build.toplevel;
|
||||
|
@ -150,6 +150,15 @@ in
|
||||
Whether to configure the sd image to expand it's partition on boot.
|
||||
'';
|
||||
};
|
||||
|
||||
nixPathRegistrationFile = mkOption {
|
||||
type = types.str;
|
||||
default = "/nix-path-registration";
|
||||
description = ''
|
||||
Location of the file containing the input for nix-store --load-db once the machine has booted.
|
||||
If overriding fileSystems."/" then you should to set this to the root mount + /nix-path-registration
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
@ -255,11 +264,8 @@ in
|
||||
'';
|
||||
}) {};
|
||||
|
||||
boot.postBootCommands = lib.mkIf config.sdImage.expandOnBoot ''
|
||||
# On the first boot do some maintenance tasks
|
||||
if [ -f /nix-path-registration ]; then
|
||||
set -euo pipefail
|
||||
set -x
|
||||
boot.postBootCommands = let
|
||||
expandOnBoot = lib.optionalString config.sdImage.expandOnBoot ''
|
||||
# Figure out device names for the boot device and root filesystem.
|
||||
rootPart=$(${pkgs.util-linux}/bin/findmnt -n -o SOURCE /)
|
||||
bootDevice=$(lsblk -npo PKNAME $rootPart)
|
||||
@ -269,16 +275,25 @@ in
|
||||
echo ",+," | sfdisk -N$partNum --no-reread $bootDevice
|
||||
${pkgs.parted}/bin/partprobe
|
||||
${pkgs.e2fsprogs}/bin/resize2fs $rootPart
|
||||
'';
|
||||
nixPathRegistrationFile = config.sdImage.nixPathRegistrationFile;
|
||||
in ''
|
||||
# On the first boot do some maintenance tasks
|
||||
if [ -f ${nixPathRegistrationFile} ]; then
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
${expandOnBoot}
|
||||
|
||||
# Register the contents of the initial Nix store
|
||||
${config.nix.package.out}/bin/nix-store --load-db < /nix-path-registration
|
||||
${config.nix.package.out}/bin/nix-store --load-db < ${nixPathRegistrationFile}
|
||||
|
||||
# nixos-rebuild also requires a "system" profile and an /etc/NIXOS tag.
|
||||
touch /etc/NIXOS
|
||||
${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system
|
||||
|
||||
# Prevents this from running on later boots.
|
||||
rm -f /nix-path-registration
|
||||
rm -f ${nixPathRegistrationFile}
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
@ -249,7 +249,7 @@ in
|
||||
};
|
||||
|
||||
host = mkOption {
|
||||
type = with types; nullOr path;
|
||||
type = with types; nullOr str;
|
||||
default = if cfg.settings.database.backend == "postgresql" then "/run/postgresql" else null;
|
||||
defaultText = literalExpression ''
|
||||
if config.services.pretix.settings..database.backend == "postgresql" then "/run/postgresql"
|
||||
|
@ -49,7 +49,7 @@ let
|
||||
system.nixos.revision = nixpkgs.rev or nixpkgs.shortRev;
|
||||
|
||||
# At creation time we do not have state yet, so just default to latest.
|
||||
system.stateVersion = config.system.nixos.version;
|
||||
system.stateVersion = config.system.nixos.release;
|
||||
};
|
||||
|
||||
makeModules = module: rest: [ configuration versionModule module rest ];
|
||||
|
@ -16,7 +16,7 @@ let
|
||||
|
||||
imports = [ ../modules/profiles/minimal.nix ];
|
||||
|
||||
system.stateVersion = config.system.nixos.version;
|
||||
system.stateVersion = config.system.nixos.release;
|
||||
};
|
||||
|
||||
containerSystem = (import ../lib/eval-config.nix {
|
||||
|
@ -1,4 +1,13 @@
|
||||
# run tests by building `neovim.tests`
|
||||
/*
|
||||
run tests with `nix-build -A neovim.tests`
|
||||
|
||||
The attrset exposes both the wrapped neovim and the associated test for easier debugging
|
||||
|
||||
Here are some common neovim flags used in the tests:
|
||||
-e runs neovim in `:h Ex-mode` which returns an exit code != 0 when hitting an error
|
||||
-i NONE gets rid of shada warnings
|
||||
|
||||
*/
|
||||
{ vimUtils, writeText, neovim, vimPlugins
|
||||
, neovimUtils, wrapNeovimUnstable
|
||||
, neovim-unwrapped
|
||||
@ -43,7 +52,7 @@ let
|
||||
'';
|
||||
};
|
||||
|
||||
nvim-with-luasnip = wrapNeovim2 "-with-lua-packages" (makeNeovimConfig {
|
||||
nvim-with-luasnip = wrapNeovim2 "-with-luasnip" (makeNeovimConfig {
|
||||
plugins = [ {
|
||||
plugin = vimPlugins.luasnip;
|
||||
|
||||
@ -65,15 +74,6 @@ let
|
||||
sha256 = "1ykcvyx82nhdq167kbnpgwkgjib8ii7c92y3427v986n2s5lsskc";
|
||||
};
|
||||
|
||||
# this plugin checks that it's ftplugin/vim.tex is loaded before $VIMRUNTIME/ftplugin/vim.tex
|
||||
# $VIMRUNTIME/ftplugin/vim.tex sources $VIMRUNTIME/ftplugin/initex.vim which sets b:did_ftplugin
|
||||
# we save b:did_ftplugin's value in a `plugin_was_loaded_too_late` file
|
||||
texFtplugin = (pkgs.runCommandLocal "tex-ftplugin" {} ''
|
||||
mkdir -p $out/ftplugin
|
||||
echo 'call system("echo ". exists("b:did_ftplugin") . " > plugin_was_loaded_too_late")' >> $out/ftplugin/tex.vim
|
||||
echo ':q!' >> $out/ftplugin/tex.vim
|
||||
'') // { pname = "test-ftplugin"; };
|
||||
|
||||
# neovim-drv must be a wrapped neovim
|
||||
runTest = neovim-drv: buildCommand:
|
||||
runCommandLocal "test-${neovim-drv.name}" ({
|
||||
@ -81,18 +81,21 @@ let
|
||||
meta.platforms = neovim-drv.meta.platforms;
|
||||
}) (''
|
||||
source ${nmt}/bash-lib/assertions.sh
|
||||
vimrc="${writeText "init.vim" neovim-drv.initRc}"
|
||||
luarc="${writeText "init.lua" neovim-drv.luaRcContent}"
|
||||
vimrc="${writeText "test-${neovim-drv.name}-init.vim" neovim-drv.initRc}"
|
||||
luarc="${writeText "test-${neovim-drv.name}-init.lua" neovim-drv.luaRcContent}"
|
||||
luarcGeneric="$out/patched.lua"
|
||||
vimrcGeneric="$out/patched.vim"
|
||||
mkdir $out
|
||||
export HOME=$TMPDIR
|
||||
${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$vimrc" > "$vimrcGeneric"
|
||||
${pkgs.perl}/bin/perl -pe "s|\Q$NIX_STORE\E/[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" < "$luarc" > "$luarcGeneric"
|
||||
'' + buildCommand);
|
||||
|
||||
in
|
||||
pkgs.recurseIntoAttrs (
|
||||
rec {
|
||||
pkgs.recurseIntoAttrs (rec {
|
||||
|
||||
inherit nmt;
|
||||
|
||||
vim_empty_config = vimUtils.vimrcFile { beforePlugins = ""; customRC = ""; };
|
||||
|
||||
### neovim tests
|
||||
@ -138,11 +141,21 @@ rec {
|
||||
};
|
||||
|
||||
run_nvim_with_plug = runTest nvim_with_plug ''
|
||||
export HOME=$TMPDIR
|
||||
${nvim_with_plug}/bin/nvim -i NONE -c 'color base16-tomorrow-night' +quit! -e
|
||||
${nvim_with_plug}/bin/nvim -V3log.txt -i NONE -c 'color base16-tomorrow-night' +quit! -e
|
||||
'';
|
||||
|
||||
nvim_with_ftplugin = neovim.override {
|
||||
nvim_with_ftplugin = let
|
||||
# this plugin checks that it's ftplugin/vim.tex is loaded before $VIMRUNTIME/ftplugin/vim.tex
|
||||
# $VIMRUNTIME/ftplugin/vim.tex sources $VIMRUNTIME/ftplugin/initex.vim which sets b:did_ftplugin
|
||||
# we save b:did_ftplugin's value in a `plugin_was_loaded_too_late` file
|
||||
texFtplugin = (pkgs.runCommandLocal "tex-ftplugin" {} ''
|
||||
mkdir -p $out/ftplugin
|
||||
echo 'call system("echo ". exists("b:did_ftplugin") . " > plugin_was_loaded_too_late")' >> $out/ftplugin/tex.vim
|
||||
echo ':q!' >> $out/ftplugin/tex.vim
|
||||
'') // { pname = "test-ftplugin"; };
|
||||
in
|
||||
|
||||
neovim.override {
|
||||
extraName = "-with-ftplugin";
|
||||
configure.packages.plugins = {
|
||||
start = [
|
||||
@ -154,13 +167,14 @@ rec {
|
||||
# regression test that ftplugin files from plugins are loaded before the ftplugin
|
||||
# files from $VIMRUNTIME
|
||||
run_nvim_with_ftplugin = runTest nvim_with_ftplugin ''
|
||||
export HOME=$TMPDIR
|
||||
echo '\documentclass{article}' > main.tex
|
||||
|
||||
${nvim_with_ftplugin}/bin/nvim main.tex -c "set ft?" -c quit
|
||||
${nvim_with_ftplugin}/bin/nvim -i NONE -V3log.txt main.tex -c "set ft?" -c quit
|
||||
ls -l $TMPDIR
|
||||
# if the file exists, then our plugin has been loaded instead of neovim's
|
||||
[ ! -f plugin_was_loaded_too_late ]
|
||||
# check the saved value b:did_ftplugin then our plugin has been loaded instead of neovim's
|
||||
result="$(cat plugin_was_loaded_too_late)"
|
||||
echo $result
|
||||
[ "$result" = 0 ]
|
||||
'';
|
||||
|
||||
|
||||
@ -191,8 +205,8 @@ rec {
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
checkHelpLuaPackages = runTest nvim_with_gitsigns_plugin ''
|
||||
export HOME=$TMPDIR
|
||||
${nvim_with_gitsigns_plugin}/bin/nvim -i NONE -c 'help gitsigns' +quitall! -e
|
||||
'';
|
||||
|
||||
@ -220,8 +234,8 @@ rec {
|
||||
|
||||
checkAliases = runTest nvim_with_aliases ''
|
||||
folder=${nvim_with_aliases}/bin
|
||||
assertFileExists "$folder/vi"
|
||||
assertFileExists "$folder/vim"
|
||||
assertFileIsExecutable "$folder/vi"
|
||||
assertFileIsExecutable "$folder/vim"
|
||||
'';
|
||||
|
||||
# having no RC generated should autodisable init.vim wrapping
|
||||
@ -247,8 +261,7 @@ rec {
|
||||
});
|
||||
|
||||
nvim_with_lua_packages = runTest nvimWithLuaPackages ''
|
||||
export HOME=$TMPDIR
|
||||
${nvimWithLuaPackages}/bin/nvim -i NONE --noplugin -es
|
||||
${nvimWithLuaPackages}/bin/nvim -V3log.txt -i NONE --noplugin +quitall! -e
|
||||
'';
|
||||
|
||||
# nixpkgs should install optional packages in the opt folder
|
||||
@ -286,7 +299,6 @@ rec {
|
||||
};
|
||||
|
||||
run_nvim_with_opt_plugin = runTest nvim_with_opt_plugin ''
|
||||
export HOME=$TMPDIR
|
||||
${nvim_with_opt_plugin}/bin/nvim -i NONE +quit! -e
|
||||
'';
|
||||
|
||||
@ -296,9 +308,8 @@ rec {
|
||||
# for instance luasnip has a dependency on jsregexp
|
||||
can_require_transitive_deps =
|
||||
runTest nvim-with-luasnip ''
|
||||
export HOME=$TMPDIR
|
||||
cat ${nvim-with-luasnip}/bin/nvim
|
||||
${nvim-with-luasnip}/bin/nvim -i NONE --cmd "lua require'jsregexp'" -e
|
||||
${nvim-with-luasnip}/bin/nvim -i NONE --cmd "lua require'jsregexp'" -e +quitall!
|
||||
'';
|
||||
|
||||
})
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
let
|
||||
pname = "texmacs";
|
||||
version = "2.1.2";
|
||||
version = "2.1.4";
|
||||
common = callPackage ./common.nix {
|
||||
inherit extraFonts chineseFonts japaneseFonts koreanFonts;
|
||||
tex = texliveSmall;
|
||||
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
|
||||
hash = "sha256-Ds9gxOwMYSttEWrawgxLHGxHyMBvt8WmyPIwBP2g/CM=";
|
||||
hash = "sha256-h6aSLuDdrAtVzOnNVPqMEWX9WLDHtkCjPy9JXWnBgYY=";
|
||||
};
|
||||
|
||||
postPatch = common.postPatch + ''
|
||||
|
@ -4073,8 +4073,8 @@ let
|
||||
mktplcRef = {
|
||||
name = "wikitext";
|
||||
publisher = "RoweWilsonFrederiskHolme";
|
||||
version = "3.8.1";
|
||||
hash = "sha256-piwS3SPjx10nsjN5axC+EN0MEDf0r2lVFllqQzciOfc=";
|
||||
version = "3.8.2";
|
||||
hash = "sha256-rWifSoJSN37xPIaCQgPyXRz9tCX2Akahl/3CuqzXq94=";
|
||||
};
|
||||
meta = {
|
||||
description = "Extension that helps users view and write MediaWiki's Wikitext files";
|
||||
|
@ -121,10 +121,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hunspellDicts.en-us
|
||||
hunspellDicts.es-es
|
||||
hunspellDicts.it-it
|
||||
|
||||
python3.pkgs.nose
|
||||
];
|
||||
|
||||
# Tests have never been enabled, and upstream uses nose as a test
|
||||
# runner (though not as a library).
|
||||
doCheck = false;
|
||||
|
||||
preBuild = ''
|
||||
|
@ -33,14 +33,14 @@ let
|
||||
}.${system} or throwSystem;
|
||||
|
||||
hash = {
|
||||
x86_64-linux = "sha256-25FFXrUE1NvIXlOFR9KZyjD3w8xuvPlpqz/KkUTt1TQ=";
|
||||
x86_64-linux = "sha256-l7uu101UcY5AGMh6BzMvXvPMw1tlaX6grus9eL9Kxf8=";
|
||||
}.${system} or throwSystem;
|
||||
|
||||
displayname = "XPipe";
|
||||
|
||||
in stdenvNoCC.mkDerivation rec {
|
||||
pname = "xpipe";
|
||||
version = "11.2";
|
||||
version = "11.3";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/xpipe-io/xpipe/releases/download/${version}/xpipe-portable-linux-${arch}.tar.gz";
|
||||
|
@ -5,7 +5,7 @@
|
||||
# - The exact version can be specified through the `version` argument to
|
||||
# the derivation; it defaults to the latest stable version.
|
||||
|
||||
{ lib, stdenv, fetchzip, writeText, pkg-config, gnumake42
|
||||
{ lib, stdenv, fetchzip, fetchurl, writeText, pkg-config, gnumake42
|
||||
, customOCamlPackages ? null
|
||||
, ocamlPackages_4_05, ocamlPackages_4_09, ocamlPackages_4_10, ocamlPackages_4_12
|
||||
, ocamlPackages_4_14
|
||||
@ -62,7 +62,7 @@ let
|
||||
};
|
||||
releaseRev = v: "V${v}";
|
||||
fetched = import ../../../../build-support/coq/meta-fetch/default.nix
|
||||
{ inherit lib stdenv fetchzip; }
|
||||
{ inherit lib stdenv fetchzip fetchurl; }
|
||||
{ inherit release releaseRev; location = { owner = "coq"; repo = "coq";}; }
|
||||
args.version;
|
||||
version = fetched.version;
|
||||
|
@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
|
||||
# requirements.txt
|
||||
let pp = python.pkgs; in ([
|
||||
pp.numpy pp.scipy pp.scikit-image pp.h5py
|
||||
pp.matplotlib pp.ipython pp.networkx pp.nose
|
||||
pp.matplotlib pp.ipython pp.networkx
|
||||
pp.pandas pp.python-dateutil pp.protobuf pp.gflags
|
||||
pp.pyyaml pp.pillow pp.six
|
||||
] ++ lib.optional leveldbSupport pp.leveldb)
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "git-town";
|
||||
version = "16.1.1";
|
||||
version = "16.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "git-town";
|
||||
repo = "git-town";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-H4FtFSI/c7UxRLZB8kz873DIN6kLUwmRZtz3+4zaR7w=";
|
||||
hash = "sha256-/60n/JvT7XRfEVic6Jmi05WpsAy4mRsE/GAnetTMC1I=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, coqPackages, coq, which, fetchzip }@args:
|
||||
{ lib, stdenv, coqPackages, coq, which, fetchzip, fetchurl }@args:
|
||||
|
||||
let
|
||||
lib = import ./extra-lib.nix {
|
||||
@ -71,7 +71,7 @@ let
|
||||
"extraInstallFlags" "setCOQBIN" "mlPlugin"
|
||||
"dropAttrs" "dropDerivationAttrs" "keepAttrs" ] ++ dropAttrs) keepAttrs;
|
||||
fetch = import ../coq/meta-fetch/default.nix
|
||||
{ inherit lib stdenv fetchzip; } ({
|
||||
{ inherit lib stdenv fetchzip fetchurl; } ({
|
||||
inherit release releaseRev;
|
||||
location = { inherit domain owner repo; };
|
||||
} // optionalAttrs (args?fetcher) {inherit fetcher;});
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchzip }@args:
|
||||
{ lib, stdenv, fetchurl, fetchzip }@args:
|
||||
|
||||
let
|
||||
lib = import ../extra-lib.nix {
|
||||
@ -28,11 +28,16 @@ let
|
||||
|
||||
inherit (lib.strings) match split;
|
||||
|
||||
default-fetcher = {domain ? "github.com", owner ? "", repo, rev, name ? "source", sha256 ? null, ...}@args:
|
||||
let ext = if args?sha256 then "zip" else "tar.gz";
|
||||
fmt = if args?sha256 then "zip" else "tarball";
|
||||
default-fetcher = {domain ? "github.com", owner ? "", repo, rev, name ? "source", sha256 ? null, artifact ? null, ...}@args:
|
||||
let kind = switch-if [
|
||||
{ cond = artifact != null; out = {ext = "tbz"; fmt = "tbz"; fetchfun = fetchurl; }; }
|
||||
{ cond = args?sha256 ; out = {ext = "zip"; fmt = "zip"; fetchfun = fetchzip; }; }
|
||||
] {ext = "tar.gz"; fmt = "tarball"; fetchfun = builtins.fetchTarball; }; in
|
||||
with kind; let
|
||||
pr = match "^#(.*)$" rev;
|
||||
url = switch-if [
|
||||
{ cond = pr == null && (match "^github.*" domain) != null && artifact != null;
|
||||
out = "https://github.com/${owner}/${repo}/releases/download/${rev}/${artifact}"; }
|
||||
{ cond = pr == null && (match "^github.*" domain) != null;
|
||||
out = "https://${domain}/${owner}/${repo}/archive/${rev}.${ext}"; }
|
||||
{ cond = pr != null && (match "^github.*" domain) != null;
|
||||
@ -42,7 +47,7 @@ let
|
||||
{ cond = (match "(www.)?mpi-sws.org" domain) != null;
|
||||
out = "https://www.mpi-sws.org/~${owner}/${repo}/download/${repo}-${rev}.${ext}";}
|
||||
] (throw "meta-fetch: no fetcher found for domain ${domain} on ${rev}");
|
||||
fetch = x: if args?sha256 then fetchzip (x // { inherit sha256; }) else builtins.fetchTarball x;
|
||||
fetch = x: fetchfun (if args?sha256 then (x // { inherit sha256; }) else x);
|
||||
in fetch { inherit url ; };
|
||||
in
|
||||
{
|
||||
@ -50,8 +55,10 @@ in
|
||||
location,
|
||||
release ? {},
|
||||
releaseRev ? (v: v),
|
||||
releaseArtifact ? (v: null)
|
||||
}:
|
||||
let isVersion = x: isString x && match "^/.*" x == null && release?${x};
|
||||
let
|
||||
isVersion = x: isString x && match "^/.*" x == null && release?${x};
|
||||
shortVersion = x: if (isString x && match "^/.*" x == null)
|
||||
then findFirst (v: versions.majorMinor v == x) null
|
||||
(sort versionAtLeast (attrNames release))
|
||||
@ -71,7 +78,7 @@ switch arg [
|
||||
in
|
||||
{
|
||||
version = rv.version or v;
|
||||
src = rv.src or fetcher (location // { rev = releaseRev v; } // rv);
|
||||
src = rv.src or fetcher (location // { rev = releaseRev v; artifact = releaseArtifact v; } // rv);
|
||||
};
|
||||
}
|
||||
{ case = isString;
|
||||
|
@ -94,12 +94,6 @@ let
|
||||
or (if finalAttrs.composerRepository.composerLock == null then nix-update-script { } else null);
|
||||
};
|
||||
|
||||
env = {
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_DISABLE_NETWORK = "1";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
};
|
||||
|
||||
meta = previousAttrs.meta or { } // {
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
@ -102,13 +102,6 @@ let
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
env = {
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
COMPOSER_HTACCESS_PROTECT = "0";
|
||||
COMPOSER_DISABLE_NETWORK = "0";
|
||||
};
|
||||
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo =
|
||||
if (finalAttrs ? vendorHash && finalAttrs.vendorHash != "") then null else "sha256";
|
||||
|
@ -149,12 +149,6 @@ let
|
||||
or (if finalAttrs.vendor.composerLock == null then nix-update-script { } else null);
|
||||
};
|
||||
|
||||
env = {
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_DISABLE_NETWORK = "1";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
};
|
||||
|
||||
meta = previousAttrs.meta or composer.meta;
|
||||
};
|
||||
in
|
||||
|
@ -24,7 +24,7 @@ composerInstallConfigureHook() {
|
||||
fi
|
||||
|
||||
if [[ ! -f "composer.lock" ]]; then
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
composer \
|
||||
--no-install \
|
||||
@ -79,7 +79,7 @@ composerInstallConfigureHook() {
|
||||
composerInstallBuildHook() {
|
||||
echo "Executing composerInstallBuildHook"
|
||||
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
# Since this file cannot be generated in the composer-repository-hook.sh
|
||||
# because the file contains hardcoded nix store paths, we generate it here.
|
||||
@ -99,7 +99,8 @@ composerInstallCheckHook() {
|
||||
composerInstallInstallHook() {
|
||||
echo "Executing composerInstallInstallHook"
|
||||
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
setComposerEnvVariables
|
||||
|
||||
# Finally, run `composer install` to install the dependencies and generate
|
||||
# the autoloader.
|
||||
|
@ -20,7 +20,7 @@ composerRepositoryConfigureHook() {
|
||||
fi
|
||||
|
||||
if [[ ! -f "composer.lock" ]]; then
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
composer \
|
||||
--no-install \
|
||||
@ -58,7 +58,7 @@ composerRepositoryBuildHook() {
|
||||
|
||||
mkdir -p repository
|
||||
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
# Build the local composer repository
|
||||
# The command 'build-local-repo' is provided by the Composer plugin
|
||||
|
@ -28,7 +28,7 @@ composerWithPluginConfigureHook() {
|
||||
cp -ar $src $out/src
|
||||
|
||||
if [[ ! -f "$out/composer.lock" ]]; then
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
composer \
|
||||
global \
|
||||
|
@ -2,7 +2,7 @@ declare version
|
||||
declare composerStrictValidation
|
||||
declare composerGlobal
|
||||
|
||||
setComposeRootVersion() {
|
||||
setComposerRootVersion() {
|
||||
set +e # Disable exit on error
|
||||
|
||||
if [[ -v version ]]; then
|
||||
@ -13,8 +13,15 @@ setComposeRootVersion() {
|
||||
set -e
|
||||
}
|
||||
|
||||
setComposerEnvVariables() {
|
||||
echo -e "\e[32mSetting some required environment variables for Composer...\e[0m"
|
||||
export COMPOSER_MIRROR_PATH_REPOS=1
|
||||
export COMPOSER_CACHE_DIR=/dev/null
|
||||
export COMPOSER_HTACCESS_PROTECT=0
|
||||
}
|
||||
|
||||
checkComposerValidate() {
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
if [ "1" == "${composerGlobal-}" ]; then
|
||||
global="global";
|
||||
|
@ -94,12 +94,6 @@ let
|
||||
or (if finalAttrs.composerVendor.composerLock == null then nix-update-script { } else null);
|
||||
};
|
||||
|
||||
env = {
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_DISABLE_NETWORK = "1";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
};
|
||||
|
||||
meta = previousAttrs.meta or { } // {
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
@ -87,13 +87,6 @@ let
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
env = {
|
||||
COMPOSER_CACHE_DIR = "/dev/null";
|
||||
COMPOSER_MIRROR_PATH_REPOS = "1";
|
||||
COMPOSER_HTACCESS_PROTECT = "0";
|
||||
COMPOSER_DISABLE_NETWORK = "0";
|
||||
};
|
||||
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo =
|
||||
if (finalAttrs ? vendorHash && finalAttrs.vendorHash != "") then null else "sha256";
|
||||
|
@ -14,7 +14,7 @@ source @phpScriptUtils@
|
||||
composerInstallConfigureHook() {
|
||||
echo "Executing composerInstallConfigureHook"
|
||||
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
if [[ ! -e "${composerVendor}" ]]; then
|
||||
echo "No local composer vendor found."
|
||||
|
@ -15,7 +15,7 @@ source @phpScriptUtils@
|
||||
composerVendorConfigureHook() {
|
||||
echo "Executing composerVendorConfigureHook"
|
||||
|
||||
setComposeRootVersion
|
||||
setComposerRootVersion
|
||||
|
||||
if [[ -e "$composerLock" ]]; then
|
||||
echo -e "\e[32mUsing user provided \`composer.lock\` file from \`$composerLock\`\e[0m"
|
||||
@ -59,11 +59,13 @@ composerVendorConfigureHook() {
|
||||
composerVendorBuildHook() {
|
||||
echo "Executing composerVendorBuildHook"
|
||||
|
||||
setComposerEnvVariables
|
||||
|
||||
composer \
|
||||
# The acpu-autoloader is not reproducible and has to be disabled.
|
||||
# Upstream PR: https://github.com/composer/composer/pull/12090
|
||||
# --apcu-autoloader \
|
||||
# --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)" \
|
||||
`# The acpu-autoloader is not reproducible and has to be disabled.` \
|
||||
`# Upstream PR: https://github.com/composer/composer/pull/12090` \
|
||||
`# --apcu-autoloader` \
|
||||
`# --apcu-autoloader-prefix="$(jq -r -c 'try ."content-hash"' < composer.lock)"` \
|
||||
--no-interaction \
|
||||
--no-progress \
|
||||
--optimize-autoloader \
|
||||
|
@ -2,7 +2,7 @@ declare version
|
||||
declare composerStrictValidation
|
||||
declare composerGlobal
|
||||
|
||||
setComposeRootVersion() {
|
||||
setComposerRootVersion() {
|
||||
set +e # Disable exit on error
|
||||
|
||||
if [[ -v version ]]; then
|
||||
@ -13,6 +13,13 @@ setComposeRootVersion() {
|
||||
set -e
|
||||
}
|
||||
|
||||
setComposerEnvVariables() {
|
||||
echo -e "\e[32mSetting some required environment variables for Composer...\e[0m"
|
||||
export COMPOSER_MIRROR_PATH_REPOS=1
|
||||
export COMPOSER_CACHE_DIR=/dev/null
|
||||
export COMPOSER_HTACCESS_PROTECT=0
|
||||
}
|
||||
|
||||
checkComposerValidate() {
|
||||
if [ "1" == "${composerGlobal-}" ]; then
|
||||
global="global";
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "autosuspend";
|
||||
version = "7.0.0";
|
||||
version = "7.0.1";
|
||||
|
||||
disabled = python3.pythonOlder "3.10";
|
||||
|
||||
@ -14,7 +14,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
owner = "languitar";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-AJ0ZWRxqhBJEics6XnIVWyf7pJI8MphQU4LRqSYYNSQ=";
|
||||
hash = "sha256-Zjo8H5PU6JezrBF0XBHvmePUTNeX74BX4NsHtPozcKs=";
|
||||
};
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
|
1288
pkgs/by-name/ha/halloy/Cargo.lock
generated
1288
pkgs/by-name/ha/halloy/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -13,25 +13,26 @@
|
||||
vulkan-loader,
|
||||
wayland,
|
||||
xorg,
|
||||
alsa-lib,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "halloy";
|
||||
version = "2024.8";
|
||||
version = "2024.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "squidowl";
|
||||
repo = "halloy";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-OxxXjenZjP+3KrkxyXYxOXRFmrYm3deeiCuGrhpnF2I=";
|
||||
hash = "sha256-kmdsC0SQoL5gppzBhnF0LfOFj14zeI3C6SdCBiVoKj0=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"dpi-0.1.1" = "sha256-25sOvEBhlIaekTeWvy3UhjPI1xrJbOQvw/OkTg12kQY=";
|
||||
"glyphon-0.5.0" = "sha256-+z2my51aUeK9txLZKVAyQcWJ6f2YDY1mjxfc8Xsqi8E=";
|
||||
"iced-0.13.0-dev" = "sha256-eHlauEZibbuqK5mdkNP6gsy1z9qxqEDn/xfFw7W5TcY=";
|
||||
"glyphon-0.5.0" = "sha256-OGXLqiMjaZ7gR5ANkuCgkfn/I7c/4h9SRE6MZZMW3m4=";
|
||||
"iced-0.13.0-dev" = "sha256-XQUaI16lGEMGFxqK3UNd8jQfUiBzomxlT/I+yeZncFo=";
|
||||
};
|
||||
};
|
||||
|
||||
@ -43,6 +44,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
alsa-lib
|
||||
libxkbcommon
|
||||
openssl
|
||||
vulkan-loader
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "latexminted";
|
||||
version = "0.1.0b9";
|
||||
version = "0.1.0b16";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-QUFfoX1jv5pVQDEBGaVd1madfqbTWTJyXPh4gw7P5UE=";
|
||||
hash = "sha256-9iUxoJIctp5IPEaEHqw0AwgcEkxlEyPTZhRkpXSjSIA=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [
|
||||
@ -22,6 +22,7 @@ python3Packages.buildPythonApplication rec {
|
||||
dependencies = with python3Packages; [
|
||||
pygments
|
||||
latex2pydata
|
||||
latexrestricted
|
||||
];
|
||||
|
||||
passthru = {
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "misconfig-mapper";
|
||||
version = "1.8.4";
|
||||
version = "1.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intigriti";
|
||||
repo = "misconfig-mapper";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zg7OBHrveBmsljUJUE0/kz3AkIbUtTHf64BQbROUXsQ=";
|
||||
hash = "sha256-mi3lM/BQ16dCVX/kVRNhIis4sh6M0TMuK05q/pXJiS8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-aABtsS39yxBBFMN98fjr4gy6QeF3dobrZqeZmmv2ywQ=";
|
||||
|
@ -1,28 +1,31 @@
|
||||
{ lib
|
||||
, clangStdenv
|
||||
, cargo
|
||||
, copyDesktopItems
|
||||
, fetchFromGitHub
|
||||
, flutter316
|
||||
, ffmpeg
|
||||
, gst_all_1
|
||||
, fuse3
|
||||
, libXtst
|
||||
, libaom
|
||||
, libopus
|
||||
, libpulseaudio
|
||||
, libva
|
||||
, libvdpau
|
||||
, libvpx
|
||||
, libxkbcommon
|
||||
, libyuv
|
||||
, pam
|
||||
, makeDesktopItem
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, rustfmt
|
||||
, xdotool
|
||||
}: let
|
||||
{
|
||||
lib,
|
||||
clangStdenv,
|
||||
cargo,
|
||||
copyDesktopItems,
|
||||
fetchFromGitHub,
|
||||
flutter316,
|
||||
ffmpeg,
|
||||
gst_all_1,
|
||||
fuse3,
|
||||
libXtst,
|
||||
libaom,
|
||||
libopus,
|
||||
libpulseaudio,
|
||||
libva,
|
||||
libvdpau,
|
||||
libvpx,
|
||||
libxkbcommon,
|
||||
libyuv,
|
||||
pam,
|
||||
makeDesktopItem,
|
||||
rustPlatform,
|
||||
libayatana-appindicator,
|
||||
rustc,
|
||||
rustfmt,
|
||||
xdotool,
|
||||
}:
|
||||
let
|
||||
|
||||
flutterRustBridge = rustPlatform.buildRustPackage rec {
|
||||
pname = "flutter_rust_bridge_codegen";
|
||||
@ -36,13 +39,17 @@
|
||||
};
|
||||
|
||||
cargoHash = "sha256-dDyiptG9TKes+fXx2atwx697SWH7Rltx6xVubtTn7FM=";
|
||||
cargoBuildFlags = [ "--package" "flutter_rust_bridge_codegen" ];
|
||||
cargoBuildFlags = [
|
||||
"--package"
|
||||
"flutter_rust_bridge_codegen"
|
||||
];
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
sharedLibraryExt = rustc.stdenv.hostPlatform.extensions.sharedLibrary;
|
||||
|
||||
in flutter316.buildFlutterApplication rec {
|
||||
in
|
||||
flutter316.buildFlutterApplication rec {
|
||||
pname = "rustdesk";
|
||||
version = "1.3.0";
|
||||
src = fetchFromGitHub {
|
||||
@ -76,34 +83,34 @@ in flutter316.buildFlutterApplication rec {
|
||||
# and fixing the resulting errors by removing the other registry deps.
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"android-wakelock-0.1.0" = "sha256-09EH/U1BBs3l4galQOrTKmPUYBgryUjfc/rqPZhdYc4=";
|
||||
"arboard-3.4.0" = "sha256-lZIG5z115ExR6DcUut1rk9MrYFzSyCYH9kNGIikOPJM=";
|
||||
"cacao-0.4.0-beta2" = "sha256-U5tCLeVxjmZCm7ti1u71+i116xmozPaR69pCsA4pxrM=";
|
||||
"clipboard-master-4.0.0-beta.6" = "sha256-GZyzGMQOZ0iwGNZa/ZzFp8gU2tQVWZBpAbim8yb6yZA=";
|
||||
"confy-0.4.0-2" = "sha256-V7BCKISrkJIxWC3WT5+B5Vav86YTQvdO9TO6A++47FU=";
|
||||
"core-foundation-0.9.3" = "sha256-iB4OVmWZhuWbs9RFWvNc+RNut6rip2/50o5ZM6c0c3g=";
|
||||
"evdev-0.11.5" = "sha256-aoPmjGi/PftnH6ClEWXHvIj0X3oh15ZC1q7wPC1XPr0=";
|
||||
"hwcodec-0.7.0" = "sha256-pfzcaD7h/U5ou+P7qRLR56iXOkm043rF74y+Q0FsVLo=";
|
||||
"impersonate_system-0.1.0" = "sha256-pIV7s2qGoCIUrhaRovBDCJaGQ/pMdJacDXJmeBpkcyI=";
|
||||
"keepawake-0.4.3" = "sha256-cqSpkq/PCz+5+ZUyPy5hF6rP3fBzuZDywyxMUQ50Rk4=";
|
||||
"machine-uid-0.3.0" = "sha256-rEOyNThg6p5oqE9URnxSkPtzyW8D4zKzLi9pAnzTElE=";
|
||||
"magnum-opus-0.4.0" = "sha256-T4qaYOl8lCK1h9jWa9KqGvnVfDViT9Ob5R+YgnSw2tg=";
|
||||
"pam-0.7.0" = "sha256-o47tVoFlW9RiL7O8Lvuwz7rMYQHO+5TG27XxkAdHEOE=";
|
||||
"pam-sys-1.0.0-alpha4" = "sha256-5HIErVWnanLo5054NgU+DEKC2wwyiJ8AHvbx0BGbyWo=";
|
||||
"parity-tokio-ipc-0.7.3-4" = "sha256-PKw2Twd2ap+tRrQxqg8T1FvpoeKn0hvBqn1Z44F1LcY=";
|
||||
"rdev-0.5.0-2" = "sha256-KrzNa4sKyuVw3EV/Ec9VBNRyJy7QFR2Gu4c2WkltwUw=";
|
||||
"reqwest-0.11.23" = "sha256-kEUT+gs4ziknDiGdPMLnj5pmxC5SBpLopZ8jZ34GDWc=";
|
||||
"rust-pulsectl-0.2.12" = "sha256-8jXTspWvjONFcvw9/Z8C43g4BuGZ3rsG32tvLMQbtbM=";
|
||||
"sciter-rs-0.5.57" = "sha256-5Nd9npdx8yQJEczHv7WmSmrE1lBfvp5z7BubTbYBg3E=";
|
||||
"sysinfo-0.29.10" = "sha256-/UsFAvlWs/F7X1xT+97Fx+pnpCguoPHU3hTynqYMEs4=";
|
||||
"tao-0.25.0" = "sha256-kLmx1z9Ybn/hDt2OcszEjtZytQIE+NKTIn9zNr9oEQk=";
|
||||
"tfc-0.7.0" = "sha256-4plK8ttbHsBPat3/rS+4RhGzirq2Ked2wrU8cQEU1zo=";
|
||||
"tokio-socks-0.5.2-1" = "sha256-i1dfNatqN4dinMcyAdLhj9hJWVsT10OWpCXsxl7pifI=";
|
||||
"tray-icon-0.14.3" = "sha256-dSX7LucZaLplRrh6zLwmFzyZN4ZtwIXzAEdZzlu3gQg=";
|
||||
"wallpaper-3.2.0" = "sha256-p9NRmusdA0wvF6onp1UTL0/4t7XnEAc19sqyGDnfg/Q=";
|
||||
"webm-1.1.0" = "sha256-p4BMej7yvb8c/dJynRWZmwo2hxAAY96Qx6Qx2DbT8hE=";
|
||||
"x11-2.19.0" = "sha256-GDCeKzUtvaLeBDmPQdyr499EjEfT6y4diBMzZVEptzc=";
|
||||
"x11-clipboard-0.8.1" = "sha256-PtqmSD2MwkbLVWbfTSXZW3WEvEnUlo04qieUTjN2whE=";
|
||||
"android-wakelock-0.1.0" = "sha256-09EH/U1BBs3l4galQOrTKmPUYBgryUjfc/rqPZhdYc4=";
|
||||
"arboard-3.4.0" = "sha256-lZIG5z115ExR6DcUut1rk9MrYFzSyCYH9kNGIikOPJM=";
|
||||
"cacao-0.4.0-beta2" = "sha256-U5tCLeVxjmZCm7ti1u71+i116xmozPaR69pCsA4pxrM=";
|
||||
"clipboard-master-4.0.0-beta.6" = "sha256-GZyzGMQOZ0iwGNZa/ZzFp8gU2tQVWZBpAbim8yb6yZA=";
|
||||
"confy-0.4.0-2" = "sha256-V7BCKISrkJIxWC3WT5+B5Vav86YTQvdO9TO6A++47FU=";
|
||||
"core-foundation-0.9.3" = "sha256-iB4OVmWZhuWbs9RFWvNc+RNut6rip2/50o5ZM6c0c3g=";
|
||||
"evdev-0.11.5" = "sha256-aoPmjGi/PftnH6ClEWXHvIj0X3oh15ZC1q7wPC1XPr0=";
|
||||
"hwcodec-0.7.0" = "sha256-pfzcaD7h/U5ou+P7qRLR56iXOkm043rF74y+Q0FsVLo=";
|
||||
"impersonate_system-0.1.0" = "sha256-pIV7s2qGoCIUrhaRovBDCJaGQ/pMdJacDXJmeBpkcyI=";
|
||||
"keepawake-0.4.3" = "sha256-cqSpkq/PCz+5+ZUyPy5hF6rP3fBzuZDywyxMUQ50Rk4=";
|
||||
"machine-uid-0.3.0" = "sha256-rEOyNThg6p5oqE9URnxSkPtzyW8D4zKzLi9pAnzTElE=";
|
||||
"magnum-opus-0.4.0" = "sha256-T4qaYOl8lCK1h9jWa9KqGvnVfDViT9Ob5R+YgnSw2tg=";
|
||||
"pam-0.7.0" = "sha256-o47tVoFlW9RiL7O8Lvuwz7rMYQHO+5TG27XxkAdHEOE=";
|
||||
"pam-sys-1.0.0-alpha4" = "sha256-5HIErVWnanLo5054NgU+DEKC2wwyiJ8AHvbx0BGbyWo=";
|
||||
"parity-tokio-ipc-0.7.3-4" = "sha256-PKw2Twd2ap+tRrQxqg8T1FvpoeKn0hvBqn1Z44F1LcY=";
|
||||
"rdev-0.5.0-2" = "sha256-KrzNa4sKyuVw3EV/Ec9VBNRyJy7QFR2Gu4c2WkltwUw=";
|
||||
"reqwest-0.11.23" = "sha256-kEUT+gs4ziknDiGdPMLnj5pmxC5SBpLopZ8jZ34GDWc=";
|
||||
"rust-pulsectl-0.2.12" = "sha256-8jXTspWvjONFcvw9/Z8C43g4BuGZ3rsG32tvLMQbtbM=";
|
||||
"sciter-rs-0.5.57" = "sha256-5Nd9npdx8yQJEczHv7WmSmrE1lBfvp5z7BubTbYBg3E=";
|
||||
"sysinfo-0.29.10" = "sha256-/UsFAvlWs/F7X1xT+97Fx+pnpCguoPHU3hTynqYMEs4=";
|
||||
"tao-0.25.0" = "sha256-kLmx1z9Ybn/hDt2OcszEjtZytQIE+NKTIn9zNr9oEQk=";
|
||||
"tfc-0.7.0" = "sha256-4plK8ttbHsBPat3/rS+4RhGzirq2Ked2wrU8cQEU1zo=";
|
||||
"tokio-socks-0.5.2-1" = "sha256-i1dfNatqN4dinMcyAdLhj9hJWVsT10OWpCXsxl7pifI=";
|
||||
"tray-icon-0.14.3" = "sha256-dSX7LucZaLplRrh6zLwmFzyZN4ZtwIXzAEdZzlu3gQg=";
|
||||
"wallpaper-3.2.0" = "sha256-p9NRmusdA0wvF6onp1UTL0/4t7XnEAc19sqyGDnfg/Q=";
|
||||
"webm-1.1.0" = "sha256-p4BMej7yvb8c/dJynRWZmwo2hxAAY96Qx6Qx2DbT8hE=";
|
||||
"x11-2.19.0" = "sha256-GDCeKzUtvaLeBDmPQdyr499EjEfT6y4diBMzZVEptzc=";
|
||||
"x11-clipboard-0.8.1" = "sha256-PtqmSD2MwkbLVWbfTSXZW3WEvEnUlo04qieUTjN2whE=";
|
||||
};
|
||||
};
|
||||
dontCargoBuild = true;
|
||||
@ -147,11 +154,17 @@ in flutter316.buildFlutterApplication rec {
|
||||
prePatch = ''
|
||||
chmod -R +w ..
|
||||
'';
|
||||
patchFlags = [ "-p1" "-d" ".." ];
|
||||
patchFlags = [
|
||||
"-p1"
|
||||
"-d"
|
||||
".."
|
||||
];
|
||||
|
||||
patches = [ ./make-build-reproducible.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace $cargoDepsCopy/libappindicator-sys-*/src/lib.rs \
|
||||
--replace-fail "libayatana-appindicator3.so.1" "${lib.getLib libayatana-appindicator}/lib/libayatana-appindicator3.so.1"
|
||||
substituteInPlace ../Cargo.toml --replace-fail ", \"staticlib\", \"rlib\"" ""
|
||||
# The supplied Cargo.lock doesn't work with our fetcher so copy over the fixed version
|
||||
cp ${./Cargo.lock} ../Cargo.lock
|
||||
@ -201,7 +214,11 @@ in flutter316.buildFlutterApplication rec {
|
||||
terminal = false;
|
||||
type = "Application";
|
||||
startupNotify = true;
|
||||
categories = [ "Network" "RemoteAccess" "GTK" ];
|
||||
categories = [
|
||||
"Network"
|
||||
"RemoteAccess"
|
||||
"GTK"
|
||||
];
|
||||
keywords = [ "internet" ];
|
||||
actions.new-window = {
|
||||
name = "Open a New Window";
|
||||
|
@ -16,13 +16,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "saunafs";
|
||||
version = "4.5.0";
|
||||
version = "4.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leil-io";
|
||||
repo = "saunafs";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-jimq+Dx3RoJmnUDcfCkgE6Hk7OvPH/fs1v/Nri8Xtz8=";
|
||||
hash = "sha256-oMFS5eNNzCpaineCLn0hh3bXGw3SNdj+Pdvk3pevIZg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
@ -6,7 +6,7 @@ let recent = lib.versions.isGe "8.7" coq.coq-version || coq.coq-version == "dev"
|
||||
owner = "QuickChick";
|
||||
inherit version;
|
||||
defaultVersion = lib.switch [ coq.coq-version ssreflect.version ] [
|
||||
{ cases = [ (lib.versions.range "8.15" "8.19") lib.pred.true ]; out = "2.0.2"; }
|
||||
{ cases = [ (lib.versions.range "8.15" "8.20") lib.pred.true ]; out = "2.0.4"; }
|
||||
{ cases = [ (lib.versions.range "8.13" "8.17") lib.pred.true ]; out = "1.6.5"; }
|
||||
{ cases = [ "8.13" lib.pred.true ]; out = "1.5.0"; }
|
||||
{ cases = [ "8.12" lib.pred.true ]; out = "1.4.0"; }
|
||||
@ -18,6 +18,7 @@ let recent = lib.versions.isGe "8.7" coq.coq-version || coq.coq-version == "dev"
|
||||
{ cases = [ "8.6" lib.pred.true ]; out = "20171102"; }
|
||||
{ cases = [ "8.5" lib.pred.true ]; out = "20170512"; }
|
||||
] null;
|
||||
release."2.0.4".sha256 = "sha256-WD8B+n8gyGctHMO+M8201Ca3Uw8zCWYsOatSNGCf0/s=";
|
||||
release."2.0.2".sha256 = "sha256-xxKkwDRjB8nUiXNhein1Ppn0DP5FZ13J90xUPAnQBbs=";
|
||||
release."2.0.1".sha256 = "sha256-gJc+9Or6tbqE00920Il4pnEvokRoiADX6CxP/Q0QZaY=";
|
||||
release."1.6.5".sha256 = "sha256-rcFyRDH8UbB9KVk10P5qjtPkWs04p78VNHkCq4mXr3U=";
|
||||
|
@ -6,9 +6,11 @@
|
||||
repo = "coq-simple-io";
|
||||
inherit version;
|
||||
defaultVersion = with lib.versions; lib.switch coq.coq-version [
|
||||
{ case = range "8.17" "8.20"; out = "1.10.0"; }
|
||||
{ case = range "8.11" "8.19"; out = "1.8.0"; }
|
||||
{ case = range "8.7" "8.13"; out = "1.3.0"; }
|
||||
] null;
|
||||
release."1.10.0".sha256 = "sha256-67cBhLvRMWLWBL7NXK1zZTQC4PtSKu9qtesU4SqKkOw=";
|
||||
release."1.8.0".sha256 = "sha256-3ADNeXrBIpYRlfUW+LkLHUWV1w1HFrVc/TZISMuwvRY=";
|
||||
release."1.7.0".sha256 = "sha256:1a1q9x2abx71hqvjdai3n12jxzd49mhf3nqqh3ya2ssl2lj609ci";
|
||||
release."1.3.0".sha256 = "1yp7ca36jyl9kz35ghxig45x6cd0bny2bpmy058359p94wc617ax";
|
||||
@ -20,9 +22,7 @@
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
|
||||
useDuneifVersion = v:
|
||||
(lib.versionAtLeast v "1.8.0" || v == "dev")
|
||||
&& (lib.versionAtLeast coq.version "8.20" || coq.version == "dev");
|
||||
useDuneifVersion = v: (lib.versionAtLeast v "1.10.0" || v == "dev");
|
||||
|
||||
passthru.tests.HelloWorld = callPackage ./test.nix {};
|
||||
|
||||
|
@ -9,39 +9,36 @@
|
||||
, ppxlib_0_15, ppx_deriving_0_15
|
||||
, coqPackages
|
||||
, version ? if lib.versionAtLeast ocaml.version "4.08" then "1.18.1"
|
||||
else if lib.versionAtLeast ocaml.version "4.07" then "1.15.2" else "1.14.1"
|
||||
else "1.15.2"
|
||||
}:
|
||||
|
||||
let p5 = camlp5; in
|
||||
let camlp5 = p5.override { legacy = true; }; in
|
||||
|
||||
let fetched = coqPackages.metaFetch ({
|
||||
release."1.19.2".sha256 = "sha256-7VTUbsFVoNT6srLwcAn5WNSsWC7cVUdphKRWBHHiH5M=";
|
||||
release."1.18.1".sha256 = "sha256-zgBJefQDe3JyCGbC0wvMcx/9iMVbftBJ43NPogkNeHY=";
|
||||
release."1.17.0".sha256 = "sha256-DTxE8CvYl0et20pxueydI+WzraI6UPHMNvxyp2gU/+w=";
|
||||
release."1.16.5".sha256 = "sha256-tKX5/cVPoBeHiUe+qn7c5FIRYCwY0AAukN7vSd/Nz9A=";
|
||||
release."1.15.2".sha256 = "sha256-XgopNP83POFbMNyl2D+gY1rmqGg03o++Ngv3zJfCn2s=";
|
||||
release."1.15.0".sha256 = "sha256:1ngdc41sgyzyz3i3lkzjhnj66gza5h912virkh077dyv17ysb6ar";
|
||||
release."1.14.1".sha256 = "sha256-BZPVL8ymjrE9kVGyf6bpc+GA2spS5JBpkUtZi04nPis=";
|
||||
release."1.13.7".sha256 = "10fnwz30bsvj7ii1vg4l1li5pd7n0qqmwj18snkdr5j9gk0apc1r";
|
||||
release."1.13.5".sha256 = "02a6r23mximrdvs6kgv6rp0r2dgk7zynbs99nn7lphw2c4189kka";
|
||||
release."1.13.1".sha256 = "12a9nbdvg9gybpw63lx3nw5wnxfznpraprb0wj3l68v1w43xq044";
|
||||
release."1.13.0".sha256 = "0dmzy058m1mkndv90byjaik6lzzfk3aaac7v84mpmkv6my23bygr";
|
||||
release."1.12.0".sha256 = "1agisdnaq9wrw3r73xz14yrq3wx742i6j8i5icjagqk0ypmly2is";
|
||||
release."1.11.4".sha256 = "1m0jk9swcs3jcrw5yyw5343v8mgax238cjb03s8gc4wipw1fn9f5";
|
||||
release."1.19.2".sha256 = "sha256-dBj5Ek7PWq/8Btq/dggJUqa8cUtfvbi6EWo/lJEDOU4=";
|
||||
release."1.18.1".sha256 = "sha256-rrIv/mVC0Ez3nU7fpnzwduIC3tI6l73DjgAbv1gd2v0=";
|
||||
release."1.17.0".sha256 = "sha256-J8FJBeaB+2HtHjrkgNzOZJngZ2AcYU+npL9Y1HNPnzo=";
|
||||
release."1.15.2".sha256 = "sha256-+sQYQiN3n+dlzXzi5opOjhkJZqpkNwlHZcUjaUM6+xQ=";
|
||||
release."1.15.0".sha256 = "sha256-vpQzbkDqJPCmaBmXcBnzlWGS7djW9wWv8xslkIlXgP0=";
|
||||
release."1.13.7".sha256 = "sha256-0QbOEnrRCYA2mXDGRKe+QYCXSESLJvLzRW0Iq+/3P9Y=";
|
||||
release."1.12.0".sha256 = "sha256-w4JzLZB8jcxw7nA7AfgU9jTZTr6IYUxPU5E2vNIFC4Q=";
|
||||
release."1.11.4".sha256 = "sha256-dyzEpzokgffsF9lt+FZgUlcZEuAb70vGuHfGUtjZYIM=";
|
||||
releaseRev = v: "v${v}";
|
||||
releaseArtifact = v: if lib.versionAtLeast v "1.13.8"
|
||||
then "elpi-${v}.tbz"
|
||||
else "elpi-v${v}.tbz";
|
||||
location = { domain = "github.com"; owner = "LPCIC"; repo = "elpi"; };
|
||||
}) version;
|
||||
in
|
||||
buildDunePackage rec {
|
||||
buildDunePackage {
|
||||
pname = "elpi";
|
||||
inherit (fetched) version src;
|
||||
|
||||
patches = lib.optional (version == "1.16.5")
|
||||
./atd_2_10.patch;
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.07";
|
||||
|
||||
# atdgen is both a library and executable
|
||||
nativeBuildInputs = [ perl ]
|
||||
@ -68,6 +65,6 @@ buildDunePackage rec {
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace elpi_REPL.ml --replace "tput cols" "${ncurses}/bin/tput cols"
|
||||
substituteInPlace elpi_REPL.ml --replace-warn "tput cols" "${ncurses}/bin/tput cols"
|
||||
'';
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioautomower";
|
||||
version = "2024.9.0";
|
||||
version = "2024.9.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "Thomas55555";
|
||||
repo = "aioautomower";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-M+RiO5XTiJ1Cpmf3wbQYzcjH/VAZUlLV9ZdWJCkF6HA=";
|
||||
hash = "sha256-MdsK+QP8YdMceTiNwhuf84KARIHCyn7/g6WKrDB6yCc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,59 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
ipython-genutils,
|
||||
jupyter-contrib-core,
|
||||
jupyter-highlight-selected-word,
|
||||
jupyter-nbextensions-configurator,
|
||||
lxml,
|
||||
nose,
|
||||
pytestCheckHook,
|
||||
notebook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jupyter-contrib-nbextensions";
|
||||
version = "0.7.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ipython-contrib";
|
||||
repo = "jupyter_contrib_nbextensions";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-1o8tBfRw6jNcKfNE7xXrQaEhx+KOv7mLOruvuMDtJ1Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ipython-genutils
|
||||
jupyter-contrib-core
|
||||
jupyter-highlight-selected-word
|
||||
jupyter-nbextensions-configurator
|
||||
lxml
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nose
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Thoses tests fail upstream because of nbconvert being too recent
|
||||
# https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1606
|
||||
"tests/test_exporters.py"
|
||||
|
||||
# Requires to run jupyter which is not feasible here
|
||||
"tests/test_application.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jupyter_contrib_nbextensions" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Collection of various notebook extensions for Jupyter";
|
||||
homepage = "https://github.com/ipython-contrib/jupyter_contrib_nbextensions";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ GaetanLepage ];
|
||||
# https://github.com/ipython-contrib/jupyter_contrib_nbextensions/issues/1647
|
||||
broken = versionAtLeast notebook.version "7";
|
||||
};
|
||||
}
|
32
pkgs/development/python-modules/latexrestricted/default.nix
Normal file
32
pkgs/development/python-modules/latexrestricted/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
buildPythonPackage,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "latexrestricted";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-AMfDTruJKejDdXW98VkeeEwELql5566bsL1SutLDpso=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "latexrestricted" ];
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/gpoore/latexrestricted";
|
||||
description = "Python library for creating executables compatible with LaTeX restricted shell escape";
|
||||
changelog = "https://github.com/gpoore/latexrestricted/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.lppl13c;
|
||||
maintainers = with lib.maintainers; [ romildo ];
|
||||
};
|
||||
}
|
@ -23,7 +23,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mmengine";
|
||||
version = "0.10.4";
|
||||
version = "0.10.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -77,6 +77,14 @@ buildPythonPackage rec {
|
||||
"tests/test_runner/test_activation_checkpointing.py"
|
||||
# missing dependencies
|
||||
"tests/test_visualizer/test_vis_backend.py"
|
||||
# Tests are outdated (runTest instead of run_test)
|
||||
"mmengine/testing/_internal"
|
||||
"tests/test_dist/test_dist.py"
|
||||
"tests/test_dist/test_utils.py"
|
||||
"tests/test_hooks/test_sync_buffers_hook.py"
|
||||
"tests/test_model/test_wrappers/test_model_wrapper.py"
|
||||
"tests/test_optim/test_optimizer/test_optimizer.py"
|
||||
"tests/test_optim/test_optimizer/test_optimizer_wrapper.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
|
@ -11,14 +11,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffixlist";
|
||||
version = "1.0.2.20240918";
|
||||
version = "1.0.2.20240920";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6OBk3CwWX4Wlq8w4JQims5lTuIREpm2jCJmy/c1Z1rI=";
|
||||
hash = "sha256-LZDAepnKR2/BfU/grBE1Aw3wXwt9atAPu3dfh9KZ9tE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -3,36 +3,43 @@
|
||||
arrow,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytest-cov-stub,
|
||||
pytest-datafiles,
|
||||
pytest-vcr,
|
||||
pytestCheckHook,
|
||||
python-box,
|
||||
pythonOlder,
|
||||
responses,
|
||||
requests,
|
||||
responses,
|
||||
setuptools,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "restfly";
|
||||
version = "1.4.7";
|
||||
format = "setuptools";
|
||||
version = "1.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stevemcgrath";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-PPXJHatJKve9fIjveVYRnTSIDHFmnSDWTnkgO91twJs=";
|
||||
repo = "restfly";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Zdn/hUvAZ9TaAWyDpNiEiA9mYDbWmiXBUa+IV/g8n2M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
arrow
|
||||
python-box
|
||||
requests
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytest-datafiles
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
@ -49,7 +56,8 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python RESTfly API Library Framework";
|
||||
homepage = "https://github.com/stevemcgrath/restfly";
|
||||
license = with licenses; [ mit ];
|
||||
changelog = "https://github.com/librestfly/restfly/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "slack-sdk";
|
||||
version = "3.33.0";
|
||||
version = "3.33.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
owner = "slackapi";
|
||||
repo = "python-slack-sdk";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-S41OyTyFjEfKvTlKwxHq7P/uzWreMIHimI6pECItTzo=";
|
||||
hash = "sha256-OcGzpYwa8Ouf1ojQS9KnqlL37EYCZo5yjNeXXrkd0B4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -8,22 +8,25 @@
|
||||
numpy,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
zarr,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tifffile";
|
||||
version = "2024.6.18";
|
||||
format = "setuptools";
|
||||
version = "2024.9.20";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-V+DSoDS8tih+oxVdhxZQjfrIZEOiV/ZQK1fuf4ozs7Y=";
|
||||
hash = "sha256-P7874vmVpwUaiuBaS+cMlvwHifIu1vHEEEyXPPaKZAs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ numpy ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
dask
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ufmt";
|
||||
version = "2.7.2";
|
||||
version = "2.7.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
owner = "omnilib";
|
||||
repo = "ufmt";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-nWdGaW/RlU6kV2ORKpVuJ634QoemhZR2zdcOOO1W9Wk=";
|
||||
hash = "sha256-hXCOsetw5o3V9NCR0TOfYSFyfBnuOOZDMiUd/6ER9WU=";
|
||||
};
|
||||
|
||||
build-system = [ flit-core ];
|
||||
|
@ -57,7 +57,7 @@
|
||||
grpcio,
|
||||
}:
|
||||
let
|
||||
version = "0.15.10";
|
||||
version = "0.15.13";
|
||||
optional-dependencies = {
|
||||
huggingflace = [
|
||||
langdetect
|
||||
@ -100,7 +100,7 @@ buildPythonPackage {
|
||||
owner = "Unstructured-IO";
|
||||
repo = "unstructured";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Wgv7IcyYuOICYZDmj/jdkpSHx53ZXCR06952GmVEGOY=";
|
||||
hash = "sha256-DbOuNh+p+4vsEO6AQUeMq25RTLm5Zn9FyzcTKJedbTM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "weheat";
|
||||
version = "2024.09.10";
|
||||
version = "2024.09.23";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "wefabricate";
|
||||
repo = "wh-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-D9m9IR5RTRphIgDX25izkbAHeLml9AYL6xdH46ryqaI=";
|
||||
hash = "sha256-egxc4gJaFIjbdvDVmenN61Rsg1NmlJSqxdG/7con9mU=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -1,11 +1,12 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, testers
|
||||
, aws-sam-cli
|
||||
, nix-update-script
|
||||
, enableTelemetry ? false
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
testers,
|
||||
aws-sam-cli,
|
||||
nix-update-script,
|
||||
enableTelemetry ? false,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
@ -13,8 +14,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||
version = "1.120.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = python3.pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-sam-cli";
|
||||
@ -22,9 +21,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-XFVh7e9ooIBhWRkVovPdrSuyosBMQ84PDRjV2o0x9ns=";
|
||||
};
|
||||
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
];
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"aws-lambda-builders"
|
||||
@ -43,44 +40,47 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"watchdog"
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
aws-lambda-builders
|
||||
aws-sam-translator
|
||||
boto3
|
||||
boto3-stubs
|
||||
cfn-lint
|
||||
chevron
|
||||
click
|
||||
cookiecutter
|
||||
dateparser
|
||||
docker
|
||||
flask
|
||||
jsonschema
|
||||
pyopenssl
|
||||
pyyaml
|
||||
requests
|
||||
rich
|
||||
ruamel-yaml
|
||||
tomlkit
|
||||
typing-extensions
|
||||
tzlocal
|
||||
watchdog
|
||||
] ++ (with python3.pkgs.boto3-stubs.optional-dependencies; [
|
||||
apigateway
|
||||
cloudformation
|
||||
ecr
|
||||
iam
|
||||
kinesis
|
||||
lambda
|
||||
s3
|
||||
schemas
|
||||
secretsmanager
|
||||
signer
|
||||
sqs
|
||||
stepfunctions
|
||||
sts
|
||||
xray
|
||||
]);
|
||||
dependencies =
|
||||
with python3.pkgs;
|
||||
[
|
||||
aws-lambda-builders
|
||||
aws-sam-translator
|
||||
boto3
|
||||
boto3-stubs
|
||||
cfn-lint
|
||||
chevron
|
||||
click
|
||||
cookiecutter
|
||||
dateparser
|
||||
docker
|
||||
flask
|
||||
jsonschema
|
||||
pyopenssl
|
||||
pyyaml
|
||||
requests
|
||||
rich
|
||||
ruamel-yaml
|
||||
tomlkit
|
||||
typing-extensions
|
||||
tzlocal
|
||||
watchdog
|
||||
]
|
||||
++ (with python3.pkgs.boto3-stubs.optional-dependencies; [
|
||||
apigateway
|
||||
cloudformation
|
||||
ecr
|
||||
iam
|
||||
kinesis
|
||||
lambda
|
||||
s3
|
||||
schemas
|
||||
secretsmanager
|
||||
signer
|
||||
sqs
|
||||
stepfunctions
|
||||
sts
|
||||
xray
|
||||
]);
|
||||
|
||||
postFixup = ''
|
||||
# Disable telemetry: https://github.com/aws/aws-sam-cli/issues/1272
|
||||
@ -92,6 +92,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
filelock
|
||||
flaky
|
||||
jaraco-text
|
||||
parameterized
|
||||
psutil
|
||||
pytest-timeout
|
||||
@ -133,9 +134,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
"test_import_should_succeed_for_a_defined_hidden_package_540_pkg_resources_py2_warn"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"samcli"
|
||||
];
|
||||
pythonImportsCheck = [ "samcli" ];
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
@ -143,7 +142,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
command = "sam --version";
|
||||
};
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--version-regex" "^v([0-9.]+)$" ];
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"^v([0-9.]+)$"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@ -155,6 +157,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
changelog = "https://github.com/aws/aws-sam-cli/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
mainProgram = "sam";
|
||||
maintainers = with maintainers; [ lo1tuma anthonyroussel ];
|
||||
maintainers = with maintainers; [
|
||||
lo1tuma
|
||||
anthonyroussel
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -19,16 +19,16 @@ let
|
||||
};
|
||||
in buildNpmPackage' rec {
|
||||
pname = "balena-cli";
|
||||
version = "19.0.3";
|
||||
version = "19.0.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "balena-io";
|
||||
repo = "balena-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6odzj7/twhSJFxX2kbKbEOjzyZHjrg6Dd8d3LDtSzNU=";
|
||||
hash = "sha256-/C83s66vTq60FLfKPb27RBGfBC295qs5WWej9Yz4Cak=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-IWd3E6bjy5cQ4VsDV/zHyehxxINUsDEy3pKVfSWVpKU=";
|
||||
npmDepsHash = "sha256-CdbJqMbBYzy9TfhlXVMJgGr3pLVMX4naRs/rGz96bYo=";
|
||||
|
||||
postPatch = ''
|
||||
ln -s npm-shrinkwrap.json package-lock.json
|
||||
|
@ -8,13 +8,13 @@
|
||||
, buildNpmPackage
|
||||
}:
|
||||
let
|
||||
version = "unstable-2023-11-23";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ekzhang";
|
||||
repo = "sshx";
|
||||
rev = "2677f7e1fa3b369132cc7f27f6028a04b92ba5cf";
|
||||
hash = "sha256-9fo8hNUzJr4gse0J2tw7j+alqE82+y8McADzTkxryWk=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RIQRX4sXlMl73Opi6hK2WD/erdAMNrm40IasHasikuw=";
|
||||
};
|
||||
|
||||
mkSshxPackage = { pname, cargoHash, ... }@args:
|
||||
@ -26,14 +26,17 @@ let
|
||||
cargoHash;
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||
|
||||
cargoBuildFlags = [ "--package" pname ];
|
||||
|
||||
cargoTestFlags = cargoBuildFlags;
|
||||
|
||||
meta = {
|
||||
description = "Fast, collaborative live terminal sharing over the web";
|
||||
homepage = "https://github.com/ekzhang/sshx";
|
||||
changelog = "https://github.com/ekzhang/sshx/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ pinpox kranzes ];
|
||||
mainProgram = pname;
|
||||
@ -43,17 +46,17 @@ in
|
||||
{
|
||||
sshx = mkSshxPackage {
|
||||
pname = "sshx";
|
||||
cargoHash = "sha256-dA5Aen/qANW8si75pj/RsBknvOo3KDyU5UISAmmcfRE=";
|
||||
cargoHash = "sha256-PMSKhlHSjXKh/Jxvl2z+c1zDDyuVPzQapvdCdcuaFYc=";
|
||||
};
|
||||
|
||||
sshx-server = mkSshxPackage rec {
|
||||
pname = "sshx-server";
|
||||
cargoHash = "sha256-1GRWCMXsOzqvORgtwfuywV4wLyX3r4nURhM3Dl5V9Ss=";
|
||||
cargoHash = "sha256-ySsTjNoI/nuz2qtZ4M2Fd9zy239+E61hUCq1r/ahgsA=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace crates/sshx-server/src/web.rs \
|
||||
--replace 'ServeDir::new("build")' 'ServeDir::new("${passthru.web.outPath}")' \
|
||||
--replace 'ServeFile::new("build/spa.html")' 'ServeFile::new("${passthru.web.outPath}/spa.html")'
|
||||
--replace-fail 'ServeDir::new("build")' 'ServeDir::new("${passthru.web.outPath}")' \
|
||||
--replace-fail 'ServeFile::new("build/spa.html")' 'ServeFile::new("${passthru.web.outPath}/spa.html")'
|
||||
'';
|
||||
|
||||
passthru.web = buildNpmPackage {
|
||||
@ -65,7 +68,7 @@ in
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace vite.config.ts \
|
||||
--replace 'execSync("git rev-parse --short HEAD").toString().trim()' '"${src.rev}"'
|
||||
--replace-fail 'execSync("git rev-parse --short HEAD").toString().trim()' '"${src.rev}"'
|
||||
'';
|
||||
|
||||
npmDepsHash = "sha256-bKePCxo6+n0EG+4tbbMimPedJ0Hu1O8yZsgspmhobOs=";
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "minio-client";
|
||||
version = "2024-09-09T07-53-10Z";
|
||||
version = "2024-09-16T17-43-14Z";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minio";
|
||||
repo = "mc";
|
||||
rev = "RELEASE.${version}";
|
||||
sha256 = "sha256-K0FuG7c8sD4ingJH/al7TBoTCHKGad7I2RYheTjqAR0=";
|
||||
sha256 = "sha256-j9NEeTUP/pkEhywhNasQQzTwUBcUwq+KVEGGB1hzVw0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-KNnYxE3kt/eemnhsRf29SZX0Q+ECzdMFVgcmd7uCsyY=";
|
||||
|
@ -6,14 +6,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ldeep";
|
||||
version = "1.0.65";
|
||||
version = "1.0.66";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "franc-pentest";
|
||||
repo = "ldeep";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SbsHc6gSHPmtDWHR+fJAcvWZMxae/Ufc4XB6cvoPTbE=";
|
||||
hash = "sha256-zXXTeuEgcGaMkJGWwWQ6DpKPEZp6fjy5i4jRr4AvApQ=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchzip
|
||||
{ lib, stdenv, fetchurl, fetchzip
|
||||
, callPackage, newScope, recurseIntoAttrs, ocamlPackages_4_05, ocamlPackages_4_09
|
||||
, ocamlPackages_4_10, ocamlPackages_4_12, ocamlPackages_4_14
|
||||
, fetchpatch, makeWrapper, coq2html
|
||||
@ -11,7 +11,7 @@ let
|
||||
coqPackages = self // { __attrsFailEvaluation = true; recurseForDerivations = false; };
|
||||
|
||||
metaFetch = import ../build-support/coq/meta-fetch/default.nix
|
||||
{inherit lib stdenv fetchzip; };
|
||||
{inherit lib stdenv fetchzip fetchurl; };
|
||||
mkCoqDerivation = lib.makeOverridable (callPackage ../build-support/coq {});
|
||||
|
||||
contribs = recurseIntoAttrs
|
||||
|
@ -12152,6 +12152,7 @@ with self; {
|
||||
};
|
||||
buildInputs = [ ModuleBuildTiny TestNeeds ];
|
||||
propagatedBuildInputs = [ HTTPMessage ];
|
||||
__darwinAllowLocalNetworking = true;
|
||||
meta = {
|
||||
description = "Simple http server class";
|
||||
homepage = "https://github.com/libwww-perl/HTTP-Daemon";
|
||||
|
@ -281,6 +281,7 @@ mapAliases ({
|
||||
jsonschema_3 = throw "jsonschema 3 is neither the latest version nor needed inside nixpkgs anymore"; # added 2023-06-28
|
||||
jupyter_client = jupyter-client; # added 2021-10-15
|
||||
jupyter_console = jupyter-console; # added 2023-07-31
|
||||
jupyter-contrib-nbextensions = throw "jupyter-contrib-nbextensions has been removed, as it does not work with Jupyter Notebook 7"; # added 2024-09-22
|
||||
jupyter_core = jupyter-core; # added 2023-01-05
|
||||
jupyter_server = jupyter-server; # added 2023-01-05
|
||||
jupyter-server-ydoc = jupyter-collaboration; # added 2023-07-18
|
||||
|
@ -6546,8 +6546,6 @@ self: super: with self; {
|
||||
|
||||
jupyter-contrib-core = callPackage ../development/python-modules/jupyter-contrib-core { };
|
||||
|
||||
jupyter-contrib-nbextensions = callPackage ../development/python-modules/jupyter-contrib-nbextensions { };
|
||||
|
||||
jupyter-console = callPackage ../development/python-modules/jupyter-console { };
|
||||
|
||||
jupyter-core = callPackage ../development/python-modules/jupyter-core { };
|
||||
@ -6880,6 +6878,8 @@ self: super: with self; {
|
||||
|
||||
latexify-py = callPackage ../development/python-modules/latexify-py { };
|
||||
|
||||
latexrestricted = callPackage ../development/python-modules/latexrestricted { };
|
||||
|
||||
launchpadlib = callPackage ../development/python-modules/launchpadlib { };
|
||||
|
||||
laundrify-aio = callPackage ../development/python-modules/laundrify-aio { };
|
||||
|
Loading…
Reference in New Issue
Block a user