diff --git a/pkgs/development/python-modules/jianpu-ly/default.nix b/pkgs/development/python-modules/jianpu-ly/default.nix new file mode 100644 index 0000000000000..411f7df5ee458 --- /dev/null +++ b/pkgs/development/python-modules/jianpu-ly/default.nix @@ -0,0 +1,35 @@ +{ + lib, + buildPythonPackage, + fetchPypi, + setuptools, + lilypond, +}: + +buildPythonPackage rec { + pname = "jianpu-ly"; + version = "1.801"; + pyproject = true; + + src = fetchPypi { + inherit version; + pname = "jianpu_ly"; + hash = "sha256-piK9Ym94cKdaHGz/ogX7ylyAF1ww0jCdRXnHN6lu2MI="; + }; + + dependencies = [ lilypond ]; + + build-system = [ setuptools ]; + + pythonImportsCheck = [ "jianpu_ly" ]; + + # no tests in shipped with upstream + doCheck = false; + + meta = { + homepage = "https://ssb22.user.srcf.net/mwrhome/jianpu-ly.html"; + description = "Assists with printing jianpu"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ ifurther ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ac6b04ff3897d..a332b2953d933 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -6285,6 +6285,8 @@ self: super: with self; { jenkins-job-builder = callPackage ../development/python-modules/jenkins-job-builder { }; + jianpu-ly = callPackage ../development/python-modules/jianpu-ly { }; + jieba = callPackage ../development/python-modules/jieba { }; jinja2 = callPackage ../development/python-modules/jinja2 { };