mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
girara: 0.2.8 → 0.2.9
This commit is contained in:
parent
6b72364289
commit
9a57536633
|
@ -1,32 +1,18 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gtk, gettext, ncurses, libiconv, libintl
|
||||
, withBuildColors ? true
|
||||
{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gtk, gettext, libiconv, libintl
|
||||
}:
|
||||
|
||||
assert withBuildColors -> ncurses != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "girara-${version}";
|
||||
version = "0.2.8";
|
||||
version = "0.2.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pwmt.org/projects/girara/download/${name}.tar.gz";
|
||||
sha256 = "18wss3sak3djip090v2vdbvq1mvkwcspfswc87zbvv3magihan98";
|
||||
url = "http://pwmt.org/projects/girara/download/${name}.tar.xz";
|
||||
sha256 = "0lkxrfna818wkkr2f6mdzf15y5z8xl1b9592ylmzjbqsqya3w7x8";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace colors.mk \
|
||||
--replace 'ifdef TPUT_AVAILABLE' 'ifneq ($(TPUT_AVAILABLE), 0)'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtk gettext libintl libiconv ];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
(if withBuildColors
|
||||
then "TPUT=${ncurses.out}/bin/tput"
|
||||
else "TPUT_AVAILABLE=0")
|
||||
];
|
||||
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
||||
buildInputs = [ libintl libiconv ];
|
||||
propagatedBuildInputs = [ glib gtk ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://pwmt.org/projects/girara/;
|
||||
|
|
|
@ -15873,12 +15873,6 @@ with pkgs;
|
|||
gtk = gtk3;
|
||||
};
|
||||
|
||||
girara-light = callPackage ../applications/misc/girara {
|
||||
gtk = gtk3;
|
||||
withBuildColors = false;
|
||||
ncurses = null;
|
||||
};
|
||||
|
||||
gitAndTools = recurseIntoAttrs (callPackage ../applications/version-management/git-and-tools {});
|
||||
|
||||
inherit (gitAndTools) git gitFull gitSVN git-cola svn2git git-radar git-secret transcrypt git-crypt;
|
||||
|
|
Loading…
Reference in a new issue