summary refs log tree commit diff
path: root/pkgs/tools/misc/i3minator/default.nix
blob: 02b80493654986be8d3beada8befc7a1e278f32d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ stdenv, fetchurl, buildPythonPackage, pythonPackages, python }:

let
  i3-py = buildPythonPackage rec {
    version = "0.6.4";
    name = "i3-py-${version}";

    src = fetchurl {
      url = "https://pypi.python.org/packages/source/i/i3-py/i3-py-${version}.tar.gz";
      sha256 = "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y";
    };

    # no tests in tarball
    doCheck = false;
  };
in buildPythonPackage rec {
  name = "i3minator-${version}";
  version = "0.0.4";

  src = fetchurl {
    url = "https://github.com/carlesso/i3minator/archive/${version}.tar.gz";
    sha256 = "11dn062788kwfs8k2ry4v8zr2gn40r6lsw770s9g2gvhl5n469dw";
  };

  propagatedBuildInputs = [ pythonPackages.pyyaml i3-py ];

  meta = with stdenv.lib; {
    description = "i3 project manager similar to tmuxinator";
    longDescription = ''
      A simple "workspace manager" for i3. It allows to quickly
      manage workspaces defining windows and their layout. The
      project is inspired by tmuxinator and uses i3-py.
    '';
    homepage = https://github.com/carlesso/i3minator;
    license = stdenv.lib.licenses.wtfpl;
    maintainers = with maintainers; [ iElectric ];
    platforms = stdenv.lib.platforms.linux;
  };

}