Merge pull request #152813 from IvarWithoutBones/init/adrgen

adrgen: init at 0.4.0-beta
This commit is contained in:
Kevin Cox 2022-01-03 15:10:51 -05:00 committed by GitHub
commit 26e7296f67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testVersion
, adrgen
}:
buildGoModule rec {
pname = "adrgen";
version = "0.4.0-beta";
src = fetchFromGitHub {
owner = "asiermarques";
repo = "adrgen";
rev = "v${version}";
sha256 = "sha256-2ZE/orsfwL59Io09c4yfXt2enVmpSM/QHlUMgyd9RYQ=";
};
vendorSha256 = "sha256-aDtUD+KKKSE0TpSi4+6HXSBMqF/TROZZhT0ox3a8Idk=";
passthru.tests.version = testVersion {
package = adrgen;
command = "adrgen version";
version = "v${version}";
};
meta = with lib; {
homepage = "https://github.com/asiermarques/adrgen";
description = "A command-line tool for generating and managing Architecture Decision Records";
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.ivar ];
};
}

View file

@ -909,6 +909,8 @@ with pkgs;
acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; };
adrgen = callPackage ../tools/misc/adrgen { };
adriconf = callPackage ../tools/graphics/adriconf { };
amass = callPackage ../tools/networking/amass { };