2024-09-19 14:19:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
asouldocs,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
testers,
|
|
|
|
}:
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "asouldocs";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "asoul-sig";
|
|
|
|
repo = "asouldocs";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-ctRE7aF3Qj+fI/m0CuLA6x7E+mY6s1+UfBJI5YFea4g=";
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-T/KLiSK6bxXGkmVJ5aGrfHTUfLs/ElGyWSoCL5kb/KU=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
passthru.tests.version = testers.testVersion {
|
|
|
|
package = asouldocs;
|
|
|
|
command = "asouldocs --version";
|
|
|
|
};
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Web server for multi-language, real-time synchronization and searchable documentation";
|
|
|
|
homepage = "https://asouldocs.dev/";
|
|
|
|
license = licenses.mit;
|
2024-07-01 15:47:52 +00:00
|
|
|
maintainers = with maintainers; [ anthonyroussel ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "asouldocs";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
}
|