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
623 B
Nix
32 lines
623 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pygments,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "insegel";
|
|
version = "1.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1d055dd64f6eb335580a485271511ba2f4e3b5e315f48f827f58da3cace4b4ae";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pygments ];
|
|
|
|
# No tests included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "insegel" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/autophagy/insegel";
|
|
description = "Monochrome 2 column Sphinx theme";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ autophagy ];
|
|
};
|
|
}
|