depot/third_party/nixpkgs/pkgs/development/tools/misc/awf/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

37 lines
979 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkgconfig
, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "awf";
version = "1.4.0";
src = fetchFromGitHub {
owner = "valr";
repo = "awf";
rev = "v${version}";
sha256 = "0jl2kxwpvf2n8974zzyp69mqhsbjnjcqm39y0jvijvjb1iy8iman";
};
nativeBuildInputs = [ autoreconfHook pkgconfig wrapGAppsHook ];
buildInputs = [ gtk2 gtk3 ];
autoreconfPhase = ''
patchShebangs ./autogen.sh
./autogen.sh
'';
meta = with stdenv.lib; {
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.
'';
homepage = "https://github.com/valr/awf";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ michalrus ];
};
}