nixpkgs/pkgs/tools/wayland/swaytools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
676 B
Nix
Raw Permalink Normal View History

2024-10-23 06:31:30 +01:00
{ lib, setuptools, buildPythonApplication, fetchFromGitHub, slurp }:
2022-02-15 02:18:02 +00:00
2022-04-25 18:13:06 +01:00
buildPythonApplication rec {
2022-02-15 02:18:02 +00:00
pname = "swaytools";
2024-10-23 06:31:30 +01:00
version = "0.1.2";
format = "pyproject";
2022-02-15 02:18:02 +00:00
2022-04-25 18:13:06 +01:00
src = fetchFromGitHub {
owner = "tmccombs";
repo = "swaytools";
rev = version;
2024-10-23 06:31:30 +01:00
sha256 = "sha256-UoWK53B1DNmKwNLFwJW1ZEm9dwMOvQeO03+RoMl6M0Q=";
2022-02-15 02:18:02 +00:00
};
2024-10-23 06:31:30 +01:00
nativeBuildInputs = [ setuptools ];
2022-02-15 02:18:02 +00:00
propagatedBuildInputs = [ slurp ];
meta = with lib; {
homepage = "https://github.com/tmccombs/swaytools";
description = "Collection of simple tools for sway (and i3)";
license = licenses.gpl3Only;
maintainers = with maintainers; [ atila ];
platforms = platforms.linux;
2022-02-15 02:18:02 +00:00
};
}