Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / wl / wlr-layout-ui / package.nix
blob2cf571540f689667cc83dd3b0f2f9ff47aa4b1e2
1 { lib
2 , python3
3 , fetchFromGitHub
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "wlr-layout-ui";
8   version = "1.6.14";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "fdev31";
13     repo = "wlr-layout-ui";
14     rev = "refs/tags/${version}";
15     hash = "sha256-Qgg4fdxOVkADDOxmQgQFSF/wgrEQihoRNC9oXeQvaoI=";
16   };
18   nativeBuildInputs = [
19     python3.pkgs.poetry-core
20   ];
22   propagatedBuildInputs = with python3.pkgs; [
23     pyglet
24     tomli
25     tomli-w
26   ];
28   postInstall = ''
29     install -Dm644 files/wlr-layout-ui.desktop $out/share/applications/wlr-layout-ui.desktop
30   '';
32   meta = with lib; {
33     description = "Simple GUI to setup the screens layout on wlroots based systems";
34     homepage = "https://github.com/fdev31/wlr-layout-ui/";
35     maintainers = with maintainers; [ bnlrnz ];
36     license = licenses.mit;
37     mainProgram = "wlrlui";
38     platforms = subtractLists platforms.darwin platforms.unix;
39   };