depot/pkgs/by-name/ac/aces-container/package.nix

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

34 lines
752 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "aces-container";
version = "1.0.2";
src = fetchFromGitHub {
owner = "ampas";
repo = "aces_container";
rev = "v${finalAttrs.version}";
hash = "sha256-luMqXqlJ6UzoawEDmbK38lm3GHosaZm/mFJntBF54Y4=";
};
nativeBuildInputs = [
cmake
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-c++11-narrowing";
meta = {
description = "Reference Implementation of SMPTE ST2065-4";
homepage = "https://github.com/ampas/aces_container";
license = lib.licenses.ampas;
maintainers = with lib.maintainers; [ paperdigits ];
mainProgram = "aces-container";
platforms = lib.platforms.all;
};
})