mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-03 03:10:17 +00:00
32 lines
712 B
Nix
32 lines
712 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "kconfiglib";
|
|
version = "14.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-vtLMIhb1OOykJVqDpFiNiCNWPN1QEU+GzxomdOYCyTw=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|