diff options
author | Rommel M. Martinez <ebzzry@gmail.com> | 2015-09-10 05:11:56 +0800 |
---|---|---|
committer | Rommel M. Martinez <ebzzry@gmail.com> | 2015-09-10 05:11:56 +0800 |
commit | 6919533410c4f304bbc6294743393cf10a18e9de (patch) | |
tree | b0d24d3a3c1b0f2566c41fabed0a1c965fea6d08 /pkgs/applications/misc/devilspie2/default.nix | |
parent | 1aebbb7b6ae4720307cf168d41336e8363966091 (diff) | |
download | nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar.gz nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar.bz2 nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar.lz nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar.xz nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.tar.zst nixpkgs-6919533410c4f304bbc6294743393cf10a18e9de.zip |
devilspie2: init at 0.39
Diffstat (limited to 'pkgs/applications/misc/devilspie2/default.nix')
-rw-r--r-- | pkgs/applications/misc/devilspie2/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/devilspie2/default.nix b/pkgs/applications/misc/devilspie2/default.nix new file mode 100644 index 00000000000..50ae2b2d15f --- /dev/null +++ b/pkgs/applications/misc/devilspie2/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, lua, libwnck3 }: + +stdenv.mkDerivation rec { + name = "devilspie2-${version}"; + version = "0.39"; + + src = fetchurl { + url = "http://download.savannah.gnu.org/releases/devilspie2/devilspie2_0.39-src.tar.gz"; + sha256 = "07b74ffc078e5f01525d9da7a1978b4c1a9725b814b344f83a1a203cf4caae09"; + }; + + buildInputs = [ intltool pkgconfig glib gtk lua libwnck3 ]; + + patchPhase = '' + sed -i -e s@/usr/local@$out@ Makefile + ''; + + installPhase = '' + mkdir -p $out/bin $out/share/man/man1 + cp bin/devilspie2 $out/bin + cp devilspie2.1 $out/share/man/man1 + ''; + + meta = with stdenv.lib; { + description = "Devilspie2 is a window matching utility."; + longDescription = '' + Devilspie2 is a window matching utility, allowing the user to + perform scripted actions on windows as they are created. For + example you can script a terminal program to always be + positioned at a specific screen position, or position a window + on a specific workspace. + ''; + homepage = http://www.gusnan.se/devilspie2/; + license = licenses.gpl3; + maintainers = [ maintainers.ebzzry ]; + platforms = platforms.linux; + }; +} |