mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
python3Packages.lib50: init at 2.0.9
Used for check50 package. Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
886356e9f8
commit
f723584409
2 changed files with 62 additions and 0 deletions
60
pkgs/development/python-modules/lib50/default.nix
Normal file
60
pkgs/development/python-modules/lib50/default.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -7791,6 +7791,8 @@ self: super: with self; {
|
|||
|
||||
lib4vex = callPackage ../development/python-modules/lib4vex { };
|
||||
|
||||
lib50 = callPackage ../development/python-modules/lib50 { };
|
||||
|
||||
libagent = callPackage ../development/python-modules/libagent { };
|
||||
|
||||
libais = callPackage ../development/python-modules/libais { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue