Skip to content

Commit

Permalink
Merge pull request NixOS#322568 from pyrox0/fixjson-init
Browse files Browse the repository at this point in the history
fixjson: move out of node-packages
  • Loading branch information
wegank committed Jun 30, 2024
2 parents 354766a + 5e32cc2 commit b2e0a5c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 59 deletions.
28 changes: 28 additions & 0 deletions pkgs/by-name/fi/fixjson/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
lib,
buildNpmPackage,
fetchFromGitHub
}:

buildNpmPackage {
pname = "fixjson";
version = "1.1.2-unstable-2021-01-05";

src = fetchFromGitHub {
owner = "rhysd";
repo = "fixjson";
# Upstream has no tagged releases, but this commit bumps version
rev = "d0483f9cc59896ea59bb16f906f770562d332000";
hash = "sha256-Mu7ho0t5GzFYuBK6FEXhpsaRxn9HF3lnvMxRpg0aqYI=";
};

npmDepsHash = "sha256-tnsgNtMdnrKYxcYy9+4tgp1BX+o8e5/HUDeSP5BOvUQ=";

meta = {
description = "JSON Fixer for Humans using (relaxed) JSON5";
homepage = "https://github.com/rhysd/fixjson";
license = lib.licenses.mit;
mainProgram = "fixjson";
maintainers = with lib.maintainers; [ pyrox0 ];
};
}
1 change: 1 addition & 0 deletions pkgs/development/node-packages/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ mapAliases {
inherit (pkgs.elmPackages) elm-test;
eslint_d = pkgs.eslint_d; # Added 2023-05-26
inherit (pkgs) firebase-tools; # added 2023-08-18
inherit (pkgs) fixjson; # added 2024-06-26
flood = pkgs.flood; # Added 2023-07-25
generator-code = throw "generator-code was removed because it provides no executable"; # added 2023-09-24
inherit (pkgs) git-run; # added 2024-06-26
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/node-packages/node-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
, "expo-cli"
, "fast-cli"
, "fauna-shell"
, "fixjson"
, "fkill-cli"
, "fleek-cli"
, "forever"
Expand Down
58 changes: 0 additions & 58 deletions pkgs/development/node-packages/node-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b2e0a5c

Please sign in to comment.