Skip to content

Commit

Permalink
Merge pull request #3 from dzmitry-lahoda-forks/dz/1
Browse files Browse the repository at this point in the history
nix
  • Loading branch information
agouin authored Sep 29, 2023
2 parents 584e07a + 7e5bd85 commit 9005497
Show file tree
Hide file tree
Showing 3 changed files with 107 additions and 0 deletions.
84 changes: 84 additions & 0 deletions flake.lock

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

22 changes: 22 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
description = "bech32cli";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
gitignore = {
url = "github:hercules-ci/gitignore.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = inputs@{ flake-parts, gitignore, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, self', inputs', pkgs, system, ... }: {
packages.default = pkgs.buildGoModule {
vendorSha256 = "sha256-oS/87ih8C2ScQkz/iYOrjDiXJ7vN6CwT/GI8DjzeFNg=";
name = "bech32cli";
src = gitignore.lib.gitignoreSource ./.;
};
};
};
}
1 change: 1 addition & 0 deletions result

0 comments on commit 9005497

Please sign in to comment.