nixpkgs/pkgs/tools/misc/i3minator/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

35 lines
1,003 B
Nix

{ lib, fetchFromGitHub, python3Packages, glibcLocales }:
python3Packages.buildPythonApplication rec {
pname = "i3minator";
version = "0.0.4";
src = fetchFromGitHub {
owner = "carlesso";
repo = "i3minator";
rev = version;
sha256 = "07dic5d2m0zw0psginpl43xn0mpxw7wilj49d02knz69f7c416lm";
};
LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ python3Packages.pyyaml python3Packages.i3-py ];
# No tests
doCheck = false;
meta = with lib; {
description = "i3 project manager similar to tmuxinator";
mainProgram = "i3minator";
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 = lib.licenses.wtfpl;
maintainers = with maintainers; [ domenkozar ];
platforms = lib.platforms.linux;
};
}