mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
snippetexpander: 1.0.3 -> 1.1.2 (#553564)
This commit is contained in:
@@ -13,7 +13,7 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
pname = "snippetexpander";
|
||||
|
||||
vendorHash = "sha256-2nLO/b6XQC88VXE+SewhgKpkRtIHsva+fDudgKpvZiY=";
|
||||
vendorHash = "sha256-1ofkbbitCzrLxugi769jbjOD2iN0Z6kYC5d7X2GYNIg=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "snippetexpanderd";
|
||||
version = "1.0.3";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~ianmjones";
|
||||
repo = "snippetexpander";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-NIMuACrq8RodtjeBbBY42VJ8xqj7fZvdQ2w/5QsjjJI=";
|
||||
hash = "sha256-L+3Zn4z48ZqoVH38oxKg2BkhCTGynsIofQqMDzkfha4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-2nLO/b6XQC88VXE+SewhgKpkRtIHsva+fDudgKpvZiY=";
|
||||
vendorHash = "sha256-1ofkbbitCzrLxugi769jbjOD2iN0Z6kYC5d7X2GYNIg=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
snippetexpanderx,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
buildGoModule (finalAttrs: {
|
||||
inherit (snippetexpanderd) src version;
|
||||
|
||||
pname = "snippetexpandergui";
|
||||
|
||||
vendorHash = "sha256-2nLO/b6XQC88VXE+SewhgKpkRtIHsva+fDudgKpvZiY=";
|
||||
vendorHash = "sha256-1ofkbbitCzrLxugi769jbjOD2iN0Z6kYC5d7X2GYNIg=";
|
||||
|
||||
proxyVendor = true;
|
||||
|
||||
@@ -41,7 +41,7 @@ buildGoModule rec {
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'main.version=${src.rev}'"
|
||||
"-X 'main.version=${finalAttrs.src.rev}'"
|
||||
];
|
||||
|
||||
tags = [
|
||||
@@ -77,4 +77,4 @@ buildGoModule rec {
|
||||
platforms = lib.platforms.linux;
|
||||
mainProgram = "snippetexpandergui";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user