nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 54 lines 972 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 cheroot, 7 legacy-cgi, 8 dbutils, 9 mysqlclient, 10 pymysql, 11 mysql-connector, 12 psycopg2, 13}: 14 15buildPythonPackage rec { 16 version = "0.62"; 17 format = "setuptools"; 18 pname = "web.py"; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "5ce684caa240654cae5950da8b4b7bc178812031e08f990518d072bd44ab525e"; 23 }; 24 25 propagatedBuildInputs = [ 26 cheroot 27 legacy-cgi 28 ]; 29 30 # requires multiple running databases 31 doCheck = false; 32 33 pythonImportsCheck = [ "web" ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 dbutils 38 mysqlclient 39 pymysql 40 mysql-connector 41 psycopg2 42 ]; 43 44 meta = { 45 description = "Makes web apps"; 46 longDescription = '' 47 Think about the ideal way to write a web app. 48 Write the code to make it happen. 49 ''; 50 homepage = "https://webpy.org/"; 51 license = lib.licenses.publicDomain; 52 maintainers = with lib.maintainers; [ layus ]; 53 }; 54}