Skip to content

Commit

Permalink
pyflyby: init at 1.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jfvillablanca committed Oct 15, 2024
1 parent e273688 commit 98f42e3
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions pkgs/by-name/py/pyflyby/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
pname = "pyflyby";
version = "1.9.6";
pyproject = true;

src = fetchFromGitHub {
owner = "deshaw";
repo = "pyflyby";
rev = version;
hash = "sha256-QkoFr9tFtZ+ZEWlxe9csrzoYFl9/V2l4hKYfUWsXUdc=";
};
disabled = python3.pythonOlder "3.8";

nativeBuildInputs = with python3.pkgs; [
setuptools
wheel
];

propagatedBuildInputs = with python3.pkgs; [
six
toml
isort
black
ipython
];

pythonImportsCheck = [ "pyflyby" ];

meta = with lib; {
description = "A set of productivity tools for Python";
homepage = "https://github.com/deshaw/pyflyby";
license = licenses.mit;
maintainers = with maintainers; [ jfvillablanca ];
mainProgram = "tidy-imports";
};
}

0 comments on commit 98f42e3

Please sign in to comment.