mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
python312Packages.ewmhlib: 0.2
This commit is contained in:
40
pkgs/development/python-modules/ewmhlib/default.nix
Normal file
40
pkgs/development/python-modules/ewmhlib/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
|
||||
xlib,
|
||||
typing-extensions,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2";
|
||||
pname = "ewmhlib";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Kalmat";
|
||||
repo = "EWMHlib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-NELOgUV8KuN+CqmoSbLYImguHlp8dyhGmJtoxJjOBkA=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
xlib
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
# requires x session (call to defaultDisplay.screen() on import)
|
||||
pythonImportsCheck = [ ];
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Kalmat/EWMHlib";
|
||||
license = lib.licenses.bsd3;
|
||||
description = "Extended Window Manager Hints implementation in Python 3";
|
||||
maintainers = with lib.maintainers; [ sigmanificient ];
|
||||
};
|
||||
}
|
||||
@@ -4379,6 +4379,8 @@ self: super: with self; {
|
||||
|
||||
ewmh = callPackage ../development/python-modules/ewmh { };
|
||||
|
||||
ewmhlib = callPackage ../development/python-modules/ewmhlib { };
|
||||
|
||||
example-robot-data = toPythonModule (pkgs.example-robot-data.override {
|
||||
pythonSupport = true;
|
||||
python3Packages = self;
|
||||
|
||||
Reference in New Issue
Block a user