Something went wrong. Try again.
lol
Something went wrong. Try again.
968 B · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, flask, packaging, setuptools, sqlalchemy, sqlparse, termcolor, wheel,}:
buildPythonPackage rec { pname = "cs50"; version = "9.5.0"; pyproject = true;
src = fetchFromGitHub { owner = "cs50"; repo = "python-cs50"; tag = "v${version}"; hash = "sha256-jJji5EyvKfJ9vkzETsh0CJ9WIi7hWF2amHrOvf4/JbI="; };
build-system = [ setuptools wheel ];
dependencies = [ flask packaging sqlalchemy sqlparse termcolor ];
# Tests require docker containers, which are pulled from the internet. pythonImportsCheck = [ "cs50" ];
meta = { description = "CS50 Library for Python"; homepage = "https://github.com/cs50/python-cs50/"; changelog = "https://github.com/cs50/python-cs50/releases/tag/v${version}"; license = lib.licenses.gpl3Only; maintainers = with lib.maintainers; [ amadejkastelic ethancedwards8 ]; };}