eza: 0.20.19 -> 0.20.20 (#380012)
[NixPkgs.git] / pkgs / by-name / py / pyflyby / package.nix
blobee3957c3248a13c7a137388bc66e0fd6737cc430
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
6 let
7   version = "1.9.10";
8 in
9 python3.pkgs.buildPythonApplication rec {
10   inherit version;
11   pname = "pyflyby";
12   pyproject = true;
14   src = fetchFromGitHub {
15     owner = "deshaw";
16     repo = "pyflyby";
17     tag = version;
18     hash = "sha256-Q0Z429DUB0PpPNGajuMQBi4K6cotAC8hXP1bo69O7y8=";
19   };
21   build-system = with python3.pkgs; [
22     setuptools
23     wheel
24   ];
26   dependencies = with python3.pkgs; [
27     six
28     toml
29     isort
30     black
31     ipython
32   ];
34   pythonImportsCheck = [ "pyflyby" ];
36   meta = {
37     description = "Set of productivity tools for Python";
38     homepage = "https://github.com/deshaw/pyflyby";
39     license = lib.licenses.mit;
40     maintainers = with lib.maintainers; [ jfvillablanca ];
41     mainProgram = "py";
42   };