Skip to content

Commit

Permalink
partition-manager: init at 3.0.1
Browse files Browse the repository at this point in the history
Includes kpmcore 3.0.3
  • Loading branch information
Peter Hoeg authored and peterhoeg committed May 11, 2017
1 parent 9498f5c commit 48192c6
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
31 changes: 31 additions & 0 deletions pkgs/development/libraries/kpmcore/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ stdenv, lib, fetchurl, extra-cmake-modules, pkgconfig
, qtbase, kdeFrameworks
, eject, libatasmart, parted }:

let
pname = "kpmcore";

in stdenv.mkDerivation rec {
name = "${pname}-${version}";
version = "3.0.3";

src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "17lqrp39w31fm7haigwq23cp92zwk3czjzqa2fhn3wafx3vafwd2";
};

buildInputs = [
qtbase
eject # this is to get libblkid
libatasmart
parted # we only need the library

kdeFrameworks.kio
];
nativeBuildInputs = [ extra-cmake-modules ];
enableParallelBuilding = true;

meta = with stdenv.lib; {
maintainers = with lib.maintainers; [ peterhoeg ];
};
}
32 changes: 32 additions & 0 deletions pkgs/tools/misc/partition-manager/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{ kdeDerivation, kdeWrapper, fetchurl, lib
, ecm, kdoctools
, kconfig, kinit, kpmcore
, eject, libatasmart }:

let
pname = "partitionmanager";
unwrapped = kdeDerivation rec {
name = "${pname}-${version}";
version = "3.0.1";

src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
sha256 = "08sb9xa7dvvgha3k2xm1srl339przxpxd2y5bh1lnx6k1x7dk410";
};

meta = with lib; {
description = "KDE Partition Manager";
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
nativeBuildInputs = [ ecm kdoctools ];
# refer to kpmcore for the use of eject
buildInputs = [ eject libatasmart ];
propagatedBuildInputs = [ kconfig kinit kpmcore ];
enableParallelBuilding = true;
};

in kdeWrapper {
inherit unwrapped;
targets = [ "bin/partitionmanager" ];
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2577,6 +2577,8 @@ with pkgs;

knockknock = callPackage ../tools/security/knockknock { };

partition-manager = libsForQt5.callPackage ../tools/misc/partition-manager { };

kpcli = callPackage ../tools/security/kpcli { };

krename = libsForQt5.callPackage ../applications/misc/krename { };
Expand Down Expand Up @@ -9696,6 +9698,8 @@ with pkgs;
libva = libva-full; # also wants libva-x11
};

kpmcore = callPackage ../development/libraries/kpmcore { };

mlt = callPackage ../development/libraries/mlt/qt-5.nix {
ffmpeg = ffmpeg_2;
};
Expand Down

0 comments on commit 48192c6

Please sign in to comment.