pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / py / pyflyby / package.nix
blob271402c1a46f3ce32991b6acfd58c4e4fd303cae
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
6 let
7   version = "1.9.6";
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     rev = version;
18     hash = "sha256-QkoFr9tFtZ+ZEWlxe9csrzoYFl9/V2l4hKYfUWsXUdc=";
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   };