Skip to content

Commit de86157

Browse files
committed
python3Packages.miss-hit: init at 0.9.44
1 parent c1dc9af commit de86157

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
pythonOlder,
6+
pytestCheckHook,
7+
coverage,
8+
miss-hit-core,
9+
python,
10+
setuptools,
11+
}:
12+
13+
buildPythonPackage rec {
14+
pname = "miss-hit";
15+
version = "0.9.44";
16+
pyproject = true;
17+
18+
disabled = pythonOlder "3.7";
19+
20+
src = fetchFromGitHub {
21+
owner = "florianschanda";
22+
repo = "miss_hit";
23+
tag = version;
24+
hash = "sha256-dJZIleDWmdarhmxoKvQxWvI/Tmx9pSCNlgFXj5NFIUc=";
25+
};
26+
27+
build-system = [ setuptools ];
28+
29+
dependencies = [
30+
miss-hit-core
31+
];
32+
33+
configurePhase = ''
34+
runHook preConfigure
35+
36+
cp setup_agpl.py setup.py
37+
38+
runHook postConfigure
39+
'';
40+
41+
nativeCheckInputs = [
42+
coverage
43+
];
44+
45+
checkPhase = ''
46+
runHook preCheck
47+
48+
cd tests
49+
${python.interpreter} ./run.py
50+
51+
runHook postCheck
52+
'';
53+
54+
pythonImportsCheck = [
55+
"miss_hit"
56+
];
57+
58+
meta = {
59+
description = "Static analysis and other utilities for programs written in the MATLAB/Simulink and Octave languages";
60+
homepage = "https://misshit.org/";
61+
changelog = "https://github.com/florianschanda/miss_hit/releases/tag/${version}";
62+
license = lib.licenses.agpl3Plus;
63+
maintainers = with lib.maintainers; [
64+
jacobkoziej
65+
];
66+
};
67+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8254,6 +8254,8 @@ self: super: with self; {
82548254

82558255
misoc = callPackage ../development/python-modules/misoc { };
82568256

8257+
miss-hit = callPackage ../development/python-modules/miss-hit { };
8258+
82578259
miss-hit-core = callPackage ../development/python-modules/miss-hit-core { };
82588260

82598261
mistletoe = callPackage ../development/python-modules/mistletoe { };

0 commit comments

Comments
 (0)