Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 docopt, 6 para, 7}: 8 9buildPythonPackage rec { 10 pname = "mwcli"; 11 version = "0.0.3"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-ADMb0P8WtXIcnGJ02R4l/TVfRewHc8ig45JurAWHGaA="; 17 }; 18 19 # Prevent circular dependency 20 pythonRemoveDeps = [ "mwxml" ]; 21 22 23 propagatedBuildInputs = [ 24 docopt 25 para 26 ]; 27 28 # Tests require mwxml which itself depends on this package (circular dependency) 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Set of helper functions and classes for mediawiki-utilities command-line utilities"; 33 homepage = "https://github.com/mediawiki-utilities/python-mwcli"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ GaetanLepage ]; 36 }; 37}