mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
superfile: 1.2.1 -> 1.3.1
Upstream added tests that reference the home directory, so added writetableTmpDirAsHomeHook. I also added passthru.updateScript. Diff: https://github.com/yorukot/superfile/compare/refs/tags/v1.2.1...refs/tags/v1.3.1 Changelogs: * https://github.com/yorukot/superfile/blob/v1.3.0/changelog.md * https://github.com/yorukot/superfile/releases/tag/v1.3.1
This commit is contained in:
parent
04f5844e2e
commit
6c49f13575
1 changed files with 12 additions and 3 deletions
|
@ -2,9 +2,11 @@
|
||||||
lib,
|
lib,
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
nix-update-script,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "1.2.1";
|
version = "1.3.1";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
in
|
in
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
|
@ -15,16 +17,23 @@ buildGoModule {
|
||||||
owner = "yorukot";
|
owner = "yorukot";
|
||||||
repo = "superfile";
|
repo = "superfile";
|
||||||
inherit tag;
|
inherit tag;
|
||||||
hash = "sha256-yClDrDpt6QUWeAtWkG0tkmFqnaviRixz6Kez0q4cRuk=";
|
hash = "sha256-GlPePeINZ6KL3RRqfQQFYsEdd+70bRJcMqMVnUmgo/I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-STiuaNcmoviHBXGcSPPs39sICsks3Z8I3ANdnlUqA/k=";
|
vendorHash = "sha256-ArsB0B67ymuzxTXfaUuWiRrgVCrZhmGMbJUl2u+thUw=";
|
||||||
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
|
||||||
|
|
||||||
|
# Upstream notes that this could be flakey, and it consistently fails for me.
|
||||||
|
checkFlags = [ "-skip=^TestReturnDirElement/Sort_by_Date$" ];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Pretty fancy and modern terminal file manager";
|
description = "Pretty fancy and modern terminal file manager";
|
||||||
homepage = "https://github.com/yorukot/superfile";
|
homepage = "https://github.com/yorukot/superfile";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue