mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
figurine: init at 1.3.0
This commit is contained in:
parent
800d69029b
commit
09e2db488c
32
pkgs/by-name/fi/figurine/package.nix
Normal file
32
pkgs/by-name/fi/figurine/package.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildGoModule
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "figurine";
|
||||||
|
version = "1.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "arsham";
|
||||||
|
repo = "figurine";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-1q6Y7oEntd823nWosMcKXi6c3iWsBTxPnSH4tR6+XYs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-mLdAaYkQH2RHcZft27rDW1AoFCWKiUZhh2F0DpqZELw=";
|
||||||
|
|
||||||
|
ldflags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X main.version=${version}"
|
||||||
|
"-X main.currentSha=${src.rev}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/arsham/figurine";
|
||||||
|
description = "Print your name in style";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ ironicbadger ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user