Jan Tojnar 2019-11-19 01:56:07 +01:00
parent 7adf662696
commit 2b772654a0
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,5 +1,6 @@
{ stdenv { stdenv
, fetchFromGitLab , fetchFromGitLab
, fetchpatch
, python3 , python3
, wrapGAppsHook , wrapGAppsHook
, gobject-introspection , gobject-introspection
@ -11,22 +12,30 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "gnome-keysign"; pname = "gnome-keysign";
version = "1.0.1"; version = "1.2.0";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "GNOME"; owner = "GNOME";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0iy70dskd7wly37lpb2ypd9phhyml5j3c7rzajii4f2s7zgb3abg"; sha256 = "1sjphi1lsivg9jmc8khbcqa9w6608pkrccz4nz3rlcc54hn0k0sj";
}; };
patches = [
# fix build failure due to missing import
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gnome-keysign/commit/216c3677e68960afc517edc00529323e85909323.patch";
sha256 = "1w410gvcridbq26sry7fxn49v59ss2lc0w5ab7csva8rzs1nc990";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
wrapGAppsHook wrapGAppsHook
gobject-introspection gobject-introspection
] ++ (with python3.pkgs; [ ] ++ (with python3.pkgs; [
Babel Babel
lxml babelgladeextractor
]); ]);
buildInputs = [ buildInputs = [