Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mung / default.nix
blob03fcd29dba755e5fc24ef7215515da4608f1ff84
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools
5 , lxml
6 , numpy
7 , pytestCheckHook
8 , scikit-image
9 }:
10 let
11   version = "1.2";
13 buildPythonPackage {
14   pname = "mung";
15   inherit version;
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "OMR-Research";
20     repo = "mung";
21     rev = "refs/tags/${version}";
22     hash = "sha256-NSKaJkJRevTy5gh6/ik8Qe46bOPdznsmXPgh7Xz7vXQ=";
23   };
25   nativeBuildInputs = [
26     setuptools
27   ];
29   propagatedBuildInputs = [
30     lxml
31     numpy
32     scikit-image
33   ];
35   nativeCheckInputs = [
36     pytestCheckHook
37   ];
39   pythonImportsCheck = [
40     "mung"
41   ];
43   meta = with lib; {
44     description = "Music Notation Graph: a data model for optical music recognition";
45     homepage = "https://github.com/OMR-Research/mung";
46     changelog = "https://github.com/OMR-Research/mung/blob/${version}/CHANGES.md";
47     license = licenses.mit;
48     maintainers = with maintainers; [ piegames ];
49   };