nixpkgs/pkgs/by-name/xd/xdg-utils-cxx/package.nix
2024-02-28 18:49:12 +03:00

31 lines
667 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation rec {
pname = "xdg-utils-cxx";
version = "1.0.1";
src = fetchFromGitHub {
owner = "azubieta";
repo = "xdg-utils-cxx";
rev = "v${version}";
hash = "sha256-hEN0xqZUNfMOIrw3q+x4kEFhYoqmyn7W3f2w8AGw2wI=";
};
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "Implementation of the FreeDesktop specifications to be used in c++ projects";
homepage = "https://github.com/azubieta/xdg-utils-cxx";
license = licenses.mit;
maintainers = with maintainers; [ k900 ];
mainProgram = "xdg-utils-cxx";
platforms = platforms.linux;
};
}