home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

default.nix (384B)


      1 { stdenv, lib, buildGoModule, fetchgit }:
      2 
      3 buildGoModule rec {
      4   pname = "govanityurl";
      5   name = "${pname}-${version}";
      6   version = "0.1.0";
      7 
      8   src = fetchgit {
      9     url = "https://git.sr.ht/~vdemeester/vanityurl";
     10     rev = "v${version}";
     11     sha256 = "sha256-7AdNbbIcNSPRAi8u0+2b/Lscq4MFXci0+WeND8wZkhU=";
     12   };
     13   vendorHash = "sha256-qe7SxvrmgbcUnBUbUVx/l3hLZ1BRHZyDgi8tLtULCms=";
     14 }