depot/third_party/nixpkgs/pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

42 lines
1 KiB
Nix

{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, gnome3,
dde-polkit-agent, deepin }:
stdenv.mkDerivation rec {
pname = "dpa-ext-gnomekeyring";
version = "5.0.1";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
sha256 = "168j42nwyw7vcgwc0fha2pjpwwlgir70fq1hns4ia1dkdqa1nhzw";
};
nativeBuildInputs = [
pkgconfig
qmake
qttools
deepin.setupHook
];
buildInputs = [
dde-polkit-agent
gnome3.libgnome-keyring
];
postPatch = ''
searchHardCodedPaths
patchShebangs translate_generation.sh
fixPath $out /usr dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp
'';
passthru.updateScript = deepin.updateScript { name = "${pname}-${version}"; };
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 ];
};
}