nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (674B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoModule,
      5 }:
      6 
      7 buildGoModule rec {
      8   pname = "acp";
      9   version = "0.3.0";
     10 
     11   src = fetchFromGitHub {
     12     owner = "Contextualist";
     13     repo = "acp";
     14     rev = "v${version}";
     15     hash = "sha256-qoS3lHr98S5uqmwZ3rZwPDZEQRTDIrxChfOlppbJHI4=";
     16   };
     17 
     18   vendorHash = "sha256-OCoghYUNznwBz7JN2MkHzdngA+mhHcfFIpw8ZMxeeMc=";
     19 
     20   ldflags = [
     21     "-s"
     22     "-w"
     23     "-X main.buildTag=${version}"
     24   ];
     25 
     26   meta = {
     27     description = "Make terminal personal file transfers as simple as `cp`";
     28     homepage = "https://github.com/Contextualist/acp";
     29     license = lib.licenses.mit;
     30     maintainers = [ lib.maintainers.sikmir ];
     31     mainProgram = "acp";
     32   };
     33 }