nur-packages

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

default.nix (601B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   buildGoModule,
      5 }:
      6 
      7 buildGoModule {
      8   pname = "rhttp";
      9   version = "0-unstable-2024-04-22";
     10 
     11   src = fetchFromGitHub {
     12     owner = "1buran";
     13     repo = "rHttp";
     14     rev = "783b7a8cc4a210963a1cab6c502c2515054d66ba";
     15     hash = "sha256-ZirlRBKQq0lUP4STHYWRd/A5joFLTFXikhqttRiYZ8g=";
     16   };
     17 
     18   vendorHash = "sha256-NR1q44IUSME+x1EOcnXXRoIXw8Av0uH7iXhD+cdd99I=";
     19 
     20   meta = {
     21     description = "REPL for HTTP";
     22     homepage = "https://github.com/1buran/rHttp";
     23     license = lib.licenses.agpl3Only;
     24     maintainers = [ lib.maintainers.sikmir ];
     25     mainProgram = "rhttp";
     26   };
     27 }