about summary refs log tree commit diff
path: root/pkgs/agate/default.nix
blob: eb5a47c5d7dffe59b6adbf6b754514fe1dc7f28e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, rustPlatform, fetchFromGitHub }:
with stdenv.lib;

let
  pname = "agate";
  version = "1.2.2";
in
rustPlatform.buildRustPackage {
  inherit pname version;

  src = fetchFromGitHub {
    owner = "mbrubeck";
    repo = pname;
    rev = "v${version}";
    sha256 = "0kfr0xysxh830kxwfwmm9gzpl57b3dbkzrj21dnymwr117vjgjrx";
  };

  cargoSha256 = "1ggwc1q998mp6pggxrmhhvnkyrdh6jv1w9jw0x0y2mbn26k54j0p";

  meta = {
    description = "Very simple server for the Gemini hypertext protocol";
    homepage = "https://github.com/mbrubeck/agate";
    license = "MIT/Apache-2.0";
    platforms = platforms.linux;
  };
}