about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mwcli/default.nix
blob: adcc5ab1e34cca09318b2c7cba2d66a4a4a0e07d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  buildPythonPackage,
  fetchPypi,
  docopt,
  para,
}:

buildPythonPackage rec {
  pname = "mwcli";
  version = "0.0.3";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ADMb0P8WtXIcnGJ02R4l/TVfRewHc8ig45JurAWHGaA=";
  };

  # Prevent circular dependency
  pythonRemoveDeps = [ "mwxml" ];


  propagatedBuildInputs = [
    docopt
    para
  ];

  # Tests require mwxml which itself depends on this package (circular dependency)
  doCheck = false;

  meta = with lib; {
    description = "Set of helper functions and classes for mediawiki-utilities command-line utilities";
    homepage = "https://github.com/mediawiki-utilities/python-mwcli";
    license = licenses.mit;
    maintainers = with maintainers; [ GaetanLepage ];
  };
}