Skip to content

Commit 8791ed2

Browse files
authored
Merge pull request #1 from anirudhb/add-flake
2 parents a6bc007 + 523985d commit 8791ed2

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

flake.lock

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
description = "Encode in a character set of your choice";
3+
4+
inputs = {
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
6+
flake-utils.url = "github:numtide/flake-utils";
7+
};
8+
9+
outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: let
10+
pkgs = nixpkgs.legacyPackages.${system};
11+
in rec {
12+
packages.aces = pkgs.buildGoModule {
13+
name = "aces";
14+
src = ./.;
15+
vendorSha256 = null;
16+
meta = with pkgs.lib; {
17+
description = "Encode in a character set of your choice";
18+
homepage = "https://github.com/quackduck/aces";
19+
license = licenses.mit;
20+
platforms = platforms.linux ++ platforms.darwin;
21+
};
22+
};
23+
defaultPackage = packages.aces;
24+
});
25+
}

0 commit comments

Comments
 (0)