summary refs log tree commit diff
path: root/pkgs/development/libraries/kpmcore
diff options
context:
space:
mode:
authorPeter Hoeg <peter@speartail.com>2016-12-30 11:54:25 +0800
committerPeter Hoeg <peter@hoeg.com>2017-05-11 19:07:44 +0800
commit48192c65c3f1398dd8a48e2a0b0fb72c40410dc0 (patch)
tree0631bdd1d20f32dd3e91f50de8f4d7eb3ed26fb0 /pkgs/development/libraries/kpmcore
parent9498f5ca5faa2299fd23eac6d5ec3fbbe7383deb (diff)
downloadnixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar.gz
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar.bz2
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar.lz
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar.xz
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.tar.zst
nixpkgs-48192c65c3f1398dd8a48e2a0b0fb72c40410dc0.zip
partition-manager: init at 3.0.1
Includes kpmcore 3.0.3
Diffstat (limited to 'pkgs/development/libraries/kpmcore')
-rw-r--r--pkgs/development/libraries/kpmcore/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/libraries/kpmcore/default.nix b/pkgs/development/libraries/kpmcore/default.nix
new file mode 100644
index 00000000000..8532a8880ce
--- /dev/null
+++ b/pkgs/development/libraries/kpmcore/default.nix
@@ -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 ];
+  };
+}