nixpkgs/pkgs/development/python-modules/gitdb/default.nix

30 lines
580 B
Nix
Raw Normal View History

2020-03-14 16:00:10 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, smmap
, isPy3k
}:
buildPythonPackage rec {
pname = "gitdb";
2020-05-09 11:01:48 +01:00
version = "4.0.5";
2020-03-14 16:00:10 +00:00
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
2020-05-09 11:01:48 +01:00
sha256 = "c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9";
};
propagatedBuildInputs = [ smmap ];
# Bunch of tests fail because they need an actual git repo
doCheck = false;
meta = {
description = "Git Object Database";
maintainers = [ ];
homepage = "https://github.com/gitpython-developers/gitdb";
license = lib.licenses.bsd3;
};
}