···19 # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
20 steps:
21 - uses: actions/checkout@v3
22- - uses: cachix/install-nix-action@v18
23 - uses: cachix/cachix-action@v12
24 with:
25 # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
···19 # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback
20 steps:
21 - uses: actions/checkout@v3
22+ - uses: cachix/install-nix-action@v19
23 - uses: cachix/cachix-action@v12
24 with:
25 # This cache is for the nixpkgs repo checks and should not be trusted or used elsewhere.
+1-1
.github/workflows/editorconfig.yml
···28 with:
29 # pull_request_target checks out the base branch by default
30 ref: refs/pull/${{ github.event.pull_request.number }}/merge
31- - uses: cachix/install-nix-action@v18
32 with:
33 # nixpkgs commit is pinned so that it doesn't break
34 # editorconfig-checker 2.4.0
···28 with:
29 # pull_request_target checks out the base branch by default
30 ref: refs/pull/${{ github.event.pull_request.number }}/merge
31+ - uses: cachix/install-nix-action@v19
32 with:
33 # nixpkgs commit is pinned so that it doesn't break
34 # editorconfig-checker 2.4.0
+1-1
.github/workflows/manual-nixos.yml
···18 with:
19 # pull_request_target checks out the base branch by default
20 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21- - uses: cachix/install-nix-action@v18
22 with:
23 # explicitly enable sandbox
24 extra_nix_config: sandbox = true
···18 with:
19 # pull_request_target checks out the base branch by default
20 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21+ - uses: cachix/install-nix-action@v19
22 with:
23 # explicitly enable sandbox
24 extra_nix_config: sandbox = true
+1-1
.github/workflows/manual-nixpkgs.yml
···18 with:
19 # pull_request_target checks out the base branch by default
20 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21- - uses: cachix/install-nix-action@v18
22 with:
23 # explicitly enable sandbox
24 extra_nix_config: sandbox = true
···18 with:
19 # pull_request_target checks out the base branch by default
20 ref: refs/pull/${{ github.event.pull_request.number }}/merge
21+ - uses: cachix/install-nix-action@v19
22 with:
23 # explicitly enable sandbox
24 extra_nix_config: sandbox = true
···171 inherit src version;
172 # nix will complain and tell you the right value to replace this with
173 hash = lib.fakeHash;
0174 # if you have build time environment variables add them here
175 MY_ENV_VAR="my_value";
176 };
···171 inherit src version;
172 # nix will complain and tell you the right value to replace this with
173 hash = lib.fakeHash;
174+ mixEnv = ""; # default is "prod", when empty includes all dependencies, such as "dev", "test".
175 # if you have build time environment variables add them here
176 MY_ENV_VAR="my_value";
177 };
···1+{ lib
2+, buildGoModule
3+, fetchFromGitHub
4+, git
5+, installShellFiles
6+}:
7+8+buildGoModule rec {
9+ pname = "enc";
10+ version = "1.1.0";
11+12+ src = fetchFromGitHub {
13+ owner = "life4";
14+ repo = "enc";
15+ rev = "v${version}";
16+ sha256 = "Tt+J/MnYJNewSl5UeewS0b47NGW2yzfcVHA5+9UQWSs=";
17+ };
18+ vendorSha256 = "lB6GkE6prfBG7OCOJ1gm23Ee5+nAgmJg8I9Nqe1fsRw=";
19+20+ proxyVendor = true;
21+22+ nativeBuildInputs = [ installShellFiles ];
23+24+ subPackages = ".";
25+26+ ldflags = [
27+ "-s"
28+ "-w"
29+ "-X github.com/life4/enc/version.GitCommit=${version}"
30+ ];
31+32+ nativeCheckInputs = [ git ];
33+34+ postInstall = ''
35+ installShellCompletion --cmd enc \
36+ --bash <($out/bin/enc completion bash) \
37+ --fish <($out/bin/enc completion fish) \
38+ --zsh <($out/bin/enc completion zsh)
39+ '';
40+41+ meta = with lib; {
42+ homepage = "https://github.com/life4/enc";
43+ changelog = "https://github.com/life4/enc/releases/tag/v${version}";
44+ description = "A modern and friendly alternative to GnuPG";
45+ longDescription = ''
46+ Enc is a CLI tool for encryption, a modern and friendly alternative to GnuPG.
47+ It is easy to use, secure by default and can encrypt and decrypt files using password or encryption keys,
48+ manage and download keys, and sign data.
49+ Our goal was to make encryption available to all engineers without the need to learn a lot of new words, concepts,
50+ and commands. It is the most beginner-friendly CLI tool for encryption, and keeping it that way is our top priority.
51+ '';
52+ license = licenses.mit;
53+ maintainers = with maintainers; [ rvnstn ];
54+ };
55+}
···102 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
103 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
104 HAP-python = hap-python; # added 2021-06-01
0105 hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
106 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
107 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
···102 grpc_google_iam_v1 = grpc-google-iam-v1; # added 2021-08-21
103 ha-av = throw "ha-av was removed, because it is no longer maintained"; # added 2022-04-06
104 HAP-python = hap-python; # added 2021-06-01
105+ hangups = throw "hangups was removed because Google Hangouts has been shut down"; # added 2023-02-13
106 hbmqtt = throw "hbmqtt was removed because it is no longer maintained"; # added 2021-11-07
107 hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
108 hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29