-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythonPackages.flake8-future-import: Init at 0.4.3
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
pkgs/development/python-modules/flake8-future-import/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ lib, fetchFromGitHub, buildPythonPackage, python, flake8, six }: | ||
|
||
buildPythonPackage rec { | ||
pname = "flake8-future-import"; | ||
name = "${pname}-${version}"; | ||
version = "0.4.3"; | ||
# PyPI tarball doesn't include the test suite | ||
src = fetchFromGitHub { | ||
owner = "xZise"; | ||
repo = "flake8-future-import"; | ||
rev = version; | ||
sha256 = "0622bdcfa588m7g8igag6hf4rhjdwh74yfnrjwlxw4vlqhg344k4"; | ||
}; | ||
propagatedBuildInputs = [ flake8 six ]; | ||
meta = { | ||
homepage = https://github.com/xZise/flake8-future-import; | ||
description = "A flake8 extension to check for the imported __future__ modules to make it easier to have a consistent code base"; | ||
license = lib.licenses.mit; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters