Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
699 B
Nix
31 lines
699 B
Nix
{ mkDerivation, lib, fetchFromGitLab, udisks2, qtbase, cmake, ninja }:
|
|
|
|
mkDerivation rec {
|
|
pname = "libcsys";
|
|
version = "4.5.0";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "cubocore";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-1MHyx01w+dCeAeumcSXRBStgAec2yu1rLwaZaCXRgTc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
udisks2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Library for managing drive and getting system resource information in real time";
|
|
homepage = "https://gitlab.com/cubocore/libcsys";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dan4ik605743 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|