libcsys: init at 4.2.0
This commit is contained in:
parent
6fdc7e6a88
commit
8229cab5fd
3 changed files with 42 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ mkDerivation, lib, fetchFromGitLab, qtsvg, qtbase, libcsys, libcprime, cmake, ninja, }:
|
||||
{ mkDerivation, lib, fetchFromGitLab, fetchpatch, qtsvg, qtbase, libcsys, libcprime, cmake, ninja, }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "coreaction";
|
||||
|
@ -11,6 +11,14 @@ mkDerivation rec {
|
|||
sha256 = "sha256-5qEZNLvbgLoAOXij0wXoVw2iyvytsYZikSJDm6F6ddc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
## Fix Plugin Error: "The shared library was not found." "libbatery.so"
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.com/cubocore/coreapps/coreaction/-/commit/1d1307363614a117978723eaad2332e6e8c05b28.patch";
|
||||
sha256 = "039x19rsm23l9vxd5mnbl6gvc3is0igahf47kv54v6apz2q72l3f";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
31
pkgs/development/libraries/libcsys/default.nix
Normal file
31
pkgs/development/libraries/libcsys/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ mkDerivation, lib, fetchFromGitLab, udisks2, qtbase, cmake, ninja, }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "libcsys";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "cubocore";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9LH95uJJIn4FHfnikGi5UCI6nUNW+1cSZnJ/KpZDI5Y=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -6371,6 +6371,8 @@ in
|
|||
|
||||
libscrypt = callPackage ../development/libraries/libscrypt { };
|
||||
|
||||
libcsys = libsForQt5.callPackage ../development/libraries/libcsys { };
|
||||
|
||||
libcprime = libsForQt5.callPackage ../development/libraries/libcprime { };
|
||||
|
||||
libcloudproviders = callPackage ../development/libraries/libcloudproviders { };
|
||||
|
|
Loading…
Reference in a new issue