Loading pkgs/development/python-modules/pydivsufsort/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { buildPythonPackage, cmake, cython, fetchPypi, lib, numpy, setuptools, }: buildPythonPackage (finalAttrs: { pname = "pydivsufsort"; version = "0.0.20"; pyproject = true; # The repo hosted on github does not have tags, so we use fetchPypi, though # we should replace with fetchFromGitHub when we have # https://github.com/louisabraham/pydivsufsort/issues/52 src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-aFpXkfrl4gDOi3pOXVFbYVP/3nF1MxvQ34GkIRCK1N8="; }; postPatch = '' substituteInPlace setup.py --replace-fail /bin/bash bash patchShebangs build.sh ''; nativeBuildInputs = [ cmake ]; dontUseCmakeConfigure = true; build-system = [ setuptools ]; dependencies = [ cython numpy ]; meta = { description = "Bindings to `libdivsufsort`"; homepage = "https://github.com/louisabraham/pydivsufsort"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jmbaur ]; }; }) pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13354,6 +13354,8 @@ self: super: with self; { pydispatcher = callPackage ../development/python-modules/pydispatcher { }; pydivsufsort = callPackage ../development/python-modules/pydivsufsort { }; pydle = callPackage ../development/python-modules/pydle { }; pydmd = callPackage ../development/python-modules/pydmd { }; Loading Loading
pkgs/development/python-modules/pydivsufsort/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { buildPythonPackage, cmake, cython, fetchPypi, lib, numpy, setuptools, }: buildPythonPackage (finalAttrs: { pname = "pydivsufsort"; version = "0.0.20"; pyproject = true; # The repo hosted on github does not have tags, so we use fetchPypi, though # we should replace with fetchFromGitHub when we have # https://github.com/louisabraham/pydivsufsort/issues/52 src = fetchPypi { inherit (finalAttrs) pname version; hash = "sha256-aFpXkfrl4gDOi3pOXVFbYVP/3nF1MxvQ34GkIRCK1N8="; }; postPatch = '' substituteInPlace setup.py --replace-fail /bin/bash bash patchShebangs build.sh ''; nativeBuildInputs = [ cmake ]; dontUseCmakeConfigure = true; build-system = [ setuptools ]; dependencies = [ cython numpy ]; meta = { description = "Bindings to `libdivsufsort`"; homepage = "https://github.com/louisabraham/pydivsufsort"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jmbaur ]; }; })
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13354,6 +13354,8 @@ self: super: with self; { pydispatcher = callPackage ../development/python-modules/pydispatcher { }; pydivsufsort = callPackage ../development/python-modules/pydivsufsort { }; pydle = callPackage ../development/python-modules/pydle { }; pydmd = callPackage ../development/python-modules/pydmd { }; Loading