adrgen: init at 0.4.0-beta
This commit is contained in:
parent
0e57783d3a
commit
2d124b5b9a
34
pkgs/tools/misc/adrgen/default.nix
Normal file
34
pkgs/tools/misc/adrgen/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -909,6 +909,8 @@ with pkgs;
|
||||||
|
|
||||||
acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; };
|
acme-client = callPackage ../tools/networking/acme-client { stdenv = gccStdenv; };
|
||||||
|
|
||||||
|
adrgen = callPackage ../tools/misc/adrgen { };
|
||||||
|
|
||||||
adriconf = callPackage ../tools/graphics/adriconf { };
|
adriconf = callPackage ../tools/graphics/adriconf { };
|
||||||
|
|
||||||
amass = callPackage ../tools/networking/amass { };
|
amass = callPackage ../tools/networking/amass { };
|
||||||
|
|
Loading…
Reference in a new issue