File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed
development/python-modules/lib50 Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchPypi ,
5+ setuptools ,
6+ attrs ,
7+ pexpect ,
8+ pyyaml ,
9+ requests ,
10+ termcolor ,
11+ jellyfish ,
12+ cryptography ,
13+ pytestCheckHook ,
14+ } :
15+
16+ buildPythonPackage rec {
17+ pname = "lib50" ;
18+ version = "3.0.12" ;
19+ pyproject = true ;
20+
21+ # latest GitHub release is several years old. Pypi is up to date.
22+ src = fetchPypi {
23+ pname = "lib50" ;
24+ inherit version ;
25+ hash = "sha256-Fc4Hb1AbSeetK3gH1/dRCUfHGDlMzfzgF1cnK3Se01U=" ;
26+ } ;
27+
28+ build-system = [ setuptools ] ;
29+
30+ dependencies = [
31+ attrs
32+ pexpect
33+ pyyaml
34+ requests
35+ termcolor
36+ jellyfish
37+ cryptography
38+ ] ;
39+
40+ pythonRelaxDeps = [
41+ "attrs"
42+ "pyyaml"
43+ "termcolor"
44+ "jellyfish"
45+ ] ;
46+
47+ pythonImportsCheck = [ "lib50" ] ;
48+
49+ # latest GitHub release is several years old and doesn't include
50+ # tests and neither does pypi version include tests
51+ doCheck = false ;
52+
53+ meta = {
54+ description = "CS50's own internal library used in many of its tools" ;
55+ homepage = "https://github.com/cs50/lib50" ;
56+ license = lib . licenses . gpl3Only ;
57+ platforms = lib . platforms . unix ;
58+ maintainers = with lib . maintainers ; [ ethancedwards8 ] ;
59+ } ;
60+ }
Original file line number Diff line number Diff line change @@ -7791,6 +7791,8 @@ self: super: with self; {
77917791
77927792 lib4vex = callPackage ../development/python-modules/lib4vex { };
77937793
7794+ lib50 = callPackage ../development/python-modules/lib50 { };
7795+
77947796 libagent = callPackage ../development/python-modules/libagent { };
77957797
77967798 libais = callPackage ../development/python-modules/libais { };
You can’t perform that action at this time.
0 commit comments