nixpkgs/pkgs/by-name/xd/xdg-utils-cxx/package.nix

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

31 lines
667 B
Nix
Raw Normal View History

2024-02-05 21:30:12 +03:00
{
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;
};
}