remod: init at 1.0.1 (#361651)

This commit is contained in:
Aleksana 2024-12-05 19:32:53 +08:00 committed by GitHub
commit c34effa646
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 60 additions and 317 deletions

View File

@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchYarnDeps,
yarnConfigHook,
yarnBuildHook,
yarnInstallHook,
nodejs,
nix-update-script,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "remod";
version = "1.0.1";
src = fetchFromGitHub {
owner = "samuela";
repo = "remod";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-7tLxvh/pLlt3Y+PkNF0s5f/wh/wGdeDtt0dc4eQqWlw=";
};
yarnOfflineCache = fetchYarnDeps {
yarnLock = finalAttrs.src + "/yarn.lock";
hash = "sha256-94i1wduLWCGHZNoohhBfjt3i2qsWr6UznKLHXH4im+c=";
};
nativeBuildInputs = [
yarnConfigHook
yarnBuildHook
yarnInstallHook
# Needed for executing package.json scripts
nodejs
];
yarnBuildScript = "prepare";
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
changelog = "https://github.com/samuela/remod/releases/tag/v${finalAttrs.version}";
description = "chmod for human beings!";
homepage = "https://github.com/samuela/remod";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pyrox0 ];
mainProgram = "remod";
};
})

View File

@ -163,6 +163,7 @@ mapAliases {
react-tools = throw "react-tools was removed because it was deprecated"; # added 2023-09-25
readability-cli = pkgs.readability-cli; # Added 2023-06-12
inherit (pkgs) redoc-cli; # added 2023-09-12
remod-cli = pkgs.remod; # added 2024-12-04
reveal-md = pkgs.reveal-md; # added 2023-07-31
inherit (pkgs) rtlcss; # added 2023-08-29
s3http = throw "s3http was removed because it was abandoned upstream"; # added 2023-08-18

View File

@ -45,7 +45,6 @@
purs-tidy = "purs-tidy";
purty = "purty";
pscid = "pscid";
remod-cli = "remod";
vscode-json-languageserver = "vscode-json-languageserver";
webtorrent-cli = "webtorrent";
}

View File

@ -157,7 +157,6 @@
, "purescript-psa"
, "purs-tidy"
, "purty"
, "remod-cli"
, "reveal.js"
, "rimraf"
, "rollup"

View File

@ -13756,15 +13756,6 @@ let
sha512 = "x1FCFnFifvYDDzTaLII71vG5uvDwgtmDTEVWAxrgeiR8VjMONcCXJx7E+USjDtHlwFmt9MysbqgF9b9Vjr6w+w==";
};
};
"astral-regex-1.0.0" = {
name = "astral-regex";
packageName = "astral-regex";
version = "1.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz";
sha512 = "+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==";
};
};
"astral-regex-2.0.0" = {
name = "astral-regex";
packageName = "astral-regex";
@ -16087,15 +16078,6 @@ let
sha512 = "bA/Z/DERHKqoEOrp+qeGKw1QlvEQkGZSc0XaY6VnTxZr+Kv1G5zFwttpjv8qxZ/sBPT4nthwZaAcsAZTJlSKXQ==";
};
};
"camelcase-keys-4.2.0" = {
name = "camelcase-keys";
packageName = "camelcase-keys";
version = "4.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-4.2.0.tgz";
sha512 = "Ej37YKYbFUI8QiYlvj9YHb6/Z60dZyPJW0Cs8sFilMbd2lP0bw3ylAq9yJkK4lcTA2dID5fG8LjmJYbO7kWb7Q==";
};
};
"camelcase-keys-6.2.2" = {
name = "camelcase-keys";
packageName = "camelcase-keys";
@ -16285,15 +16267,6 @@ let
sha512 = "Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==";
};
};
"chalk-3.0.0" = {
name = "chalk";
packageName = "chalk";
version = "3.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz";
sha512 = "4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==";
};
};
"chalk-4.1.0" = {
name = "chalk";
packageName = "chalk";
@ -28645,15 +28618,6 @@ let
sha512 = "Zfeb5ol+H+eqJWHTaGca9BovufyGeIfr4zaaBorPmJBMrJ+KBnN+kQx2ZtXdsotUTgldHmHQV44xvUWOUA7E2w==";
};
};
"ink-2.7.1" = {
name = "ink";
packageName = "ink";
version = "2.7.1";
src = fetchurl {
url = "https://registry.npmjs.org/ink/-/ink-2.7.1.tgz";
sha512 = "s7lJuQDJEdjqtaIWhp3KYHl6WV3J04U9zoQ6wVc+Xoa06XM27SXUY57qC5DO46xkF0CfgXMKkKNcgvSu/SAEpA==";
};
};
"ink-3.2.0" = {
name = "ink";
packageName = "ink";
@ -33568,15 +33532,6 @@ let
sha512 = "vlP11XfFGyeNQlmEn9tJ66rEW1coA/79m5z6BCkudjbAGE83uhAcGYrBFwfs3AdLiLzGRusRPAbSPK9xZteCmg==";
};
};
"log-update-3.4.0" = {
name = "log-update";
packageName = "log-update";
version = "3.4.0";
src = fetchurl {
url = "https://registry.npmjs.org/log-update/-/log-update-3.4.0.tgz";
sha512 = "ILKe88NeMt4gmDvk/eb615U/IVn7K9KWGkoYbdatQ69Z65nj1ZzjM6fHXfcs0Uge+e+EGnMW7DY4T9yko8vWFg==";
};
};
"log-update-5.0.1" = {
name = "log-update";
packageName = "log-update";
@ -34073,15 +34028,6 @@ let
sha512 = "7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==";
};
};
"map-obj-2.0.0" = {
name = "map-obj";
packageName = "map-obj";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/map-obj/-/map-obj-2.0.0.tgz";
sha512 = "TzQSV2DiMYgoF5RycneKVUzIa9bQsj/B3tTgsE3dOGqlzHnGIDaC7XBE7grnA+8kZPnfqSGFe95VHc2oc0VFUQ==";
};
};
"map-obj-4.3.0" = {
name = "map-obj";
packageName = "map-obj";
@ -34901,15 +34847,6 @@ let
sha512 = "TNdwZs0skRlpPpCUK25StC4VH+tP5GgeY1HQOOGP+lQ2xtdkN2VtT/5tiX9k3IWpkBPV9b3LsAWXn4GGi/PrSA==";
};
};
"meow-5.0.0" = {
name = "meow";
packageName = "meow";
version = "5.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz";
sha512 = "CbTqYU17ABaLefO8vCU153ZZlprKYWDljcndKKDCFcYQITzWCXZAVk4QMFZPgvzrnUQ3uItnIE/LoUOwrT15Ig==";
};
};
"meow-8.1.2" = {
name = "meow";
packageName = "meow";
@ -36089,15 +36026,6 @@ let
sha512 = "2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==";
};
};
"minimist-options-3.0.2" = {
name = "minimist-options";
packageName = "minimist-options";
version = "3.0.2";
src = fetchurl {
url = "https://registry.npmjs.org/minimist-options/-/minimist-options-3.0.2.tgz";
sha512 = "FyBrT/d0d4+uiZRbqznPXqw3IpZZG3gl3wKWiX784FycUKVwBt0uLBFkQrtE4tZOrgo78nZp2jnKz3L65T5LdQ==";
};
};
"minimist-options-4.1.0" = {
name = "minimist-options";
packageName = "minimist-options";
@ -41949,15 +41877,6 @@ let
sha512 = "2FPputGL+mP3jJ3UZg/Dl9YOkovB7DX0oOr+ck5QbZ5MtORtds8k/BZdn+02peDLI8/YWbmzx34k5fA+fHvCVQ==";
};
};
"prop-types-15.8.1" = {
name = "prop-types";
packageName = "prop-types";
version = "15.8.1";
src = fetchurl {
url = "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz";
sha512 = "oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==";
};
};
"proper-lockfile-4.1.2" = {
name = "proper-lockfile";
packageName = "proper-lockfile";
@ -42417,15 +42336,6 @@ let
sha512 = "kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==";
};
};
"quick-lru-1.1.0" = {
name = "quick-lru";
packageName = "quick-lru";
version = "1.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/quick-lru/-/quick-lru-1.1.0.tgz";
sha512 = "tRS7sTgyxMXtLum8L65daJnHUhfDUgboRdcWW2bR9vBfrj2+O5HSMbQOJfJJjIVSPFqbBCF37FpwWXGitDc5tA==";
};
};
"quick-lru-4.0.1" = {
name = "quick-lru";
packageName = "quick-lru";
@ -42696,15 +42606,6 @@ let
sha512 = "xVTNGQy/dAxOolunBLmVMGZ49VUUR1s8jZUiJQb+g1sI63GAv9+a5Jas9yHvdxeUgiZkU9r3gDExDorxHzOgRA==";
};
};
"react-16.14.0" = {
name = "react";
packageName = "react";
version = "16.14.0";
src = fetchurl {
url = "https://registry.npmjs.org/react/-/react-16.14.0.tgz";
sha512 = "0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==";
};
};
"react-17.0.2" = {
name = "react";
packageName = "react";
@ -42741,15 +42642,6 @@ let
sha512 = "nQTTcUu+ATDbrSD1BZHr5kgSD4oF8OFjxun8uAaL8RwPBacGBNPf/yAuVVdx17N8XNzRDMrZ9XcKZHCjPW+9ew==";
};
};
"react-is-16.13.1" = {
name = "react-is";
packageName = "react-is";
version = "16.13.1";
src = fetchurl {
url = "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz";
sha512 = "24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==";
};
};
"react-is-17.0.2" = {
name = "react-is";
packageName = "react-is";
@ -42768,15 +42660,6 @@ let
sha512 = "/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==";
};
};
"react-reconciler-0.24.0" = {
name = "react-reconciler";
packageName = "react-reconciler";
version = "0.24.0";
src = fetchurl {
url = "https://registry.npmjs.org/react-reconciler/-/react-reconciler-0.24.0.tgz";
sha512 = "gAGnwWkf+NOTig9oOowqid9O0HjTDC+XVGBCAmJYYJ2A2cN/O4gDdIuuUQjv8A4v6GDwVfJkagpBBLW5OW9HSw==";
};
};
"react-reconciler-0.26.2" = {
name = "react-reconciler";
packageName = "react-reconciler";
@ -43263,15 +43146,6 @@ let
sha512 = "qtW5hKzGQZqKoh6JNSD+4lfitfPKGz42e6QwiRmPM5mmKtR0N41AbJRYu0xJi7nhOJ4WDgRkKvAk6tw4WIwR4g==";
};
};
"redent-2.0.0" = {
name = "redent";
packageName = "redent";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/redent/-/redent-2.0.0.tgz";
sha512 = "XNwrTx77JQCEMXTeb8movBKuK75MgH0RZkujNuDKCezemx/voapl9i2gCSi8WWm8+ox5ycJi1gxF22fR7c0Ciw==";
};
};
"redent-3.0.0" = {
name = "redent";
packageName = "redent";
@ -45261,15 +45135,6 @@ let
sha512 = "xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==";
};
};
"scheduler-0.18.0" = {
name = "scheduler";
packageName = "scheduler";
version = "0.18.0";
src = fetchurl {
url = "https://registry.npmjs.org/scheduler/-/scheduler-0.18.0.tgz";
sha512 = "agTSHR1Nbfi6ulI0kYNK0203joW2Y5W4po4l+v03tOoiJKpTBbxpNhWDvqc/4IcOw+KLmSiQLTasZ4cab2/UWQ==";
};
};
"scheduler-0.20.2" = {
name = "scheduler";
packageName = "scheduler";
@ -47619,15 +47484,6 @@ let
sha512 = "G8cBS7wxxHhwQrKU0Y8SjZJRtCzZ61bMmMCO1bWm6N6y2obT0koGK8uWYloMOaVPPr8zk7Ic995uEd4Jw504AQ==";
};
};
"string-length-3.1.0" = {
name = "string-length";
packageName = "string-length";
version = "3.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/string-length/-/string-length-3.1.0.tgz";
sha512 = "Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA==";
};
};
"string-padding-1.0.2" = {
name = "string-padding";
packageName = "string-padding";
@ -47970,15 +47826,6 @@ let
sha512 = "I5iQq6aFMM62fBEAIB/hXzwJD6EEZ0xEGCX2t7oXqaKPIRgt4WruAQ285BISgdkP+HLGWyeGmNJcpIwFeRYRUA==";
};
};
"strip-indent-2.0.0" = {
name = "strip-indent";
packageName = "strip-indent";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/strip-indent/-/strip-indent-2.0.0.tgz";
sha512 = "RsSNPLpq6YUL7QYy44RnPVTn/lcVZtb48Uof3X5JLbF4zD/Gs7ZFDv2HWol+leoQN2mT86LAzSshGfkTlSOpsA==";
};
};
"strip-indent-3.0.0" = {
name = "strip-indent";
packageName = "strip-indent";
@ -49599,15 +49446,6 @@ let
sha512 = "Nm4cF79FhSTzrLKGDMi3I4utBtFv8qKy4sq1enftf2gMdpqI8oVQTAfySkTz5r49giVzDj88SVZXP4CeYQwjaw==";
};
};
"trim-newlines-2.0.0" = {
name = "trim-newlines";
packageName = "trim-newlines";
version = "2.0.0";
src = fetchurl {
url = "https://registry.npmjs.org/trim-newlines/-/trim-newlines-2.0.0.tgz";
sha512 = "MTBWv3jhVjTU7XR3IQHllbiJs8sc75a80OEhB6or/q7pLTWgQ0bMGQXXYQSrSuXe6WiKWDZ5txXY5P59a/coVA==";
};
};
"trim-newlines-3.0.1" = {
name = "trim-newlines";
packageName = "trim-newlines";
@ -54523,15 +54361,6 @@ let
sha512 = "LqodLrnIDM3IFT+Hf/5sxBnEGECrfdC1uIbgZeJmESCSo4HoCAaKEus8MylXHAkdacGc0ye+Qa+dpkuom8uVYA==";
};
};
"yargs-parser-10.1.0" = {
name = "yargs-parser";
packageName = "yargs-parser";
version = "10.1.0";
src = fetchurl {
url = "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz";
sha512 = "VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==";
};
};
"yargs-parser-13.1.2" = {
name = "yargs-parser";
packageName = "yargs-parser";
@ -77523,150 +77352,6 @@ in
bypassCache = true;
reconstructLock = true;
};
remod-cli = nodeEnv.buildNodePackage {
name = "remod-cli";
packageName = "remod-cli";
version = "1.0.1";
src = fetchurl {
url = "https://registry.npmjs.org/remod-cli/-/remod-cli-1.0.1.tgz";
sha512 = "QxvCtwgDBTeBC9V+niO9WPrnNKVEIa0osvdKhw2JkhOjFY0PK/vcFL5jrj7di6GurLIzdweXJgTWnQz2VljdQQ==";
};
dependencies = [
sources."@types/prop-types-15.7.13"
sources."@types/react-18.3.8"
sources."@types/yoga-layout-1.9.2"
sources."ansi-escapes-4.3.2"
sources."ansi-regex-5.0.1"
sources."ansi-styles-4.3.0"
sources."array-find-index-1.0.2"
sources."arrify-2.0.1"
sources."astral-regex-2.0.0"
sources."auto-bind-4.0.0"
sources."camelcase-4.1.0"
sources."camelcase-keys-4.2.0"
sources."chalk-3.0.0"
sources."ci-info-2.0.0"
sources."cli-cursor-3.1.0"
sources."cli-truncate-2.1.0"
sources."color-convert-2.0.1"
sources."color-name-1.1.4"
sources."csstype-3.1.3"
sources."currently-unhandled-0.4.1"
sources."decamelize-1.2.0"
(sources."decamelize-keys-1.1.1" // {
dependencies = [
sources."map-obj-1.0.1"
];
})
sources."emoji-regex-8.0.0"
sources."error-ex-1.3.2"
sources."escape-string-regexp-1.0.5"
sources."figures-3.2.0"
sources."find-up-2.1.0"
sources."function-bind-1.1.2"
sources."graceful-fs-4.2.11"
sources."has-flag-4.0.0"
sources."hasown-2.0.2"
sources."hosted-git-info-2.8.9"
sources."indent-string-3.2.0"
sources."ink-2.7.1"
sources."is-arrayish-0.2.1"
sources."is-ci-2.0.0"
sources."is-core-module-2.15.1"
sources."is-fullwidth-code-point-3.0.0"
sources."is-plain-obj-1.1.0"
sources."js-tokens-4.0.0"
sources."json-parse-better-errors-1.0.2"
sources."load-json-file-4.0.0"
sources."locate-path-2.0.0"
sources."lodash.throttle-4.1.1"
(sources."log-update-3.4.0" // {
dependencies = [
sources."ansi-escapes-3.2.0"
sources."ansi-regex-4.1.1"
sources."ansi-styles-3.2.1"
sources."cli-cursor-2.1.0"
sources."color-convert-1.9.3"
sources."color-name-1.1.3"
sources."emoji-regex-7.0.3"
sources."is-fullwidth-code-point-2.0.0"
sources."mimic-fn-1.2.0"
sources."onetime-2.0.1"
sources."restore-cursor-2.0.0"
sources."string-width-3.1.0"
sources."strip-ansi-5.2.0"
sources."wrap-ansi-5.1.0"
];
})
sources."loose-envify-1.4.0"
sources."loud-rejection-1.6.0"
sources."map-obj-2.0.0"
sources."meow-5.0.0"
sources."mimic-fn-2.1.0"
(sources."minimist-options-3.0.2" // {
dependencies = [
sources."arrify-1.0.1"
];
})
sources."normalize-package-data-2.5.0"
sources."object-assign-4.1.1"
sources."onetime-5.1.2"
sources."p-limit-1.3.0"
sources."p-locate-2.0.0"
sources."p-try-1.0.0"
sources."parse-json-4.0.0"
sources."path-exists-3.0.0"
sources."path-parse-1.0.7"
sources."path-type-3.0.0"
sources."pify-3.0.0"
sources."prop-types-15.8.1"
sources."quick-lru-1.1.0"
sources."react-16.14.0"
sources."react-is-16.13.1"
sources."react-reconciler-0.24.0"
sources."read-pkg-3.0.0"
sources."read-pkg-up-3.0.0"
sources."redent-2.0.0"
sources."resolve-1.22.8"
sources."restore-cursor-3.1.0"
sources."scheduler-0.18.0"
sources."semver-5.7.2"
sources."signal-exit-3.0.7"
sources."slice-ansi-3.0.0"
sources."spdx-correct-3.2.0"
sources."spdx-exceptions-2.5.0"
sources."spdx-expression-parse-3.0.1"
sources."spdx-license-ids-3.0.20"
(sources."string-length-3.1.0" // {
dependencies = [
sources."ansi-regex-4.1.1"
sources."astral-regex-1.0.0"
sources."strip-ansi-5.2.0"
];
})
sources."string-width-4.2.3"
sources."strip-ansi-6.0.1"
sources."strip-bom-3.0.0"
sources."strip-indent-2.0.0"
sources."supports-color-7.2.0"
sources."supports-preserve-symlinks-flag-1.0.0"
sources."trim-newlines-2.0.0"
sources."type-fest-0.21.3"
sources."validate-npm-package-license-3.0.4"
sources."widest-line-3.1.0"
sources."wrap-ansi-6.2.0"
sources."yargs-parser-10.1.0"
sources."yoga-layout-prebuilt-1.10.0"
];
buildInputs = globalBuildInputs;
meta = {
description = "chmod for human beings!";
license = "MIT";
};
production = true;
bypassCache = true;
reconstructLock = true;
};
"reveal.js" = nodeEnv.buildNodePackage {
name = "reveal.js";
packageName = "reveal.js";