Files
nixpkgs/pkgs/development/python-modules/lib50/default.nix
Ethan Carter Edwards f723584409 python3Packages.lib50: init at 2.0.9
Used for check50 package.

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-05-29 14:02:16 -04:00

61 lines
1.1 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
attrs,
pexpect,
pyyaml,
requests,
termcolor,
jellyfish,
cryptography,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lib50";
version = "3.0.12";
pyproject = true;
# latest GitHub release is several years old. Pypi is up to date.
src = fetchPypi {
pname = "lib50";
inherit version;
hash = "sha256-Fc4Hb1AbSeetK3gH1/dRCUfHGDlMzfzgF1cnK3Se01U=";
};
build-system = [ setuptools ];
dependencies = [
attrs
pexpect
pyyaml
requests
termcolor
jellyfish
cryptography
];
pythonRelaxDeps = [
"attrs"
"pyyaml"
"termcolor"
"jellyfish"
];
pythonImportsCheck = [ "lib50" ];
# latest GitHub release is several years old and doesn't include
# tests and neither does pypi version include tests
doCheck = false;
meta = {
description = "CS50's own internal library used in many of its tools";
homepage = "https://github.com/cs50/lib50";
license = lib.licenses.gpl3Only;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}