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

buildPythonPackage rec {
  pname = "fastimport";
  version = "0.9.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "b2f2e8eb97000256e1aab83d2a0a053fc7b93c3aa4f7e9b971a5703dfc5963b9";
  };

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

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