mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
zvbi: init at 0.2.42
This commit is contained in:
parent
7ad7e69aa8
commit
b6747f4e6f
57
pkgs/by-name/zv/zvbi/package.nix
Normal file
57
pkgs/by-name/zv/zvbi/package.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
autoreconfHook,
|
||||
fetchFromGitHub,
|
||||
gitUpdater,
|
||||
lib,
|
||||
libiconv,
|
||||
stdenv,
|
||||
testers,
|
||||
validatePkgConfig,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zvbi";
|
||||
version = "0.2.42";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zapping-vbi";
|
||||
repo = "zvbi";
|
||||
rev = "refs/tags/v${finalAttrs.version}";
|
||||
hash = "sha256-IeSGscgz51IndX6Xbu8Kw8GcJ9MLXXFhV+4LvnVkrLE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
validatePkgConfig
|
||||
];
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libiconv;
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
"man"
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Vertical Blanking Interval (VBI) utilities";
|
||||
homepage = "https://github.com/zapping-vbi/zvbi";
|
||||
changelog = "https://github.com/zapping-vbi/zvbi/blob/v${finalAttrs.version}/ChangeLog";
|
||||
pkgConfigModules = [ "zvbi-0.2" ];
|
||||
license = with lib.licenses; [
|
||||
bsd2
|
||||
bsd3
|
||||
gpl2
|
||||
gpl2Plus
|
||||
lgpl21Plus
|
||||
lgpl2Plus
|
||||
mit
|
||||
];
|
||||
maintainers = with lib.maintainers; [ jopejoe1 ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user