Skip to content

Commit

Permalink
Merge pull request #1 from anirudhb/add-flake
Browse files Browse the repository at this point in the history
  • Loading branch information
quackduck authored Oct 17, 2021
2 parents a6bc007 + 523985d commit 8791ed2
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 0 deletions.
43 changes: 43 additions & 0 deletions flake.lock

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

25 changes: 25 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
description = "Encode in a character set of your choice";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
in rec {
packages.aces = pkgs.buildGoModule {
name = "aces";
src = ./.;
vendorSha256 = null;
meta = with pkgs.lib; {
description = "Encode in a character set of your choice";
homepage = "https://github.com/quackduck/aces";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
};
defaultPackage = packages.aces;
});
}

0 comments on commit 8791ed2

Please sign in to comment.