Skip to content

Commit

Permalink
uavs3d: init at 1.1-unstable-2023-02-23
Browse files Browse the repository at this point in the history
  • Loading branch information
jopejoe1 committed Nov 15, 2024
1 parent 5e4e1f3 commit ada2ae8
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions pkgs/by-name/ua/uavs3d/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
lib,
fetchFromGitHub,
cmake,
stdenv,
testers,
unstableGitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "uavs3d";
version = "1.1-unstable-2023-02-23";

src = fetchFromGitHub {
owner = "uavs3";
repo = "uavs3d";
rev = "1fd04917cff50fac72ae23e45f82ca6fd9130bd8";
hash = "sha256-ZSuFgTngOd4NbZnOnw4XVocv4nAR9HPkb6rP2SASLrM=";
};

cmakeFlags = [
(lib.cmakeBool "COMPILE_10BIT" true)
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
];

outputs = [
"out"
"dev"
];

nativeBuildInputs = [
cmake
];

passthru = {
updateScript = unstableGitUpdater { };
tests.pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
};

meta = {
homepage = "https://github.com/uavs3/uavs3d";
description = "AVS3 decoder which supports AVS3-P2 baseline profile";
license = lib.licenses.bsd3;
pkgConfigModules = [ "uavs3d" ];
maintainers = with lib.maintainers; [ jopejoe1 ];
platforms = lib.platforms.all;
};
})

0 comments on commit ada2ae8

Please sign in to comment.