nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.isort: 4.2.5 -> 4.3.4

authored by

Andrey Pavlov and committed by
Robert Schütz
42d11fea 0963abfb

+29 -18
+28
pkgs/development/python-modules/isort/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, isPy27, futures, mock, pytest }: 2 + 3 + buildPythonPackage rec { 4 + pname = "isort"; 5 + version = "4.3.4"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1y0yfv56cqyh9wyg7kxxv9y5wmfgcq18n7a49mp7xmzka2bhxi5r"; 10 + }; 11 + 12 + propagatedBuildInputs = lib.optional isPy27 futures; 13 + 14 + checkInputs = [ mock pytest ]; 15 + 16 + checkPhase = '' 17 + py.test test_isort.py -k "not test_long_line_comments \ 18 + and not test_import_case_produces_inconsistent_results_issue_472 \ 19 + and not test_no_extra_lines_issue_557" 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "A Python utility / library to sort Python imports"; 24 + homepage = https://github.com/timothycrosley/isort; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ couchemar nand0p ]; 27 + }; 28 + }
+1 -18
pkgs/top-level/python-packages.nix
··· 6802 6802 6803 6803 iso8601 = callPackage ../development/python-modules/iso8601 { }; 6804 6804 6805 - isort = buildPythonPackage rec { 6806 - name = "${pname}-${version}"; 6807 - pname = "isort"; 6808 - version = "4.2.5"; 6809 - src = pkgs.fetchurl { 6810 - url = "mirror://pypi/i/${pname}/${name}.tar.gz"; 6811 - sha256 = "0p7a6xaq7zxxq5vr5gizshnsbk2afm70apg97xwfdxiwyi201cjn"; 6812 - }; 6813 - buildInputs = with self; [ mock pytest ]; 6814 - # No tests distributed 6815 - doCheck = false; 6816 - meta = { 6817 - description = "A Python utility / library to sort Python imports"; 6818 - homepage = https://github.com/timothycrosley/isort; 6819 - license = licenses.mit; 6820 - maintainers = with maintainers; [ couchemar nand0p ]; 6821 - }; 6822 - }; 6805 + isort = callPackage ../development/python-modules/isort {}; 6823 6806 6824 6807 jabberbot = callPackage ../development/python-modules/jabberbot {}; 6825 6808