summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/fastimport/default.nix
blob: e4cd46b185ac08ee8aaabdeb57c6b5f934a22774 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "fastimport";
  version = "0.9.14";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca";
  };

  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "fastimport" ];

  meta = {
    homepage = "https://github.com/jelmer/python-fastimport";
    description = "VCS fastimport/fastexport parser";
    maintainers = with lib.maintainers; [ koral ];
    license = lib.licenses.gpl2Plus;
  };
}