Commit 8229cab5 authored by dan4ik's avatar dan4ik
Browse files

libcsys: init at 4.2.0

parent 6fdc7e6a
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ 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 −0
Original line number Diff line number Diff line
{ 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;
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };