2022-12-24 22:55:47 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gitUpdater
|
|
|
|
, pkg-config
|
|
|
|
, ffmpeg
|
|
|
|
}:
|
2018-07-18 18:17:42 +00: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 18:17:42 +00: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 18:17:42 +00: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 21:15:55 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-12-28 16:02:41 +00:00
|
|
|
buildInputs = [ ffmpeg ];
|
2018-07-18 18:17:42 +00: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 18:17:42 +00: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-17 23:13:36 +00:00
|
|
|
maintainers = with maintainers; [ Madouura ];
|
2018-07-18 18:17:42 +00:00
|
|
|
};
|
|
|
|
}
|