Skip to content

Commit

Permalink
add locize-cli-8-0-1 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-martin authored Jul 11, 2024
1 parent d0ba4d1 commit c42d58f
Show file tree
Hide file tree
Showing 9 changed files with 6,245 additions and 0 deletions.
1 change: 1 addition & 0 deletions main/checks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ let
./cypress/checks.nix
./fourmolu/checks.nix
./ghc/checks.nix
./locize-cli/checks.nix
./nodejs/checks.nix
./prettier/checks.nix
];
Expand Down
17 changes: 17 additions & 0 deletions main/flake.lock

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

3 changes: 3 additions & 0 deletions main/justfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
build x:
nix build ./.#packages.$(nix eval --impure --expr "builtins.currentSystem").{{x}} --no-link --print-out-paths --print-build-logs

# Run an individual check
check x:
nix build ./.#checks.$(nix eval --impure --expr "builtins.currentSystem").{{x}} --no-link --print-out-paths --print-build-logs
26 changes: 26 additions & 0 deletions main/locize-cli/8.0.1/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{ inputs, system }:
let
nixpkgs = import inputs.nixpkgs-stable { inherit system; config = { }; };
inherit (nixpkgs) fetchFromGitHub mkYarnPackage fetchYarnDeps nodejs makeWrapper;
in
{
locize-cli-8-0-1 = mkYarnPackage rec
{
pname = "locize-cli";
version = "8.0.1";
src = fetchFromGitHub {
owner = "locize";
repo = "locize-cli";
rev = "v8.0.1";
hash = "sha256-yosx7bCH6ewlGz5Uz7VxcCu2zEiFxFhq/e6OIDGk27k=";
};
packageJSON = "${src}/package.json";
yarnLock = ./yarn.lock;
offlineCache = fetchYarnDeps {
yarnLock = ./yarn.lock;
hash = "sha256-R+QWAIphbCLNKcMH9XMF74JQmRdzxIYeeVqH6xlF6T4=";
};
yarnNix = ./yarn.nix;
nativeBuildInputs = [ makeWrapper ];
};
}
2,849 changes: 2,849 additions & 0 deletions main/locize-cli/8.0.1/yarn.lock

Large diffs are not rendered by default.

Loading

0 comments on commit c42d58f

Please sign in to comment.