Merge pull request #111791 from 06kellyjac/agate
This commit is contained in:
commit
c8f640c146
29
pkgs/servers/gemini/agate/default.nix
Normal file
29
pkgs/servers/gemini/agate/default.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{ lib, fetchFromGitHub, rustPlatform, installShellFiles }:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "agate";
|
||||||
|
version = "2.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "mbrubeck";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-rwoEZnxh0x+xaggJuoeSjE1ctF43ChW5awcDJyoWioA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "sha256-ey/fUHkPoWjWlLjh1WNpwMKOkdQKgFYcLwQdx2RQ3CI=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://proxy.vulpes.one/gemini/gem.limpet.net/agate";
|
||||||
|
changelog = "https://proxy.vulpes.one/gemini/gem.limpet.net/agate";
|
||||||
|
description = "Very simple server for the Gemini hypertext protocol";
|
||||||
|
longDescription = ''
|
||||||
|
Agate is a server for the Gemini network protocol, built with the Rust
|
||||||
|
programming language. Agate has very few features, and can only serve
|
||||||
|
static files. It uses async I/O, and should be quite efficient even when
|
||||||
|
running on low-end hardware and serving many concurrent requests.
|
||||||
|
'';
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ jk ];
|
||||||
|
};
|
||||||
|
}
|
@ -705,6 +705,8 @@ in
|
|||||||
|
|
||||||
afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };
|
afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };
|
||||||
|
|
||||||
|
agate = callPackage ../servers/gemini/agate { };
|
||||||
|
|
||||||
agda-pkg = callPackage ../development/tools/agda-pkg { };
|
agda-pkg = callPackage ../development/tools/agda-pkg { };
|
||||||
|
|
||||||
agrep = callPackage ../tools/text/agrep { };
|
agrep = callPackage ../tools/text/agrep { };
|
||||||
|
Loading…
Reference in New Issue
Block a user