Skip to content

Commit

Permalink
Fixes issue with nix and flake8-pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrsamsung committed Apr 18, 2024
1 parent 8595215 commit 71b8f88
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
let
buildPythonPackage = pkgs.python311Packages.buildPythonPackage;
fetchPypi = pkgs.python311Packages.fetchPypi;
fetchFromGitHub = pkgs.fetchFromGitHub;

in rec {
# third-party dependencies
gcgen = (buildPythonPackage rec {
Expand Down Expand Up @@ -118,14 +120,13 @@
owner = "john-hen";
repo = "Flake8-pyproject";
rev = "1.2.3";
sha256 = "";
sha256 = "sha256-bPRIj7tYmm6I9eo1ZjiibmpVmGcHctZSuTvnKX+raPg=";
};
format = "wheel";
dist = "py3";
# Package does not have any tests
doCheck = false;
propagatedBuildInputs = [];

format = "pyproject";
nativeBuildInputs = [ pkgs.python311Packages.flake8 pkgs.python311Packages.flit-core ];
meta = {
description = "Flake8 plug-in loading the configuration from pyproject.toml";
homepage = "https://github.com/john-hen/Flake8-pyproject";
Expand Down

0 comments on commit 71b8f88

Please sign in to comment.