python3Packages.i3-py: use finalAttrs and hash attribute

This commit is contained in:
bepz
2026-07-20 19:39:27 +02:00
parent e7f2d4132c
commit a731817eef

View File

@@ -5,25 +5,25 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
version = "0.6.4";
pyproject = true;
pname = "i3-py";
src = fetchPypi {
inherit pname version;
sha256 = "1sgl438jrb4cdyl7hbc3ymwsf7y3zy09g1gh7ynilxpllp37jc8y";
inherit (finalAttrs) pname version;
hash = "sha256-HjF5xqX0dhqtP/CFl4D/wx+nefWDLXiob4ysLNEg9Ok=";
};
build-system = [ setuptools ];
# no tests in tarball
doCheck = false;
build-system = [ setuptools ];
meta = {
description = "Tools for i3 users and developers";
homepage = "https://github.com/ziberna/i3-py";
license = lib.licenses.gpl3;
platforms = lib.platforms.unix;
};
}
})