567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
715 B
Nix
32 lines
715 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kconfiglib";
|
|
version = "14.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0g690bk789hsry34y4ahvly5c8w8imca90ss4njfqf7m2qicrlmy";
|
|
};
|
|
|
|
patches = [
|
|
# see https://github.com/ulfalizer/Kconfiglib/pull/119
|
|
./0001-Add-rudimentary-support-for-modules-property.patch
|
|
];
|
|
|
|
# doesnt work out of the box but might be possible
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Flexible Python 2/3 Kconfig implementation and library";
|
|
homepage = "https://github.com/ulfalizer/Kconfiglib";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ teto ];
|
|
};
|
|
}
|