Unverified Commit 6e8a0ca7 authored by natsukium's avatar natsukium
Browse files

python311Packages.mung: refactor

- add pythonImportsCheck
- introduce a new parameter for pyproject
parent 1d304ee8
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, lxml
, numpy
, pytestCheckHook
@@ -12,6 +13,7 @@ in
buildPythonPackage {
  pname = "mung";
  inherit version;
  pyproject = true;

  src = fetchFromGitHub {
    owner = "OMR-Research";
@@ -20,7 +22,9 @@ buildPythonPackage {
    hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ=";
  };

  format = "setuptools";
  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    lxml
@@ -32,6 +36,10 @@ buildPythonPackage {
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "mung"
  ];

  meta = with lib; {
    description = "Music Notation Graph: a data model for optical music recognition";
    homepage = "https://github.com/OMR-Research/mung";