Merge remote-tracking branch 'upstream/master' into staging

This commit is contained in:
John Ericson
2018-05-14 22:53:10 -04:00
48 changed files with 1528 additions and 2268 deletions

View File

@@ -0,0 +1,24 @@
{ lib, buildPythonPackage, fetchPypi, gitdb2, mock, nose, ddt }:
buildPythonPackage rec {
version = "2.1.9";
pname = "GitPython";
src = fetchPypi {
inherit pname version;
sha256 = "0a9in1jfv9ssxhckl6sasw45bhm762y2r5ikgb2pk2g8yqdc6z64";
};
checkInputs = [ mock nose ddt ];
propagatedBuildInputs = [ gitdb2 ];
# Tests require a git repo
doCheck = false;
meta = {
description = "Python Git Library";
maintainers = [ ];
homepage = https://github.com/gitpython-developers/GitPython;
license = lib.licenses.bsd3;
};
}

View File

@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, smmap }:
buildPythonPackage rec {
pname = "gitdb";
version = "0.6.4";
src = fetchPypi {
inherit pname version;
sha256 = "0n4n2c7rxph9vs2l6xlafyda5x1mdr8xy16r9s3jwnh3pqkvrsx3";
};
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;
};
}

View File

@@ -0,0 +1,23 @@
{ lib, buildPythonPackage, fetchPypi, smmap2 }:
buildPythonPackage rec {
pname = "gitdb2";
version = "2.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "02azg62mr99b7cllyjrly77np3vw32y8nrxpa2xjapiyaga2j3mn";
};
propagatedBuildInputs = [ smmap2 ];
# 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;
};
}

View File

@@ -0,0 +1,28 @@
{ lib, buildPythonPackage, fetchPypi, isPy27, futures, mock, pytest }:
buildPythonPackage rec {
pname = "isort";
version = "4.3.4";
src = fetchPypi {
inherit pname version;
sha256 = "1y0yfv56cqyh9wyg7kxxv9y5wmfgcq18n7a49mp7xmzka2bhxi5r";
};
propagatedBuildInputs = lib.optional isPy27 futures;
checkInputs = [ mock pytest ];
checkPhase = ''
py.test test_isort.py -k "not test_long_line_comments \
and not test_import_case_produces_inconsistent_results_issue_472 \
and not test_no_extra_lines_issue_557"
'';
meta = with lib; {
description = "A Python utility / library to sort Python imports";
homepage = https://github.com/timothycrosley/isort;
license = licenses.mit;
maintainers = with maintainers; [ couchemar nand0p ];
};
}

View File

@@ -0,0 +1,19 @@
{ lib, fetchPypi, buildPythonPackage, nosexcover }:
buildPythonPackage rec {
pname = "smmap";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "0qlx25f6n2n9ff37w9gg62f217fzj16xlbh0pkz0lpxxjys64aqf";
};
checkInputs = [ nosexcover ];
meta = {
description = "A pure python implementation of a sliding window memory map manager";
homepage = https://github.com/gitpython-developers/smmap;
maintainers = [ ];
license = lib.licenses.bsd3;
};
}

View File

@@ -0,0 +1,20 @@
{ lib, fetchPypi, buildPythonPackage, nosexcover }:
buildPythonPackage rec {
pname = "smmap2";
version = "2.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1hvn28p3zvxa98sbi9lrqvv2ps4q284j4jq9a619zw0m7yv0sly7";
};
checkInputs = [ nosexcover ];
meta = {
description = "A pure python implementation of a sliding window memory map manager";
homepage = https://pypi.org/project/smmap2;
maintainers = [ ];
license = lib.licenses.bsd3;
};
}