nixpkgs/pkgs/servers/hydron/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
868 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
, gitUpdater
, pkg-config
, ffmpeg_4
}:
2018-07-18 18:17:42 +00:00
2020-12-28 16:02:41 +00:00
buildGoModule rec {
pname = "hydron";
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}";
hash = "sha256-Q1pZf5FPQw+pHItcZyOGx0N+iHmz9rW0+ANFsketh6E=";
2018-07-18 18:17:42 +00:00
};
vendorHash = "sha256-fyGC6k9/xER5GwVelBhy5C5tiq6NMhwSmYjSpvenrfA=";
2022-01-01 05:05:04 +00:00
proxyVendor = true;
2022-04-17 21:15:55 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ffmpeg_4 ];
2018-07-18 18:17:42 +00:00
passthru.updateScript = gitUpdater {
rev-prefix = "v";
};
meta = with lib; {
2018-07-18 18:17:42 +00:00
homepage = "https://github.com/bakape/hydron";
description = "High performance media tagger and organizer";
license = with licenses; [ lgpl3Plus ];
knownVulnerabilities = [ "CVE-2023-4863" ]; # Via https://github.com/chai2010/webp dep
maintainers = with maintainers; [ Madouura ];
2018-07-18 18:17:42 +00:00
};
}