Skip to content

Commit

Permalink
pythonPackages.flake8-future-import: Init at 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dezgeg committed Sep 20, 2017
1 parent 56207cd commit ecebb60
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/flake8-future-import/default.nix
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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9003,6 +9003,8 @@ in {

flake8-debugger = callPackage ../development/python-modules/flake8-debugger { };

flake8-future-import = callPackage ../development/python-modules/flake8-future-import { };

flaky = buildPythonPackage rec {
name = "flaky-${version}";
version = "3.1.0";
Expand Down

0 comments on commit ecebb60

Please sign in to comment.