2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "awf";
|
|
|
|
version = "1.4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "valr";
|
|
|
|
repo = "awf";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0jl2kxwpvf2n8974zzyp69mqhsbjnjcqm39y0jvijvjb1iy8iman";
|
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ gtk2 gtk3 ];
|
|
|
|
|
|
|
|
autoreconfPhase = ''
|
|
|
|
patchShebangs ./autogen.sh
|
|
|
|
./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Widget Factory";
|
2020-04-24 23:36:52 +00:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/valr/awf";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ michalrus ];
|
|
|
|
};
|
|
|
|
}
|