nur-packages

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

package.nix (707B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule (finalAttrs: {
      8   pname = "exercisediary";
      9   version = "0.1.9";
     10 
     11   __structuredAttrs = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "aceberg";
     15     repo = "ExerciseDiary";
     16     tag = finalAttrs.version;
     17     hash = "sha256-ekGluDuBF4Zb/XTxLRdztVg447x13uo24nNTBuVSfj8=";
     18   };
     19 
     20   vendorHash = "sha256-VKY5cvcjGfjOWa+GnMwdPOfTPOiwoXy0LB7kVD9l4kw=";
     21 
     22   ldflags = [
     23     "-s"
     24     "-w"
     25   ];
     26 
     27   meta = {
     28     description = "Workout diary with GitHub-style year visualization";
     29     homepage = "https://github.com/aceberg/ExerciseDiary";
     30     license = lib.licenses.mit;
     31     mainProgram = "ExerciseDiary";
     32     maintainers = [ lib.maintainers.sikmir ];
     33   };
     34 })