2020-03-27 08:33:21 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-12-28 15:56:08 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "age";
|
2020-04-18 08:57:32 +02:00
|
|
|
version = "unstable-2020-03-25";
|
2019-12-28 15:56:08 +01:00
|
|
|
goPackagePath = "github.com/FiloSottile/age";
|
2020-04-18 08:57:32 +02:00
|
|
|
modSha256 = "00yhn1894ni8bvkqm1vr0rqkky52pkhvdzbi2sqx3czlgb5ibw3h";
|
2019-12-28 15:56:08 +01:00
|
|
|
|
|
|
|
subPackages = [
|
|
|
|
"cmd/age"
|
|
|
|
"cmd/age-keygen"
|
|
|
|
];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "FiloSottile";
|
|
|
|
repo = "age";
|
2020-04-18 08:57:32 +02:00
|
|
|
rev = "f0f8092d60bb96737fa096c29ec6d8adb5810390";
|
|
|
|
sha256 = "079kfc8d1pr39hr4qnx48kviyzwg4p8m4pz0bdkypns4aq8ppbfk";
|
2019-12-28 15:56:08 +01:00
|
|
|
};
|
|
|
|
|
2020-03-27 08:33:21 +01:00
|
|
|
meta = with lib; {
|
2019-12-28 15:56:08 +01:00
|
|
|
homepage = "https://age-encryption.org/";
|
|
|
|
description = "Modern encryption tool with small explicit keys";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ tazjin ];
|
|
|
|
};
|
|
|
|
}
|