mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Add i3minator: i3 project manager similar to tmuxinator
This commit is contained in:
parent
b2f9e1d4f7
commit
7271eb50e6
2 changed files with 39 additions and 0 deletions
37
pkgs/tools/misc/i3minator/default.nix
Normal file
37
pkgs/tools/misc/i3minator/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ 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.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/carlesso/i3minator/archive/v${version}.tar.gz";
|
||||
sha256 = "0ksb0frrhq10k5rjzk72kj5rjzak1irr9q4x4f22w2vylxq19xxa";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pythonPackages.pyyaml i3-py ];
|
||||
|
||||
meta = {
|
||||
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 = "WTFPL"; # http://sam.zoy.org/wtfpl/
|
||||
};
|
||||
}
|
|
@ -8148,6 +8148,8 @@ let
|
|||
inherit (xorg) libxkbfile;
|
||||
cairo = cairo.override { xcbSupport = true; };
|
||||
};
|
||||
|
||||
i3minator = callPackage ../tools/misc/i3minator { };
|
||||
|
||||
i3status = callPackage ../applications/window-managers/i3/status.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue