nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 952 B view raw
1{ 2 lib, 3 attrs, 4 buildPythonPackage, 5 docutils, 6 fetchPypi, 7 od, 8 pygments, 9 python-dateutil, 10 repeated-test, 11 setuptools-scm, 12 sigtools, 13 unittestCheckHook, 14}: 15 16buildPythonPackage rec { 17 pname = "clize"; 18 version = "5.0.2"; 19 pyproject = true; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-BH9aRHNgJxirG4VnKn4VMDOHF41agcJ13EKd+sHstRA="; 24 }; 25 26 build-system = [ setuptools-scm ]; 27 28 dependencies = [ 29 attrs 30 docutils 31 od 32 sigtools 33 ]; 34 35 optional-dependencies = { 36 datetime = [ python-dateutil ]; 37 }; 38 39 nativeCheckInputs = [ 40 pygments 41 unittestCheckHook 42 python-dateutil 43 repeated-test 44 ]; 45 46 pythonImportsCheck = [ "clize" ]; 47 48 meta = { 49 description = "Command-line argument parsing for Python"; 50 homepage = "https://github.com/epsy/clize"; 51 changelog = "https://github.com/epsy/clize/releases/tag/v${version}"; 52 license = lib.licenses.mit; 53 maintainers = [ ]; 54 }; 55}