Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / fi / figurine / package.nix
blob5c1fa255565b420769470458bf43eeeb11e2347f
1 { lib
2 , fetchFromGitHub
3 , buildGoModule
4 }:
6 buildGoModule rec {
7   pname = "figurine";
8   version = "1.3.0";
10   src = fetchFromGitHub {
11     owner = "arsham";
12     repo = "figurine";
13     rev = "v${version}";
14     hash = "sha256-1q6Y7oEntd823nWosMcKXi6c3iWsBTxPnSH4tR6+XYs=";
15   };
17   vendorHash = "sha256-mLdAaYkQH2RHcZft27rDW1AoFCWKiUZhh2F0DpqZELw=";
19   ldflags = [
20     "-s"
21     "-w"
22     "-X main.version=${version}"
23     "-X main.currentSha=${src.rev}"
24   ];
26   meta = with lib; {
27     homepage = "https://github.com/arsham/figurine";
28     description = "Print your name in style";
29     mainProgram = "figurine";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ ironicbadger ];
32   };