Merge master into staging-next
This commit is contained in:
@@ -54,10 +54,11 @@ with lib;
|
||||
intel-vaapi-driver = super.intel-vaapi-driver.override { enableGui = false; };
|
||||
libdevil = super.libdevil-nox;
|
||||
libextractor = super.libextractor.override { gtkSupport = false; };
|
||||
libplacebo = super.libplacebo.override { vulkanSupport = false; };
|
||||
libva = super.libva-minimal;
|
||||
limesuite = super.limesuite.override { withGui = false; };
|
||||
mc = super.mc.override { x11Support = false; };
|
||||
mpv-unwrapped = super.mpv-unwrapped.override { sdl2Support = false; x11Support = false; waylandSupport = false; };
|
||||
mpv-unwrapped = super.mpv-unwrapped.override { drmSupport = false; screenSaverSupport = false; sdl2Support = false; vulkanSupport = false; waylandSupport = false; x11Support = false; };
|
||||
msmtp = super.msmtp.override { withKeyring = false; };
|
||||
mupdf = super.mupdf.override { enableGL = false; enableX11 = false; };
|
||||
neofetch = super.neofetch.override { x11Support = false; };
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cardinal";
|
||||
version = "24.04";
|
||||
version = "24.05";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/DISTRHO/Cardinal/releases/download/${version}/cardinal+deps-${version}.tar.xz";
|
||||
hash = "sha256-vowDdHAXVZ+HSMoQsvJdzghsJzH+OrSpx6MxPRAgtJA=";
|
||||
hash = "sha256-ZUJI5utUtST+idlL7WKBIs850EpK98cnmO47g8/iZcI=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sameboy";
|
||||
version = "0.16.3";
|
||||
version = "0.16.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LIJI32";
|
||||
repo = "SameBoy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-sQWmuF1dQgvW9WyOxgxaupTUcde3KzzYiGv+v1N5ssk=";
|
||||
sha256 = "sha256-w/l+L/Gs2ERzXLiGFrNKHBTGBLdr+2zn1ZYRHUtZcHg=";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -215,7 +215,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# TODO free, redistributable? Has strict limitations on what modifications may be done & shipped by packagers
|
||||
}
|
||||
];
|
||||
maintainers = with maintainers; [ AndersonTorres OPNA2608 ];
|
||||
maintainers = with maintainers; [ OPNA2608 ];
|
||||
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||
mainProgram = "palemoon";
|
||||
platforms = [ "x86_64-linux" ];
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitLab,
|
||||
installShellFiles,
|
||||
pkg-config,
|
||||
nettle,
|
||||
openssl,
|
||||
sqlite,
|
||||
darwin,
|
||||
gnupg,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sequoia-wot";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "sequoia-pgp";
|
||||
repo = "sequoia-wot";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-qSf2uESsMGUEvAiRefpwxHKyizbq5Sst3SpjKaMIWTQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-vGseKdHqyncScS57UF3SR3EVdUGKVMue8fnRftefSY0=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
sqlite
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
# See comment near sequoia-openpgp/crypto- buildFeatures
|
||||
] ++ lib.optionals (!stdenv.targetPlatform.isWindows) [
|
||||
nettle
|
||||
];
|
||||
|
||||
buildFeatures = [
|
||||
# Upstream uses the sequoia-openpgp crate, which doesn't force you to use a
|
||||
# specific crypto backend. As recommended by sequoia-openpgp's crate
|
||||
# docs[1], upstream uses `target.'cfg(not(windows))'.dev-dependencies` to
|
||||
# choose a different backend when the target platform is Windows or not. We
|
||||
# propagate this logic here as well.
|
||||
#
|
||||
# [1]: https://crates.io/crates/sequoia-openpgp#user-content-intermediate-crate
|
||||
(if stdenv.targetPlatform.isWindows then
|
||||
"sequoia-openpgp/crypto-cng"
|
||||
else
|
||||
"sequoia-openpgp/crypto-nettle"
|
||||
)
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [ gnupg ];
|
||||
|
||||
# Install shell completion files and manual pages. Unfortunatly it is hard to
|
||||
# predict the paths to all of these files generated during the build, and it
|
||||
# is impossible to control these using `$OUT_DIR` or alike, as implied by
|
||||
# upstream's `build.rs`. This is a general Rust issue also discussed in
|
||||
# https://github.com/rust-lang/cargo/issues/9661, also discussed upstream at:
|
||||
# https://gitlab.com/sequoia-pgp/sequoia-wot/-/issues/56
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd sq-wot \
|
||||
--bash target/*/release/build/sequoia-wot-*/out/sq-wot.bash \
|
||||
--fish target/*/release/build/sequoia-wot-*/out/sq-wot.fish \
|
||||
--zsh target/*/release/build/sequoia-wot-*/out/_sq-wot
|
||||
# Also elv and powershell are generated there
|
||||
installManPage \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot.1 \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot-authenticate.1 \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot-lookup.1 \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot-identify.1 \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot-list.1 \
|
||||
target/*/release/build/sequoia-wot-*/out/sq-wot-path.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Rust CLI tool for authenticating bindings and exploring a web of trust";
|
||||
homepage = "https://gitlab.com/sequoia-pgp/sequoia-wot";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ Cryolitia ];
|
||||
mainProgram = "sq-wot";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
textlint,
|
||||
textlint-plugin-latex2e,
|
||||
textlint-rule-max-comma,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint-plugin-latex2e";
|
||||
version = "1.2.1-unstable-2024-02-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint";
|
||||
repo = "textlint-plugin-latex2e";
|
||||
rev = "d3ba1be14543aaaf8e52f87d103fafb3ebb7c4b0";
|
||||
hash = "sha256-sCDpyhnznMAkIPWK0BawWZwuR9UO/ipIG2o5hyBkJQ0=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-u2cMZC3s4iGCWG6iVMDYfb6XbxfjCdwpzl7opkwtrU8=";
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
inherit (textlint-plugin-latex2e) pname;
|
||||
rule = textlint-rule-max-comma;
|
||||
plugin = textlint-plugin-latex2e;
|
||||
testFile = ./test.tex;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint Plugin LaTeX2ε";
|
||||
homepage = "https://github.com/textlint/textlint-plugin-latex2e";
|
||||
changelog = "https://github.com/textlint/textlint-plugin-latex2e/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
\documentclass{article}
|
||||
\begin{document}
|
||||
Nix, is a tool, that takes a unique approach to package management and system configuration, Learn how to make reproducible, declarative, and reliable systems.
|
||||
\end{document}
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-abbr-within-parentheses,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-abbr-within-parentheses";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "azu";
|
||||
repo = "textlint-rule-abbr-within-parentheses";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-CBrf7WtvywDmtuSyxkDtAyjmrj7KS3TQLSsNfMxeWXw=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-N4tnja6qTo7jtn7Dh4TwBUCUKfbIbHvdZ7aeJcE+NlU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-abbr-within-parentheses
|
||||
cp -r . $out/lib/node_modules/textlint-rule-abbr-within-parentheses/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-abbr-within-parentheses;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule check if write abbreviations within parentheses";
|
||||
homepage = "https://github.com/azu/textlint-rule-abbr-within-parentheses";
|
||||
changelog = "https://github.com/azu/textlint-rule-abbr-within-parentheses/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
Passing an expression `expr` that evaluates to a store path to any built-in function which reads from the filesystem constitutes IFD(Import From Derivation).
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
textlint,
|
||||
textlint-rule-alex,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint-rule-alex";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-alex";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-1JoiUhiRXZWIyLAJXp5ZzFAa/NBCN79jYh5kMNbO0jI=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-ovDDiOZ415ubyDqbLNggzoVuqUWsRlG3zlhRW6xU3SQ=";
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-alex;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule for alex";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-alex";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-alex/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
A message for this sentence will pop up.
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-common-misspellings,
|
||||
}:
|
||||
|
||||
# there is no lock file in this package, but it is old and stable enough
|
||||
# so that we handle dependencies manually
|
||||
let
|
||||
misspellings = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "misspellings";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/misspellings/-/misspellings-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-+4QxmGjoF0mBldN4XQMvoK8YDS4PBV9/c+/BPf4FbkM=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/node_modules/misspellings
|
||||
cp -r . $out/lib/node_modules/misspellings/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
|
||||
textlint-rule-helper = stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-helper";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint";
|
||||
repo = "textlint-rule-helper";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-SVeL/3KC/yazSGsmn5We8fJAuVqfcspzN7i2a4+EOlI=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-UN56VuUHl7aS+QLON8ZROTSCGKKCn/8xuIkR46LyY+U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-helper
|
||||
cp -r . $out/lib/node_modules/textlint-rule-helper/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-common-misspellings";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://registry.npmjs.org/textlint-rule-common-misspellings/-/textlint-rule-common-misspellings-${finalAttrs.version}.tgz";
|
||||
hash = "sha256-5QVb5T2yGuunNhRQG5brJQyicRRbO8XewzjO2RzN0bI=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
buildInputs = [
|
||||
misspellings
|
||||
textlint-rule-helper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-common-misspellings/node_modules/textlint-rule-helper
|
||||
cp -r ${misspellings}/lib/node_modules/misspellings $out/lib/node_modules/textlint-rule-common-misspellings/node_modules/misspellings
|
||||
cp -r ${textlint-rule-helper}/lib/node_modules/textlint-rule-helper/node_modules/* $out/lib/node_modules/textlint-rule-common-misspellings/node_modules
|
||||
cp -r ${textlint-rule-helper}/lib/node_modules/textlint-rule-helper/lib $out/lib/node_modules/textlint-rule-common-misspellings/node_modules/textlint-rule-helper/lib
|
||||
cp -r ${textlint-rule-helper}/lib/node_modules/textlint-rule-helper/package.json $out/lib/node_modules/textlint-rule-common-misspellings/node_modules/textlint-rule-helper/package.json
|
||||
|
||||
cp -r . $out/lib/node_modules/textlint-rule-common-misspellings/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-common-misspellings;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule to check common misspellings";
|
||||
homepage = "https://github.com/io-monad/textlint-rule-common-misspellings";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
mainProgram = "textlint-rule-common-misspellings";
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
`textlint-rule-common-misspellings` is an old and mature libary.
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
textlint,
|
||||
textlint-rule-diacritics,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint-rule-diacritics";
|
||||
version = "1.0.0-unstable-2023-01-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sapegin";
|
||||
repo = "textlint-rule-diacritics";
|
||||
rev = "07977d866aa6ce514bc6ed3a1087b2bb5869bfb4";
|
||||
hash = "sha256-Zr+qWvgpLq3pzO4A7c+x4rTKkaSNO4t1gCiyJL3lkws=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-bKA8aPVBYdzRPwCyFdEs3eWStJwswCZPVpsqGWwc42E=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-diacritics;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule to check correct usage of diacritics";
|
||||
homepage = "https://github.com/sapegin/textlint-rule-diacritics?tab=readme-ov-file";
|
||||
changelog = "https://github.com/sapegin/textlint-rule-diacritics/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
creme brulee
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-en-max-word-count,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-en-max-word-count";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-en-max-word-count";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-ZZWN0PVHQBHcvJ53jDtD/6wLxBYmSHO7OXb5UQQAmyc=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-3sEbvIfSaMz9pJalEKs7y05OVh+cKDg9jfLYmVyS53M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-en-max-word-count
|
||||
cp -r . $out/lib/node_modules/textlint-rule-en-max-word-count/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-en-max-word-count;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule that specify the maximum word count of a sentence";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-en-max-word-count";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-en-max-word-count/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
Nix is a tool that takes a unique approach to package management and system configuration, learn how to make reproducible declarative and reliable systems, Nix builds packages in isolation from each other, this ensures that they are reproducible and don’t have undeclared dependencies, so if a package works on one machine, it will also work on another.
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-max-comma,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-max-comma";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-max-comma";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-Sf7ehhEOcy1HdgnIra8darkucF6RebQQV/NfJtft/DA=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-jSsVQhvmc5mJ1gh6I5UaLvdz+HpaXI0fXFX0KCh01/c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-max-comma
|
||||
cp -r . $out/lib/node_modules/textlint-rule-max-comma/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-max-comma;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule is that limit maximum comma(,) count of sentence";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-max-comma";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-max-comma/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
Nix, is a tool, that takes a unique approach to package management and system configuration, Learn how to make reproducible, declarative, and reliable systems.
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-no-start-duplicated-conjunction,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-no-start-duplicated-conjunction";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-no-start-duplicated-conjunction";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-DtuCkHy440j2VI/JDJGrW2M8alQ8pxllfIZfB4+9z3U=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-+3SJQgOG5bYSmNWbxsFNEEtKtCg8V04MIk6FhHwOZMo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-no-start-duplicated-conjunction
|
||||
cp -r . $out/lib/node_modules/textlint-rule-no-start-duplicated-conjunction/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-no-start-duplicated-conjunction;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule that check no start with duplicated conjunction";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-no-start-duplicated-conjunction";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-no-start-duplicated-conjunction/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,3 @@
|
||||
But, A is ~.
|
||||
So, A is ~.
|
||||
But, A is ~.
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-period-in-list-item,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-period-in-list-item";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-period-in-list-item";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-hAkueH5q5s0kmvKZiOrCxtfmoHtHH0U8cVLhQ7eoqT0=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-4tVTR/Wpcr/nJrBhqV3AowwcUiFNiuohyKn6yQvorvc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-period-in-list-item
|
||||
cp -r . $out/lib/node_modules/textlint-rule-period-in-list-item/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-period-in-list-item;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule that check with or without period in list item";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-period-in-list-item";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-period-in-list-item/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
- item.
|
||||
@@ -0,0 +1,72 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-preset-ja-technical-writing,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-preset-ja-technical-writing";
|
||||
version = "10.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-ja";
|
||||
repo = "textlint-rule-preset-ja-technical-writing";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-8KoP/JagMf2kFxz8hr9e0hJH7yPukRURb48v0nPkC/8=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-jm+8XK1E60D1AgYBnlKL0fkAWnn68z2PhCK7T/XbUgk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
fixup-yarn-lock
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-preset-ja-technical-writing
|
||||
cp -r . $out/lib/node_modules/textlint-rule-preset-ja-technical-writing
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-preset-ja-technical-writing;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "技術文書向けのtextlintルールプリセット";
|
||||
homepage = "https://github.com/textlint-ja/textlint-rule-preset-ja-technical-writing";
|
||||
changelog = "https://github.com/textlint-ja/textlint-rule-preset-ja-technical-writing/blob/${finalAttrs.src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
ニックスはいいぞ
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
textlint,
|
||||
textlint-rule-stop-words,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint-rule-stop-words";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sapegin";
|
||||
repo = "textlint-rule-stop-words";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-e9jTbDULOs0DwtT9UZp7k5+RR5Ab/x/sizIvs1MrmZs=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-t9PPHFIiY4vw0ocw6nMuaeYuYWxbc1Pzo0R6bqIsHeI=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-stop-words;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule to find filler words, buzzwords and clichés";
|
||||
homepage = "https://github.com/sapegin/textlint-rule-stop-words";
|
||||
changelog = "https://github.com/sapegin/textlint-rule-stop-words/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
and etc.
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildNpmPackage,
|
||||
textlint,
|
||||
textlint-rule-terminology,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint-rule-terminology";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sapegin";
|
||||
repo = "textlint-rule-terminology";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-/NuKZSugizP4b2LFNqPrTvoXNE4D1sytU2B7T40ZASQ=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-FQr7E6ZSJxj/ide+3JJwc27x15L1bAIAlPnMl8hdQ8w=";
|
||||
|
||||
dontNpmBuild = true;
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-terminology;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule to check correct terms spelling";
|
||||
homepage = "https://github.com/sapegin/textlint-rule-terminology";
|
||||
changelog = "https://github.com/sapegin/textlint-rule-terminology/releases/tag/${src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
Javascript
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-unexpanded-acronym,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-unexpanded-acronym";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-unexpanded-acronym";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-oUOofYfdENRQnwmBDADQgA1uGtRirqqGg8T+QA0LCXY=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-90ZONfn7CnrCsYGliF+c7Ss+SgVmaCYnaVdq3s1HdJU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-unexpanded-acronym
|
||||
cp -r . $out/lib/node_modules/textlint-rule-unexpanded-acronym/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-unexpanded-acronym;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule that check unexpanded acronym";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-unexpanded-acronym";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-unexpanded-acronym/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
Passing an expression `expr` that evaluates to a store path to any built-in function which reads from the filesystem constitutes IFD.
|
||||
@@ -0,0 +1,79 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
fixup-yarn-lock,
|
||||
nodejs,
|
||||
yarn,
|
||||
textlint,
|
||||
textlint-rule-write-good,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "textlint-rule-write-good";
|
||||
version = "2.0.0-unstable-2024-05-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint-rule";
|
||||
repo = "textlint-rule-write-good";
|
||||
rev = "586afa0989ae9ac8a93436f58a24d99afe1cac21";
|
||||
hash = "sha256-ghEmWkwGVvLMy6Gf7IrariDRNfuNBc9EVOQz5w38g0I=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash = "sha256-J02MoKPEYtehQMSaOR1Ytfme1ffgHbQcNnEENeTaxaA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
fixup-yarn-lock
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
export HOME=$(mktemp -d)
|
||||
yarn config --offline set yarn-offline-mirror "$offlineCache"
|
||||
fixup-yarn-lock yarn.lock
|
||||
yarn --offline --frozen-lockfile --ignore-platform --ignore-scripts --no-progress --non-interactive install
|
||||
patchShebangs node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
yarn --offline build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
yarn --offline --production install
|
||||
rm -r test
|
||||
mkdir -p $out/lib/node_modules/textlint-rule-write-good
|
||||
cp -r . $out/lib/node_modules/textlint-rule-write-good/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.tests = textlint.testPackages {
|
||||
rule = textlint-rule-write-good;
|
||||
testFile = ./test.md;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Textlint rule to check your English styles with write-good";
|
||||
homepage = "https://github.com/textlint-rule/textlint-rule-write-good";
|
||||
changelog = "https://github.com/textlint-rule/textlint-rule-write-good/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
platforms = textlint.meta.platforms;
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1 @@
|
||||
So the cat was stolen.
|
||||
@@ -0,0 +1,136 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
autoconf,
|
||||
automake,
|
||||
makeWrapper,
|
||||
runCommand,
|
||||
textlint,
|
||||
textlint-plugin-latex2e,
|
||||
textlint-rule-abbr-within-parentheses,
|
||||
textlint-rule-alex,
|
||||
textlint-rule-common-misspellings,
|
||||
textlint-rule-diacritics,
|
||||
textlint-rule-en-max-word-count,
|
||||
textlint-rule-max-comma,
|
||||
textlint-rule-no-start-duplicated-conjunction,
|
||||
textlint-rule-period-in-list-item,
|
||||
textlint-rule-preset-ja-technical-writing,
|
||||
textlint-rule-stop-words,
|
||||
textlint-rule-terminology,
|
||||
textlint-rule-unexpanded-acronym,
|
||||
textlint-rule-write-good,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "textlint";
|
||||
version = "14.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "textlint";
|
||||
repo = "textlint";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-u8BRzfvpZ8xggJwH8lsu+hqsql6s4SZVlkFzLBe6zvE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# this package uses lerna and requires building many workspaces.
|
||||
# this patch removes unnecessary workspaces,
|
||||
# reducing package size and build time.
|
||||
./remove-workspaces.patch
|
||||
];
|
||||
|
||||
npmDepsHash = "sha256-rmRtCP51rt/wd/ef0iwMMI6eCGF1KNN7kJqomitMJ+w=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf
|
||||
automake
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,lib}
|
||||
|
||||
npm prune --omit=dev --no-save
|
||||
rm -r node_modules/.cache
|
||||
rm -r packages/textlint-{scripts,tester}
|
||||
rm -r packages/@textlint/*/test
|
||||
|
||||
cp -r node_modules $out/lib
|
||||
cp -r packages $out/lib
|
||||
ln -s $out/lib/node_modules/textlint/bin/textlint.js $out/bin/textlint
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
withPackages =
|
||||
ps:
|
||||
runCommand "textlint-with-packages" { nativeBuildInputs = [ makeWrapper ]; } ''
|
||||
makeWrapper ${textlint}/bin/textlint $out/bin/textlint \
|
||||
--set NODE_PATH ${lib.makeSearchPath "lib/node_modules" ps}
|
||||
'';
|
||||
|
||||
testPackages =
|
||||
{
|
||||
rule,
|
||||
testFile,
|
||||
pname ? rule.pname,
|
||||
plugin ? null,
|
||||
}:
|
||||
let
|
||||
ruleName = lib.removePrefix "textlint-rule-" rule.pname;
|
||||
isPreset = lib.hasPrefix "preset-" ruleName;
|
||||
ruleName' = lib.removePrefix "preset-" ruleName;
|
||||
pluginName = lib.removePrefix "textlint-plugin-" plugin.pname;
|
||||
args =
|
||||
"${testFile} ${if isPreset then "--preset" else "--rule"} ${ruleName'}"
|
||||
+ lib.optionalString (plugin != null) " --plugin ${pluginName}";
|
||||
in
|
||||
{
|
||||
"${pname}-test" =
|
||||
runCommand "${pname}-test"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
(textlint.withPackages [
|
||||
rule
|
||||
plugin
|
||||
])
|
||||
];
|
||||
}
|
||||
''
|
||||
grep ${ruleName'} <(textlint ${args}) > $out
|
||||
'';
|
||||
};
|
||||
|
||||
tests = lib.mergeAttrsList (
|
||||
map (package: package.tests) [
|
||||
textlint-plugin-latex2e
|
||||
textlint-rule-abbr-within-parentheses
|
||||
textlint-rule-alex
|
||||
textlint-rule-common-misspellings
|
||||
textlint-rule-diacritics
|
||||
textlint-rule-en-max-word-count
|
||||
textlint-rule-max-comma
|
||||
textlint-rule-no-start-duplicated-conjunction
|
||||
textlint-rule-period-in-list-item
|
||||
textlint-rule-preset-ja-technical-writing
|
||||
textlint-rule-stop-words
|
||||
textlint-rule-terminology
|
||||
textlint-rule-unexpanded-acronym
|
||||
textlint-rule-write-good
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "The pluggable natural language linter for text and markdown";
|
||||
homepage = "https://github.com/textlint/textlint";
|
||||
changelog = "https://github.com/textlint/textlint/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
mainProgram = "textlint";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
diff --git a/package.json b/package.json
|
||||
index 9dd7fdc6..c5e74f88 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -56,12 +56,8 @@
|
||||
"trailingComma": "none"
|
||||
},
|
||||
"workspaces": [
|
||||
- "packages/*",
|
||||
- "examples/*",
|
||||
- "packages/@textlint/*",
|
||||
- "packages/textlint-scripts/examples/*",
|
||||
- "test/*",
|
||||
- "website"
|
||||
+ "packages/textlint",
|
||||
+ "packages/@textlint/*"
|
||||
],
|
||||
"packageManager": "npm@9.9.2"
|
||||
}
|
||||
@@ -15,6 +15,7 @@
|
||||
, libdovi
|
||||
, xxHash
|
||||
, fast-float
|
||||
, vulkanSupport ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -33,13 +34,11 @@ stdenv.mkDerivation rec {
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
vulkan-headers
|
||||
python3Packages.jinja2
|
||||
python3Packages.glad2
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
vulkan-loader
|
||||
shaderc
|
||||
lcms2
|
||||
libGL
|
||||
@@ -47,15 +46,19 @@ stdenv.mkDerivation rec {
|
||||
libunwind
|
||||
libdovi
|
||||
xxHash
|
||||
vulkan-headers
|
||||
] ++ lib.optionals vulkanSupport [
|
||||
vulkan-loader
|
||||
] ++ lib.optionals (!stdenv.cc.isGNU) [
|
||||
fast-float
|
||||
];
|
||||
|
||||
mesonFlags = with lib; [
|
||||
(mesonOption "vulkan-registry" "${vulkan-headers}/share/vulkan/registry/vk.xml")
|
||||
(mesonBool "demos" false) # Don't build and install the demo programs
|
||||
(mesonEnable "d3d11" false) # Disable the Direct3D 11 based renderer
|
||||
(mesonEnable "glslang" false) # rely on shaderc for GLSL compilation instead
|
||||
(mesonEnable "vk-proc-addr" vulkanSupport)
|
||||
(mesonOption "vulkan-registry" "${vulkan-headers}/share/vulkan/registry/vk.xml")
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
(mesonEnable "unwind" false) # libplacebo doesn’t build with `darwin.libunwind`
|
||||
];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, pkg-config, libsamplerate, libsndfile, fftw
|
||||
, lv2, jdk
|
||||
, lv2, jdk_headless
|
||||
, vamp-plugin-sdk, ladspaH, meson, ninja, darwin }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-2e+J4rjvn4WxOsPC+uww4grPLJ86nIxFzmN/K8leV2w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config meson ninja jdk ];
|
||||
nativeBuildInputs = [ pkg-config meson ninja jdk_headless ];
|
||||
buildInputs = [ libsamplerate libsndfile fftw vamp-plugin-sdk ladspaH lv2 ] ++ lib.optionals stdenv.isDarwin
|
||||
(with darwin.apple_sdk.frameworks; [Accelerate CoreGraphics CoreVideo]);
|
||||
makeFlags = [ "AR:=$(AR)" ];
|
||||
|
||||
@@ -137,6 +137,20 @@ mapAliases {
|
||||
swagger = throw "swagger was removed because it was broken and abandoned upstream"; # added 2023-09-09
|
||||
tedicross = throw "tedicross was removed because it was broken"; # added 2023-09-09
|
||||
inherit (pkgs) terser; # Added 2023-08-31
|
||||
inherit (pkgs) textlint; # Added 2024-05-13
|
||||
textlint-plugin-latex = throw "textlint-plugin-latex was removed because it is unmaintained for years. Please use textlint-plugin-latex2e instead."; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-abbr-within-parentheses; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-alex; # Added 2024-05-16
|
||||
inherit (pkgs) textlint-rule-common-misspellings; # Added 2024-05-25
|
||||
inherit (pkgs) textlint-rule-diacritics; # Added 2024-05-16
|
||||
inherit (pkgs) textlint-rule-en-max-word-count; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-max-comma; # Added 2024-05-15
|
||||
inherit (pkgs) textlint-rule-no-start-duplicated-conjunction; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-period-in-list-item; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-stop-words; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-terminology; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-unexpanded-acronym; # Added 2024-05-17
|
||||
inherit (pkgs) textlint-rule-write-good; # Added 2024-05-16
|
||||
thelounge = pkgs.thelounge; # Added 2023-05-22
|
||||
three = throw "three was removed because it was no longer needed"; # Added 2023-09-08
|
||||
inherit (pkgs) titanium; # added 2023-08-17
|
||||
|
||||
@@ -220,20 +220,6 @@
|
||||
, "tailwindcss"
|
||||
, "teck-programmer"
|
||||
, "tern"
|
||||
, "textlint"
|
||||
, "textlint-plugin-latex"
|
||||
, "textlint-rule-abbr-within-parentheses"
|
||||
, "textlint-rule-alex"
|
||||
, "textlint-rule-common-misspellings"
|
||||
, "textlint-rule-diacritics"
|
||||
, "textlint-rule-en-max-word-count"
|
||||
, "textlint-rule-max-comma"
|
||||
, "textlint-rule-no-start-duplicated-conjunction"
|
||||
, "textlint-rule-period-in-list-item"
|
||||
, "textlint-rule-stop-words"
|
||||
, "textlint-rule-terminology"
|
||||
, "textlint-rule-unexpanded-acronym"
|
||||
, "textlint-rule-write-good"
|
||||
, "thelounge-plugin-closepms"
|
||||
, "thelounge-plugin-giphy"
|
||||
, "thelounge-plugin-shortcuts"
|
||||
|
||||
-1215
File diff suppressed because it is too large
Load Diff
@@ -22,7 +22,7 @@
|
||||
|
||||
let
|
||||
pname = "ansible";
|
||||
version = "9.5.1";
|
||||
version = "9.6.0";
|
||||
in
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
@@ -32,7 +32,7 @@ buildPythonPackage {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PCeLyWQrl/yVOyugW5nNgIAedb81Z9+qHLUTH+DsHs0=";
|
||||
hash = "sha256-WHMqStdKdG0pns+ki3qRyyF+LAvTpEST8tnymvLzq2E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -15,19 +15,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aws-encryption-sdk";
|
||||
version = "3.2.0";
|
||||
version = "3.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-QwT8+M4qo/qYsaz/ejvzzQUowynAxDe1Xg9Fa79iNH4=";
|
||||
hash = "sha256-6yrboU9IHNg9cWmrjmQplIltOaSmTheWkEprSSVmE7A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
attrs
|
||||
boto3
|
||||
cryptography
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cf-xarray";
|
||||
version = "0.9.0";
|
||||
version = "0.9.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -29,7 +29,7 @@ buildPythonPackage rec {
|
||||
owner = "xarray-contrib";
|
||||
repo = "cf-xarray";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MlI5Wx0GOcXPRb/p0sPyAtbf84g3LQKVxCZLBfEIGLo=";
|
||||
hash = "sha256-Og84lB99576G3IZz8LNafF86TyYP+ooe2tL8wb60RPw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -12,18 +12,18 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "clarabel";
|
||||
version = "0.7.1";
|
||||
version = "0.8.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-owqxNfR1xbx4Mp/X31dSkRVeYFW8rwISTrYQuK0XY5Y=";
|
||||
hash = "sha256-03GEFzlvzLeedKVeDokdHGArwjunh3Zm8cJQL90mI+o=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-Tg9K66WIIAZyua8QlKrlUnpRJRmuxe7ihIr2Vqg79NQ=";
|
||||
hash = "sha256-9zBr9SUd8jJDSqRX9Xs0mDV5gck/qfqJ3VfEAOz7EsA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with rustPlatform; [
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
nose,
|
||||
django,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-nose";
|
||||
version = "1.4.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a4885cd002d65fd2de96e2bb2563ef477c3fbe207009360c015fca5c3b5561b7";
|
||||
};
|
||||
|
||||
# vast dependency list
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
django
|
||||
nose
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides all the goodness of nose in your Django tests";
|
||||
homepage = "https://github.com/django-nose/django-nose";
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
||||
@@ -20,14 +20,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-oauth-toolkit";
|
||||
version = "2.3.0";
|
||||
version = "2.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-oGg5MD9p4PSUVkt5pGLwjAF4SHHf4Aqr+/3FsuFaybY=";
|
||||
hash = "sha256-nfLjjVp+6OsjFdJHUZ2gzZic/E/sCklj+YeFyb/EZdw=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
gcc12Stdenv,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
@@ -14,22 +12,16 @@
|
||||
unittestCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
stdenv' = if stdenv.isLinux then gcc12Stdenv else stdenv;
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
pname = "faster-fifo";
|
||||
version = "1.4.5";
|
||||
version = "1.4.6";
|
||||
format = "pyproject";
|
||||
|
||||
# https://github.com/alex-petrenko/faster-fifo/issues/47\
|
||||
stdenv = stdenv';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alex-petrenko";
|
||||
repo = "faster-fifo";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-35kD+RWXwUXHG5leTVj4wY6hJAjDka69YczgSTIbCeg=";
|
||||
hash = "sha256-vgaaIJTtNg2XqEZ9TB7tTMPJ9yMyWjtfdgNU/lcNLcg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
autograd,
|
||||
numba,
|
||||
@@ -16,7 +17,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "hyppo";
|
||||
version = "0.4.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
@@ -27,6 +28,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-QRE3oSxTEobTQ/7DzCAUOdjzIZmWUn9bgPmJWj6JuZg=";
|
||||
};
|
||||
|
||||
# some of the doctests (4/21) are broken, e.g. unbound variables, nondeterministic with insufficient tolerance, etc.
|
||||
# (note upstream's .circleci/config.yml only tests test_*.py files despite their pytest.ini adding --doctest-modules)
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini --replace-fail "addopts = --doctest-modules" ""
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
autograd
|
||||
numba
|
||||
@@ -40,15 +49,14 @@ buildPythonPackage rec {
|
||||
matplotlib
|
||||
seaborn
|
||||
];
|
||||
disabledTestPaths = [
|
||||
"docs"
|
||||
"benchmarks"
|
||||
"examples"
|
||||
pytestFlagsArray = [
|
||||
"hyppo"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/neurodata/hyppo";
|
||||
description = "Python package for multivariate hypothesis testing";
|
||||
changelog = "https://github.com/neurodata/hyppo/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
|
||||
@@ -1,28 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
cliche,
|
||||
fetchPypi,
|
||||
marshmallow,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
recline,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
setuptools,
|
||||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "netapp-ontap";
|
||||
version = "9.14.1.0";
|
||||
format = "setuptools";
|
||||
version = "9.15.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "netapp_ontap";
|
||||
inherit version;
|
||||
sha256 = "sha256-nh7SHcyujTVXSgxQajRA4EueN6Hf8cKueQbsbnr6+qw=";
|
||||
hash = "sha256-cw8wfMKBbzN4HWLg8Xxzpnv05atKWeTZlBaBIaNWTvo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
marshmallow
|
||||
requests
|
||||
requests-toolbelt
|
||||
@@ -32,16 +37,16 @@ buildPythonPackage rec {
|
||||
recline
|
||||
];
|
||||
|
||||
# no tests in sdist and no other download available
|
||||
# No tests in sdist and no other download available
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "netapp_ontap" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for working with ONTAP's REST APIs simply in Python";
|
||||
mainProgram = "ontap-cli";
|
||||
homepage = "https://devnet.netapp.com/restapi.php";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
mainProgram = "ontap-cli";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openai";
|
||||
version = "1.28.0";
|
||||
version = "1.30.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7.1";
|
||||
@@ -34,7 +34,7 @@ buildPythonPackage rec {
|
||||
owner = "openai";
|
||||
repo = "openai-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-zWvrLCAN/OsSiNLQ2jvEh9anoSpMXgEYhAFwh9btWEM=";
|
||||
hash = "sha256-Z11gyTZ3UMlcWV3OFxVgMcFF11W+nm2dj2KK1ivTjEI=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "osqp";
|
||||
version = "0.6.5";
|
||||
version = "0.6.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-soEK7nviNzrdi2wL5a2ZuBAoh3SrykIXUcsDLWpa7e8=";
|
||||
hash = "sha256-O3ARmFV6SZxg67U9fyUBkGSFXHMvTz+84gVdeJ5Tph0=";
|
||||
};
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybids";
|
||||
version = "0.16.4";
|
||||
version = "0.16.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-pahl8wi6Sf8AuVqkvi7H90ViHr+9utb14ZVmKK3rFm4=";
|
||||
hash = "sha256-5MAp5CYlOh1WxsXOE/LHVNm/K4VGFaLKWaaKYwKjQIM=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fontconfig,
|
||||
python,
|
||||
cython,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
fontconfig,
|
||||
freefont_ttf,
|
||||
lib,
|
||||
makeFontsConf,
|
||||
python,
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -25,6 +26,16 @@ buildPythonPackage rec {
|
||||
buildInputs = [ fontconfig ];
|
||||
nativeBuildInputs = [ cython ];
|
||||
|
||||
patches = [
|
||||
# distutils has been removed since python 3.12
|
||||
# See https://github.com/vayn/python-fontconfig/pull/10
|
||||
(fetchpatch {
|
||||
name = "no-distutils.patch";
|
||||
url = "https://github.com/vayn/python-fontconfig/commit/15e1a72c90e93a665569e0ba771ae53c7c8020c8.patch";
|
||||
hash = "sha256-2mAemltWh3+LV4FDOg6uSD09zok3Eyd+v1WJJdouOV8=";
|
||||
})
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
${python.pythonOnBuildForHost.interpreter} setup.py build_ext -i
|
||||
'';
|
||||
|
||||
@@ -1,22 +1,25 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
filetype,
|
||||
future,
|
||||
hypothesis,
|
||||
lib,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
requests-oauthlib,
|
||||
responses,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-twitter";
|
||||
version = "3.5";
|
||||
format = "setuptools";
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ setuptools ];
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -35,7 +38,7 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
filetype
|
||||
future
|
||||
requests
|
||||
@@ -53,6 +56,11 @@ buildPythonPackage rec {
|
||||
--replace "'pytest-runner'" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# AttributeError: 'FileCacheTest' object has no attribute 'assert_'
|
||||
"test_filecache"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "twitter" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sparklines";
|
||||
version = "0.4.2";
|
||||
version = "0.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deeplook";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1hfxp5c4wbyddy7fgmnda819w3dia3i6gqb2323dr2z016p84r7l";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-oit1bDqP96wwfTRCV8V0N9P/+pkdW2WYOWT6u3lb4Xs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future ];
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sparse";
|
||||
version = "0.15.1";
|
||||
version = "0.15.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-lzrcuIqNuOPYBHlTMx4m0/ZKVlf5tGprhZxHZjw+75k=";
|
||||
hash = "sha256-1LHFfST/D2Ty/VtalbSbf7hO0geibX1Yzidk3MXHK4Q=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -10,19 +10,19 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stripe";
|
||||
version = "9.6.0";
|
||||
version = "9.7.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-kwXYSc6nFdxZxeOdAYkUdbguEO252V7h2BiUV+XeeS8=";
|
||||
hash = "sha256-r2lHI795aM6hipVmQdzveG7B9y3oAicY+j7194aL1DA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
requests
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
@@ -14,20 +14,20 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "truststore";
|
||||
version = "0.9.1";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sethmlarson";
|
||||
repo = pname;
|
||||
repo = "truststore";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-BP88oQ363XFuRMKZqW8wSm1wl5upU+yEgmwktv65JOU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
aiohttp
|
||||
httpx
|
||||
pyopenssl
|
||||
@@ -35,14 +35,14 @@ buildPythonPackage rec {
|
||||
trustme
|
||||
];
|
||||
|
||||
# tests requires networking
|
||||
# Tests requires networking
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "truststore" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/sethmlarson/truststore";
|
||||
description = "Verify certificates using native system trust stores";
|
||||
homepage = "https://github.com/sethmlarson/truststore";
|
||||
changelog = "https://github.com/sethmlarson/truststore/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ anthonyroussel ];
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
grpcio,
|
||||
}:
|
||||
let
|
||||
version = "0.13.7";
|
||||
version = "0.14.2";
|
||||
optional-dependencies = {
|
||||
huggingflace = [
|
||||
langdetect
|
||||
@@ -100,7 +100,7 @@ buildPythonPackage {
|
||||
owner = "Unstructured-IO";
|
||||
repo = "unstructured";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Ekfa454mL7isMX79bd/YXPPHnetSzo1Mlg/XJakYyDM=";
|
||||
hash = "sha256-zJK4QAfMz2uiMYe3tGxISZB4kKUwKeE44aB6s1iMUPQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "vhdl-ls";
|
||||
version = "0.80.0";
|
||||
version = "0.81.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VHDL-LS";
|
||||
repo = "rust_hdl";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-3p6SmmNnuPoHbA0QmfgvO342AhRx5dI9q4YXypi/2k0=";
|
||||
hash = "sha256-iF8HIfxC7WM5YT85HfCTM5hu5yCFnHpDposGDAO3qJI=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-zAz33P5k6wmQej8u45+lXKHSRVaZhrB5L0jUPjs44W8=";
|
||||
cargoHash = "sha256-hkmaMzeQLd3l6A3xyLAZk+MrEeUKPd7H2N4Nsz7nBmk=";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace vhdl_lang/src/config.rs \
|
||||
|
||||
@@ -15,16 +15,16 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "texlab";
|
||||
version = "5.16.0";
|
||||
version = "5.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "latex-lsp";
|
||||
repo = "texlab";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hdco5A6qUUs/kTXdaZKo9WhMq9FcbJyDwUauK4IElIA=";
|
||||
hash = "sha256-oXROZdnmkqb0nd2CdLJO/KYkoe+BriYlfMJXe1yKGTA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-MlV6+D6fpuIkLGd2lcFmfIXPtJSr5wV9njlqFoANs8o=";
|
||||
cargoHash = "sha256-4GWoTHSQD7DnAsiUWEF2TX+2r3XD3t/9+j/PGL7Haq8=";
|
||||
|
||||
outputs = [ "out" ] ++ lib.optional (!isCross) "man";
|
||||
|
||||
@@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec {
|
||||
# generate the man page
|
||||
postInstall = lib.optionalString (!isCross) ''
|
||||
# TexLab builds man page separately in CI:
|
||||
# https://github.com/latex-lsp/texlab/blob/v5.16.0/.github/workflows/publish.yml#L117-L121
|
||||
# https://github.com/latex-lsp/texlab/blob/v5.16.1/.github/workflows/publish.yml#L117-L121
|
||||
help2man --no-info "$out/bin/texlab" > texlab.1
|
||||
installManPage texlab.1
|
||||
'';
|
||||
|
||||
@@ -17,20 +17,20 @@ let
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "tauri";
|
||||
version = "1.6.6";
|
||||
version = "1.6.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tauri-apps";
|
||||
repo = pname;
|
||||
rev = "tauri-v${version}";
|
||||
hash = "sha256-RttKRAjkD12E8gvOum/ynHecsvrZWw3br3OzQuvutcA=";
|
||||
hash = "sha256-XlF6OUkk9Djo28e9ntZ2EFwVyGB1nuSrCGnreSnZsRQ=";
|
||||
};
|
||||
|
||||
# Manually specify the sourceRoot since this crate depends on other crates in the workspace. Relevant info at
|
||||
# https://discourse.nixos.org/t/difficulty-using-buildrustpackage-with-a-src-containing-multiple-cargo-workspaces/10202
|
||||
sourceRoot = "${src.name}/tooling/cli";
|
||||
|
||||
cargoHash = "sha256-vxLFw+tD6+IdV58A6nmFwuhcgbCBpcMfpej8VsBmJ1w=";
|
||||
cargoHash = "sha256-r1lxSQAGpEXpicwuwVkQhLdMKUX36TuS5Y9MQNV28ek=";
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ glibc libsoup cairo gtk3 webkitgtk ]
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "Tautulli";
|
||||
version = "2.13.4";
|
||||
version = "2.14.2";
|
||||
format = "other";
|
||||
|
||||
pythonPath = [ setuptools ];
|
||||
@@ -11,8 +11,8 @@ buildPythonApplication rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Tautulli";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-cOHirjYdfPPv7O9o3vnsKBffvqxoaRN32NaUOK0SmQ8=";
|
||||
rev = "refs/tags/v${version}";
|
||||
sha256 = "sha256-IMEjUUIdt4NwufXhQLZl8yxajKOfK8AvWBWxlahZ8Xs=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -131,6 +131,7 @@ mapAliases ({
|
||||
django-hijack-admin = throw "django-hijack-admin has been removed, since it is no longer compatible to django-hijack"; # added 2023-06-21
|
||||
django_modelcluster = django-modelcluster; # added 2022-04-02
|
||||
django_nose = django-nose; # added 2023-07-25
|
||||
django-nose = throw "django-nose has been removed since it has not been maintained and there are no dependent packages"; # added 2024-05-21
|
||||
django_reversion = django-reversion; # added 2022-06-18
|
||||
django_polymorphic = django-polymorphic; # added 2022-05-24
|
||||
django_redis = django-redis; # added 2021-10-11
|
||||
|
||||
@@ -3278,8 +3278,6 @@ self: super: with self; {
|
||||
|
||||
django-ninja = callPackage ../development/python-modules/django-ninja { };
|
||||
|
||||
django-nose = callPackage ../development/python-modules/django-nose { };
|
||||
|
||||
django-oauth-toolkit = callPackage ../development/python-modules/django-oauth-toolkit { };
|
||||
|
||||
django-otp = callPackage ../development/python-modules/django-otp { };
|
||||
|
||||
Reference in New Issue
Block a user