···1919 # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
2020 steps:
2121 - uses: actions/checkout@v3
2222- - uses: cachix/install-nix-action@v18
2222+ - uses: cachix/install-nix-action@v19
2323 - uses: cachix/cachix-action@v12
2424 with:
2525 # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+1-1
.github/workflows/editorconfig.yml
···2828 with:
2929 # pull_request_target checks out the base branch by default
3030 ref: refs/pull/${{ github.event.pull_request.number }}/merge
3131- - uses: cachix/install-nix-action@v18
3131+ - uses: cachix/install-nix-action@v19
3232 with:
3333 # nixpkgs commit is pinned so that it doesn't break
3434 # editorconfig-checker 2.4.0
+1-1
.github/workflows/manual-nixos.yml
···1818 with:
1919 # pull_request_target checks out the base branch by default
2020 ref: refs/pull/${{ github.event.pull_request.number }}/merge
2121- - uses: cachix/install-nix-action@v18
2121+ - uses: cachix/install-nix-action@v19
2222 with:
2323 # explicitly enable sandbox
2424 extra_nix_config: sandbox = true
+1-1
.github/workflows/manual-nixpkgs.yml
···1818 with:
1919 # pull_request_target checks out the base branch by default
2020 ref: refs/pull/${{ github.event.pull_request.number }}/merge
2121- - uses: cachix/install-nix-action@v18
2121+ - uses: cachix/install-nix-action@v19
2222 with:
2323 # explicitly enable sandbox
2424 extra_nix_config: sandbox = true
···171171 inherit src version;
172172 # nix will complain and tell you the right value to replace this with
173173 hash = lib.fakeHash;
174174+ mixEnv = ""; # default is "prod", when empty includes all dependencies, such as "dev", "test".
174175 # if you have build time environment variables add them here
175176 MY_ENV_VAR="my_value";
176177 };
···11+{ lib
22+, buildGoModule
33+, fetchFromGitHub
44+, git
55+, installShellFiles
66+}:
77+88+buildGoModule rec {
99+ pname = "enc";
1010+ version = "1.1.0";
1111+1212+ src = fetchFromGitHub {
1313+ owner = "life4";
1414+ repo = "enc";
1515+ rev = "v${version}";
1616+ sha256 = "Tt+J/MnYJNewSl5UeewS0b47NGW2yzfcVHA5+9UQWSs=";
1717+ };
1818+ vendorSha256 = "lB6GkE6prfBG7OCOJ1gm23Ee5+nAgmJg8I9Nqe1fsRw=";
1919+2020+ proxyVendor = true;
2121+2222+ nativeBuildInputs = [ installShellFiles ];
2323+2424+ subPackages = ".";
2525+2626+ ldflags = [
2727+ "-s"
2828+ "-w"
2929+ "-X github.com/life4/enc/version.GitCommit=${version}"
3030+ ];
3131+3232+ nativeCheckInputs = [ git ];
3333+3434+ postInstall = ''
3535+ installShellCompletion --cmd enc \
3636+ --bash <($out/bin/enc completion bash) \
3737+ --fish <($out/bin/enc completion fish) \
3838+ --zsh <($out/bin/enc completion zsh)
3939+ '';
4040+4141+ meta = with lib; {
4242+ homepage = "https://github.com/life4/enc";
4343+ changelog = "https://github.com/life4/enc/releases/tag/v${version}";
4444+ description = "A modern and friendly alternative to GnuPG";
4545+ longDescription = ''
4646+ Enc is a CLI tool for encryption, a modern and friendly alternative to GnuPG.
4747+ It is easy to use, secure by default and can encrypt and decrypt files using password or encryption keys,
4848+ manage and download keys, and sign data.
4949+ Our goal was to make encryption available to all engineers without the need to learn a lot of new words, concepts,
5050+ and commands. It is the most beginner-friendly CLI tool for encryption, and keeping it that way is our top priority.
5151+ '';
5252+ license = licenses.mit;
5353+ maintainers = with maintainers; [ rvnstn ];
5454+ };
5555+}
···102102 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
103103 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
104104 HAP-python = hap-python; # added 2021-06-01
105105+ hangups = throw "hangups was removed because Google Hangouts has been shut down"; # added 2023-02-13
105106 hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
106107 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
107108 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29