diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2023-08-30 23:04:24 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2023-08-30 23:04:24 -0700 |
| commit | c20c9685aae51deeeef560d16bcf6e6039438b6c (patch) | |
| tree | ea1aa693976fe01b5be3165d832ce4982d80953b /flake.nix | |
| download | imgutil-c20c9685aae51deeeef560d16bcf6e6039438b6c.tar.zst | |
icat: a program to print images in the terminal.
Thanks to WizardCoder for implementing the first version of this code. I
had to clean it up quite a bit though.
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..81b7d36 --- /dev/null +++ b/flake.nix @@ -0,0 +1,17 @@ +{ + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; in + rec { + + packages.x86_64-linux.icat = pkgs.buildGoModule { + pname = "icat"; + version = "1.0"; + + src = self; + + vendorHash = "sha256-WiEK8nq13mdTFnyxDiMRWM1tb60mlZY0fVmtlH5ZWgw="; + }; + + defaultPackage.x86_64-linux = packages.x86_64-linux.icat; + }; +} |
