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>
34 lines
732 B
Nix
34 lines
732 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pythonOlder,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "enochecker-core";
|
|
version = "0.10.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "enochecker_core";
|
|
hash = "sha256-N41p2XRCp55rcPXLpA4rPIARsva/dQzK8qafjzXtavI=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "enochecker_core" ];
|
|
|
|
# no tests upstream
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Base library for enochecker libs";
|
|
homepage = "https://github.com/enowars/enochecker_core";
|
|
changelog = "https://github.com/enowars/enochecker_core/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ fwc ];
|
|
};
|
|
}
|