File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ python3Packages ,
4+ fetchFromGitHub ,
5+ versionCheckHook ,
6+ } :
7+
8+ python3Packages . buildPythonApplication rec {
9+ pname = "check50" ;
10+ version = "3.3.11" ;
11+ pyproject = true ;
12+
13+ src = fetchFromGitHub {
14+ owner = "cs50" ;
15+ repo = "check50" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-+qyEMzAJG/fyIqj+0mk0HTxTlQk6sHZhvmfd9Hgj/aw=" ;
18+ } ;
19+
20+ build-system = [
21+ python3Packages . setuptools
22+ ] ;
23+
24+ dependencies = with python3Packages ; [
25+ attrs
26+ beautifulsoup4
27+ jinja2
28+ lib50
29+ packaging
30+ pexpect
31+ pyyaml
32+ requests
33+ setuptools # required for import pkg_resources
34+ termcolor
35+ ] ;
36+
37+ pythonImportsCheck = [ "check50" ] ;
38+
39+ nativeCheckInputs = [ versionCheckHook ] ;
40+ versionCheckProgramArg = "--version" ;
41+
42+ # no python tests
43+
44+ meta = {
45+ description = "Testing tool for checking student CS50 code" ;
46+ homepage = "https://cs50.readthedocs.io/projects/check50/en/latest/" ;
47+ downloadPage = "https://github.com/cs50/check50" ;
48+ changelog = "https://github.com/cs50/check50/releases/tag/v${ version } " ;
49+ license = lib . licenses . gpl3Only ;
50+ platforms = lib . platforms . unix ;
51+ maintainers = with lib . maintainers ; [ ethancedwards8 ] ;
52+ mainProgram = "check50" ;
53+ } ;
54+ }
You can’t perform that action at this time.
0 commit comments