2022-12-24 23:55:47 +01:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gitUpdater
|
|
|
|
, pkg-config
|
2023-03-03 19:41:10 +01:00
|
|
|
, ffmpeg_4
|
2022-12-24 23:55:47 +01:00
|
|
|
}:
|
2018-07-18 20:17:42 +02:00
|
|
|
|
2020-12-28 17:02:41 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hydron";
|
2022-12-24 23:55:47 +01:00
|
|
|
version = "3.3.6";
|
2018-07-18 20:17:42 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bakape";
|
|
|
|
repo = "hydron";
|
2020-12-28 17:02:41 +01:00
|
|
|
rev = "v${version}";
|
2022-12-24 23:55:47 +01:00
|
|
|
hash = "sha256-Q1pZf5FPQw+pHItcZyOGx0N+iHmz9rW0+ANFsketh6E=";
|
2018-07-18 20:17:42 +02:00
|
|
|
};
|
|
|
|
|
2022-12-24 23:55:47 +01:00
|
|
|
vendorHash = "sha256-fyGC6k9/xER5GwVelBhy5C5tiq6NMhwSmYjSpvenrfA=";
|
2022-01-01 06:05:04 +01:00
|
|
|
proxyVendor = true;
|
2022-12-24 23:55:47 +01:00
|
|
|
|
2022-04-17 23:15:55 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2023-03-03 19:41:10 +01:00
|
|
|
buildInputs = [ ffmpeg_4 ];
|
2018-07-18 20:17:42 +02:00
|
|
|
|
2022-12-24 23:55:47 +01:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
rev-prefix = "v";
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-07-18 20:17:42 +02:00
|
|
|
homepage = "https://github.com/bakape/hydron";
|
|
|
|
description = "High performance media tagger and organizer";
|
2022-12-24 23:55:47 +01:00
|
|
|
license = with licenses; [ lgpl3Plus ];
|
2023-09-18 21:56:15 +02:00
|
|
|
knownVulnerabilities = [ "CVE-2023-4863" ]; # Via https://github.com/chai2010/webp dep
|
2022-04-18 01:13:36 +02:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2018-07-18 20:17:42 +02:00
|
|
|
};
|
|
|
|
}
|