mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #152813 from IvarWithoutBones/init/adrgen
adrgen: init at 0.4.0-beta
This commit is contained in:
commit
26e7296f67
2 changed files with 36 additions and 0 deletions
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; };
|
||||
|
||||
adrgen = callPackage ../tools/misc/adrgen { };
|
||||
|
||||
adriconf = callPackage ../tools/graphics/adriconf { };
|
||||
|
||||
amass = callPackage ../tools/networking/amass { };
|
||||
|
|
Loading…
Reference in a new issue