2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
|
2016-08-15 11:17:56 +01:00
|
|
|
, wrapGAppsHook }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "awf";
|
2018-10-16 08:41:19 +01:00
|
|
|
version = "1.4.0";
|
2016-08-15 11:17:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valr";
|
|
|
|
repo = "awf";
|
|
|
|
rev = "v${version}";
|
2018-10-16 08:41:19 +01:00
|
|
|
sha256 = "0jl2kxwpvf2n8974zzyp69mqhsbjnjcqm39y0jvijvjb1iy8iman";
|
2016-08-15 11:17:56 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ];
|
2016-08-15 11:17:56 +01:00
|
|
|
|
|
|
|
buildInputs = [ gtk2 gtk3 ];
|
|
|
|
|
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2016-08-15 11:17:56 +01:00
|
|
|
description = "A Widget Factory";
|
|
|
|
longDescription = ''
|
|
|
|
A widget factory is a theme preview application for gtk2 and
|
|
|
|
gtk3. It displays the various widget types provided by gtk2/gtk3
|
|
|
|
in a single window allowing to see the visual effect of the
|
|
|
|
applied theme.
|
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/valr/awf";
|
2016-08-15 11:17:56 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ michalrus ];
|
|
|
|
};
|
|
|
|
}
|