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