summaryrefslogtreecommitdiff
path: root/pkgs/development/tools/misc/awf/default.nix
diff options
context:
space:
mode:
authorNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-10-31 15:16:29 +0000
commit59b5bbeae91109007e36a269a94cccc865dc5175 (patch)
tree1ee3d18aedace6d66034ea72fea571d20d8d0fee /pkgs/development/tools/misc/awf/default.nix
parentDo not use old stdenv version in faust wrap functions. (-8 alias, -15 unpatch... (diff)
parentMerge pull request #19675 from edwtjo/dictd-touchup (diff)
downloadnixpkgs-origin/security-updates.tar.gz
Merge branch master into security-updatesorigin/security-updatesgitlab.intr/security-updates
This merge mostly take the changes made to the master branch. Some conflict happen in top-level/default.nix due to a reformating of the code of which is computing the fix-point. This merge fixes these issues by adding the pkgsIndex argument, needed to re-evaluate the fix-point with another set of packages, and also re-add the second fix-point made to support the dependencies.
Diffstat (limited to 'pkgs/development/tools/misc/awf/default.nix')
-rw-r--r--pkgs/development/tools/misc/awf/default.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/awf/default.nix b/pkgs/development/tools/misc/awf/default.nix
new file mode 100644
index 000000000000..b29dbcf79be0
--- /dev/null
+++ b/pkgs/development/tools/misc/awf/default.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkgconfig
+, wrapGAppsHook }:
+
+stdenv.mkDerivation rec {
+ name = "awf-${version}";
+ version = "1.3.1";
+
+ src = fetchFromGitHub {
+ owner = "valr";
+ repo = "awf";
+ rev = "v${version}";
+ sha256 = "18dqa2269cwr0hrn67vp0ifwbv8vc2xn6mg145pbnc038hicql8m";
+ };
+
+ 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 ];
+ };
+}