summary refs log tree commit diff
path: root/pkgs/development/python-modules/fastimport/default.nix
blob: ee1048ec5fac1b49df34f62f62bc87c40d4f4a48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, buildPythonPackage, python, fetchurl }:

buildPythonPackage rec {
  name = "fastimport-${version}";
  version = "0.9.6";

  src = fetchurl {
    url = "mirror://pypi/f/fastimport/${name}.tar.gz";
    sha256 = "1aqjsin4rmqm7ln4j0p73fzxifws6c6ikgyhav7r137m2ixsxl43";
  };

  checkPhase = ''
    ${python.interpreter} -m unittest discover
  '';

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