mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
faq: modernize, fix version
Versions are supposed to start with a number Link: https://github.com/NixOS/nixpkgs/issues/541820 Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -9,13 +9,15 @@
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "faq";
|
||||
# Latest git release (0.0.7) presents vendor issues - using latest commit instead.
|
||||
version = "unstable-2022-01-09";
|
||||
version = "0.0.7-unstable-2022-01-09";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jzelinskie";
|
||||
repo = "faq";
|
||||
rev = "594bb8e15dc4070300f39c168354784988646231";
|
||||
sha256 = "1lqrchj4sj16n6y5ljsp8v4xmm57gzkavbddq23dhlgkg2lfyn91";
|
||||
hash = "sha256-IVnvqHjzUdiGwK2treZ/p9TayUZXS1q8sSZITSRkGdM=";
|
||||
};
|
||||
vendorHash = "sha256-731eINkboZiuPXX/HQ4r/8ogLedKBWx1IV7BZRKwU3A";
|
||||
|
||||
@@ -26,7 +28,6 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/jzelinskie/faq/internal/version.Version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user