python311Packages.mung: refactor
- add pythonImportsCheck - introduce a new parameter for pyproject
This commit is contained in:
parent
1d304ee8ec
commit
6e8a0ca7ab
1 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, lxml
|
, lxml
|
||||||
, numpy
|
, numpy
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -12,6 +13,7 @@ in
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
pname = "mung";
|
pname = "mung";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "OMR-Research";
|
owner = "OMR-Research";
|
||||||
|
@ -20,7 +22,9 @@ buildPythonPackage {
|
||||||
hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ=";
|
hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "setuptools";
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
lxml
|
lxml
|
||||||
|
@ -32,6 +36,10 @@ buildPythonPackage {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"mung"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Music Notation Graph: a data model for optical music recognition";
|
description = "Music Notation Graph: a data model for optical music recognition";
|
||||||
homepage = "https://github.com/OMR-Research/mung";
|
homepage = "https://github.com/OMR-Research/mung";
|
||||||
|
|
Loading…
Reference in a new issue