zoxide: 0.9.6 -> 0.9.7 (#380745)
[NixPkgs.git] / pkgs / by-name / na / nar-serve / package.nix
blob84e91c2ae2bfcd23a49641159b68cf76a14f8022
2   buildGoModule,
3   fetchFromGitHub,
4   lib,
5   nixosTests,
6 }:
7 buildGoModule rec {
8   pname = "nar-serve";
9   version = "0.7.0";
11   src = fetchFromGitHub {
12     owner = "numtide";
13     repo = "nar-serve";
14     rev = "v${version}";
15     hash = "sha256-8QuMS00EutmqzAIPxyJEPxM8EHiWlSKs6E2Htoh3Kes=";
16   };
18   vendorHash = "sha256-td9NYHGYJYPlIj2tnf5I/GnJQOOgODc6TakHFwxyvLQ=";
20   doCheck = false;
22   passthru.tests = { inherit (nixosTests) nar-serve; };
24   meta = with lib; {
25     description = "Serve NAR file contents via HTTP";
26     mainProgram = "nar-serve";
27     homepage = "https://github.com/numtide/nar-serve";
28     license = licenses.mit;
29     maintainers = with maintainers; [
30       rizary
31       zimbatm
32     ];
33   };