git.iko.soy/typeable/nixpkgs
on master help sign in
xwinwrap: init at 4
commit5a9e28190cd69dc766c5b9c7308491ab030426a9 authorSilvan Mosberger <infinisil@icloud.com> dateMon 25 Sep 2017, 05:01 (9 years ago) parentf069ee7
3 files changed+61
lib/licenses.nix+5 pkgs/tools/X11/xwinwrap/default.nix+54 pkgs/top-level/all-packages.nix+2
lib/licenses.nix+5
@@ -281,6 +281,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
281281 url = https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception;
282282 };
283283
284+ hpnd = spdx {
285+ spdxId = "HPND";
286+ fullName = "Historic Permission Notice and Disclaimer";
287+ };
288+
284289 # Intel's license, seems free
285290 iasl = {
286291 fullName = "iASL";
pkgs/tools/X11/xwinwrap/default.nixnew file+54
@@ -0,0 +1,54 @@
1+{ stdenv, fetchbzr, x11 }:
2+
3+let
4+ version = "4";
5+in
6+stdenv.mkDerivation {
7+ name = "xwinwrap-${version}";
8+
9+ src = fetchbzr {
10+ url = https://code.launchpad.net/~shantanu-goel/xwinwrap/devel;
11+ rev = version;
12+ sha256 = "1annhqc71jcgx5zvcy31c1c488ygx4q1ygrwyy2y0ww743smbchw";
13+ };
14+
15+ buildInputs = [
16+ x11
17+ ];
18+
19+ buildPhase = if stdenv.system == "x86_64-linux" then ''
20+ make all64
21+ '' else if stdenv.system == "i686-linux" then ''
22+ make all32
23+ '' else throw "xwinwrap is not supported on ${stdenv.system}";
24+
25+ installPhase = ''
26+ mkdir -p $out/bin
27+ mv */xwinwrap $out/bin
28+ '';
29+
30+ meta = with stdenv.lib; {
31+ description = "A utility that allows you to use an animated X window as the wallpaper";
32+ longDescription = ''
33+ XWinWrap is a small utility written a loooong time ago that allowed you to
34+ stick most of the apps to your desktop background. What this meant was you
35+ could use an animated screensaver (like glmatrix, electric sheep, etc) or
36+ even a movie, and use it as your wallpaper. But only one version of this
37+ app was ever released, and it had a few problems, like:
38+
39+ - Well, sticking didn’t work. So if you did a “minimize all” or “go to
40+ desktop” kind of thing, your “wallpaper” got minimized as well.
41+
42+ - The geometry option didn’t work, so you could not create, e.g., a small
43+ matrix window surrounded by your original wallpaper.
44+
45+ Seeing no-one picking it up, I decided to give it a bit of polish last
46+ weekend by fixing the above problems and also add a few features. And here
47+ it is, in its new avatar “Shantz XWinWrap”.
48+ '';
49+ license = licenses.hpnd;
50+ homepage = https://shantanugoel.com/2008/09/03/shantz-xwinwrap/;
51+ maintainers = with maintainers; [ infinisil ];
52+ platforms = platforms.linux;
53+ };
54+}
pkgs/top-level/all-packages.nix+2
@@ -5144,6 +5144,8 @@ with pkgs;
51445144
51455145 xwinmosaic = callPackage ../tools/X11/xwinmosaic {};
51465146
5147+ xwinwrap = callPackage ../tools/X11/xwinwrap {};
5148+
51475149 yaft = callPackage ../applications/misc/yaft { };
51485150
51495151 yarn = callPackage ../development/tools/yarn { };