Skip to content

Commit

Permalink
Merge pull request #314735 from StarrFox/import_expression_1.1.5
Browse files Browse the repository at this point in the history
python3Packages.import-expression: 1.1.4 -> 1.1.5
  • Loading branch information
tomberek committed May 27, 2024
2 parents 2743abe + ad43b9c commit a23b799
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions pkgs/development/python-modules/import-expression/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,25 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
fetchPypi,
fetchpatch,
pytestCheckHook,
astunparse,
setuptools,
}:
buildPythonPackage rec {
pname = "import-expression";
version = "1.1.4";
version = "1.1.5";
pyproject = true;

src = fetchFromGitHub {
owner = "ioistired";
repo = "import-expression-parser";
rev = "refs/tags/v${version}";
hash = "sha256-mll2NePB7fthzltLOk6D9BgaDpH6GaW4psqcGun/0qM=";
src = fetchPypi {
inherit version;
pname = "import_expression";
hash = "sha256-mVlYj8/I3LFEoHJRds/vbCjH2x/C1oNiUCXmh1FtQME=";
};

patches = [
(fetchpatch {
url = "https://github.com/ioistired/import-expression-parser/commit/3daf968c3163b64685aa529740e132f0df5ab262.patch";
hash = "sha256-2Ubv3onor2D26udZbDDMb3iNLopEIRnIcO/X6WUVmJU=";
})
];

nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ astunparse ];
build-system = [ setuptools ];
dependencies = [ astunparse ];
nativeCheckInputs = [ pytestCheckHook ];
pytestFlagsArray = [ "tests.py" ];

Expand Down

0 comments on commit a23b799

Please sign in to comment.