nix-files/pkgs/additional/libmegapixels/default.nix

38 lines
741 B
Nix
Raw Normal View History

{ stdenv
, fetchFromGitLab
, lib
, libconfig
, glib
, meson
, ninja
, pkg-config
}:
stdenv.mkDerivation {
pname = "libmegapixels";
version = "0.1.0-unstable-2024-05-11";
src = fetchFromGitLab {
owner = "megapixels-org";
repo = "libmegapixels";
rev = "4da88c662bea868574f9ee670231288cc94d9a36";
hash = "sha256-KF0kBQmUCvXXFG7TYn7zb2UkrvphTZpJJfxlTRWaFVE=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
libconfig
];
meta = with lib; {
description = "The device abstraction for the Megapixels application";
homepage = "https://gitlab.com/megapixels-org/libmegapixels";
maintainers = with maintainers; [ colinsane ];
platforms = platforms.linux;
};
}