superfile: 1.3.2 -> 1.3.3; fix build (#429579)
This commit is contained in:
commit
9c9c796ce7
@ -1,12 +1,14 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
writableTmpDirAsHomeHook,
|
writableTmpDirAsHomeHook,
|
||||||
|
exiftool,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "1.3.2";
|
version = "1.3.3";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
in
|
in
|
||||||
buildGoModule {
|
buildGoModule {
|
||||||
@ -17,7 +19,7 @@ buildGoModule {
|
|||||||
owner = "yorukot";
|
owner = "yorukot";
|
||||||
repo = "superfile";
|
repo = "superfile";
|
||||||
inherit tag;
|
inherit tag;
|
||||||
hash = "sha256-IzdaOJcwi7+8d8QpTLPJwEhffEz4h0Rdv7APOMcnTHw=";
|
hash = "sha256-A1SWsBcPtGNbSReslp5L3Gg4hy3lDSccqGxFpLfVPrk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-sqt0BzJW1nu6gYAhscrXlTAbwIoUY7JAOuzsenHpKEI=";
|
vendorHash = "sha256-sqt0BzJW1nu6gYAhscrXlTAbwIoUY7JAOuzsenHpKEI=";
|
||||||
@ -27,10 +29,19 @@ buildGoModule {
|
|||||||
"-w"
|
"-w"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ exiftool ];
|
||||||
|
|
||||||
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
|
nativeCheckInputs = [ writableTmpDirAsHomeHook ];
|
||||||
|
|
||||||
# Upstream notes that this could be flakey, and it consistently fails for me.
|
# Upstream notes that this could be flaky, and it consistently fails for me.
|
||||||
checkFlags = [ "-skip=^TestReturnDirElement/Sort_by_Date$" ];
|
checkFlags = [
|
||||||
|
"-skip=^TestReturnDirElement/Sort_by_Date$"
|
||||||
|
]
|
||||||
|
++ lib.optionals stdenv.isDarwin [
|
||||||
|
# Only failing on nix darwin. I suspect this is due to the way
|
||||||
|
# darwin handles file permissions.
|
||||||
|
"-skip=^TestCompressSelectedFiles"
|
||||||
|
];
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user