Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deepin.udisks2-qt5: init at 0.0.1 #59247

Merged
merged 2 commits into from
Apr 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 ];
};
}