streamlink: 7.1.1 -> 7.1.2 (#373269)
[NixPkgs.git] / pkgs / by-name / wl / wlr-layout-ui / package.nix
blob56b122383ac21edcd9d5d43535f4f9b3d819208f
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "wlr-layout-ui";
9   version = "1.6.14";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "fdev31";
14     repo = "wlr-layout-ui";
15     tag = version;
16     hash = "sha256-Qgg4fdxOVkADDOxmQgQFSF/wgrEQihoRNC9oXeQvaoI=";
17   };
19   nativeBuildInputs = [
20     python3.pkgs.poetry-core
21   ];
23   propagatedBuildInputs = with python3.pkgs; [
24     pyglet
25     tomli
26     tomli-w
27   ];
29   postInstall = ''
30     install -Dm644 files/wlr-layout-ui.desktop $out/share/applications/wlr-layout-ui.desktop
31   '';
33   meta = with lib; {
34     description = "Simple GUI to setup the screens layout on wlroots based systems";
35     homepage = "https://github.com/fdev31/wlr-layout-ui/";
36     maintainers = with maintainers; [ bnlrnz ];
37     license = licenses.mit;
38     mainProgram = "wlrlui";
39     platforms = subtractLists platforms.darwin platforms.unix;
40   };