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>
24 lines
527 B
Nix
24 lines
527 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "empy";
|
|
version = "4.2";
|
|
format = "setuptools";
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hvFeHal0Pnmi6bLLrPGhPQt/sYNbYlTrJTyXi3Iof08=";
|
|
};
|
|
pythonImportsCheck = [ "em" ];
|
|
meta = {
|
|
homepage = "http://www.alcyone.com/software/empy/";
|
|
description = "Templating system for Python";
|
|
mainProgram = "em.py";
|
|
maintainers = with lib.maintainers; [ nkalupahana ];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|