biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / devd / default.nix
blob5d2e0a83b4415aa297e15c2a58e5a2fbd206266c
1 { buildGoModule, fetchFromGitHub, fetchpatch, lib }:
3 buildGoModule rec {
4   pname = "devd";
5   version = "unstable-2020-04-27";
7   src = fetchFromGitHub {
8     owner = "cortesi";
9     repo = "devd";
10     rev = "c1a3bfba27d8e028de90fb24452374412a4cffb3";
11     hash = "sha256-k0zj7fiYbaHnNUUI7ruD0vXiT4c1bxPuR4I0dRouCbU=";
12   };
14   vendorHash = "sha256-o7MbN/6n7fkp/yqYyQbfWBUqI09/JYh5jtV31gjNf6w=";
16   patches = [
17     # Update x/sys to support go 1.17.
18     (fetchpatch {
19       url = "https://github.com/cortesi/devd/commit/5f4720bf41399736b4e7e1a493da6c87a583d0b2.patch";
20       hash = "sha256-WDN08XNsDPuZwBCE8iDXgGAWFwx2UTwqRkhzKMtPKR8=";
21     })
22   ];
24   subPackages = [ "cmd/devd" ];
26   ldflags = [ "-s" "-w" ];
28   meta = with lib; {
29     description = "A local webserver for developers";
30     mainProgram = "devd";
31     homepage = "https://github.com/cortesi/devd";
32     license = licenses.mit;
33     maintainers = with maintainers; [ brianhicks ];
34   };