dpa-ext-gnomekeyring: init at 0.1.0

This commit is contained in:
José Romildo Malaquias 2018-10-16 13:23:49 -03:00
parent fe41bef142
commit 0b98193fe0
2 changed files with 41 additions and 0 deletions

View File

@ -24,6 +24,7 @@ let
}; };
deepin-wallpapers = callPackage ./deepin-wallpapers { }; deepin-wallpapers = callPackage ./deepin-wallpapers { };
deepin-wm = callPackage ./deepin-wm { }; deepin-wm = callPackage ./deepin-wm { };
dpa-ext-gnomekeyring = callPackage ./dpa-ext-gnomekeyring { };
dtkcore = callPackage ./dtkcore { }; dtkcore = callPackage ./dtkcore { };
dtkwm = callPackage ./dtkwm { }; dtkwm = callPackage ./dtkwm { };
dtkwidget = callPackage ./dtkwidget { }; dtkwidget = callPackage ./dtkwidget { };

View File

@ -0,0 +1,40 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, gnome3, dde-polkit-agent }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "dpa-ext-gnomekeyring";
version = "0.1.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "168j42nwyw7vcgwc0fha2pjpwwlgir70fq1hns4ia1dkdqa1nhzw";
};
nativeBuildInputs = [
pkgconfig
qmake
qttools
];
buildInputs = [
dde-polkit-agent
gnome3.libgnome-keyring
];
postPatch = ''
patchShebangs .
sed -i dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp \
-e "s,/usr,$out,"
'';
meta = with stdenv.lib; {
description = "GNOME keyring extension for dde-polkit-agent";
homepage = https://github.com/linuxdeepin/dpa-ext-gnomekeyring;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}