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>
28 lines
624 B
Nix
28 lines
624 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "korean-lunar-calendar";
|
|
version = "0.3.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "korean_lunar_calendar";
|
|
hash = "sha256-6yxIUSSgYQFpJr3qbYnv35uf2/FttViVts8eW+wXuFc=";
|
|
};
|
|
|
|
# no real tests
|
|
pythonImportsCheck = [ "korean_lunar_calendar" ];
|
|
|
|
meta = {
|
|
description = "Library to convert Korean lunar-calendar to Gregorian calendar";
|
|
homepage = "https://github.com/usingsky/korean_lunar_calendar_py";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.ris ];
|
|
};
|
|
}
|