1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-27 03:26:50 +03:00
nixpkgs/pkgs/development/python-modules/fastimport/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
643 B
Nix
Raw Normal View History

{ lib
, pythonOlder
, buildPythonPackage
, fetchPypi
, python
}:
2017-11-05 21:37:27 +00:00
buildPythonPackage rec {
2018-01-01 11:46:58 +01:00
pname = "fastimport";
version = "0.9.14";
2017-11-05 21:37:27 +00:00
disabled = pythonOlder "3.5";
2018-01-01 11:46:58 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "6ac99dda4e7b0b3ae831507b6d0094802e6dd95891feafde8cc5c405b6c149ca";
2017-11-05 21:37:27 +00:00
};
checkPhase = ''
${python.interpreter} -m unittest discover
'';
pythonImportsCheck = [ "fastimport" ];
meta = with lib; {
homepage = "https://github.com/jelmer/python-fastimport";
2017-11-05 21:37:27 +00:00
description = "VCS fastimport/fastexport parser";
maintainers = with maintainers; [ koral ];
license = licenses.gpl2Plus;
};
}