depot/pkgs/by-name/ac/aces-container/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

33 lines
752 B
Nix

{
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;
};
})