Skip to content

Commit

Permalink
deepin.udisks2-qt5: init at 0.0.1 (#59247)
Browse files Browse the repository at this point in the history
  • Loading branch information
romildo authored Apr 10, 2019
1 parent 5770570 commit c5b633a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/desktops/deepin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ let
qcef = callPackage ./qcef { };
qt5dxcb-plugin = callPackage ./qt5dxcb-plugin { };
qt5integration = callPackage ./qt5integration { };
udisks2-qt5 = callPackage ./udisks2-qt5 { };

};

Expand Down
41 changes: 41 additions & 0 deletions pkgs/desktops/deepin/udisks2-qt5/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ stdenv, fetchFromGitHub, qmake, qtbase, pkgconfig, deepin }:

stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "udisks2-qt5";
version = "0.0.1";

src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "1gk4jmq7mrzk181r6man2rz1iyzkfasz7053a30h4nn24mq8ikig";
};

nativeBuildInputs = [
deepin.setupHook
qmake
];

buildInputs = [
qtbase
];

postPatch = ''
searchHardCodedPaths
'';

postFixup = ''
searchHardCodedPaths $out
'';

passthru.updateScript = deepin.updateScript { inherit name; };

meta = with stdenv.lib; {
description = "UDisks2 D-Bus interfaces binding for Qt5";
homepage = https://github.com/linuxdeepin/udisks2-qt5;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}

0 comments on commit c5b633a

Please sign in to comment.