Merge pull request #39774 from r-ryantm/auto-update/guake

guake: 3.2.0 -> 3.2.1
This commit is contained in:
Jan Tojnar 2018-05-01 15:45:29 +02:00 committed by GitHub
commit a656690fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
, gtk3, keybinder3, libnotify, libutempter, vte }: , gtk3, keybinder3, libnotify, libutempter, vte }:
let let
version = "3.2.0"; version = "3.2.1";
in python3.pkgs.buildPythonApplication rec { in python3.pkgs.buildPythonApplication rec {
name = "guake-${version}"; name = "guake-${version}";
format = "other"; format = "other";
@ -11,7 +11,7 @@ in python3.pkgs.buildPythonApplication rec {
owner = "Guake"; owner = "Guake";
repo = "guake"; repo = "guake";
rev = version; rev = version;
sha256 = "1qghapg9sslj9fdrl2mnbi10lgqgqa36gdag74wn7as9wak4qc3d"; sha256 = "0qzrkmjizpc3kirvhml62wya1sr3pbig25nfcrfhk1hhr3jxq17s";
}; };
nativeBuildInputs = [ gettext gobjectIntrospection wrapGAppsHook python3.pkgs.pip glibcLocales ]; nativeBuildInputs = [ gettext gobjectIntrospection wrapGAppsHook python3.pkgs.pip glibcLocales ];
@ -24,6 +24,12 @@ in python3.pkgs.buildPythonApplication rec {
PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var PBR_VERSION = version; # pbr needs either .git directory, sdist, or env var
postPatch = ''
# unnecessary /usr/bin/env in Makefile
# https://github.com/Guake/guake/pull/1285
substituteInPlace "Makefile" --replace "/usr/bin/env python3" "python3"
'';
makeFlags = [ makeFlags = [
"prefix=$(out)" "prefix=$(out)"
]; ];