Skip to content

Commit 7ed2bcf

Browse files
bors[bot]Mic92
andauthored
Merge #22
22: CI r=Mic92 a=Mic92 Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2 parents 7874aa7 + 08dad3c commit 7ed2bcf

File tree

3 files changed

+84
-2
lines changed

3 files changed

+84
-2
lines changed

default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{ pkgs ? import <nixpkgs> {} }:
22
pkgs.buildGoModule {
33
pname = "ssh-to-age";
4-
version = "1.0.1";
4+
version = "1.1.1";
55

66
src = ./.;
77

@@ -27,6 +27,5 @@ pkgs.buildGoModule {
2727
homepage = "https://github.com/Mic92/ssh-to-age";
2828
license = licenses.mit;
2929
maintainers = with maintainers; [ mic92 ];
30-
platforms = platforms.unix;
3130
};
3231
}

flake.lock

Lines changed: 64 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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
description = "Convert SSH Ed25519 keys to age keys";
3+
4+
inputs = {
5+
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6+
flake-parts.url = "github:/hercules-ci/flake-parts";
7+
};
8+
9+
outputs = inputs@{ flake-parts, ... }:
10+
flake-parts.lib.mkFlake { inherit inputs; } ({ lib, ... }: {
11+
systems = lib.systems.flakeExposed;
12+
perSystem = { config, self', inputs', pkgs, system, ... }: {
13+
packages = {
14+
ssh-to-age = (pkgs.callPackage ./default.nix {});
15+
default = config.packages.ssh-to-age;
16+
};
17+
};
18+
});
19+
}

0 commit comments

Comments
 (0)