Files
nixpkgs/pkgs/development/python-modules/multiset/default.nix
T
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

41 lines
743 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "multiset";
version = "3.1.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-jpPlhvaI0uKwD6WEPiqC9p6XHhrHrT14+dKkdgjem6Y=";
};
postPatch = ''
# Drop broken version specifier
sed -i '/python_requires/d' setup.cfg
'';
nativeBuildInputs = [
setuptools
setuptools-scm
];
pythonImportsCheck = [ "multiset" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Implementation of a multiset";
homepage = "https://github.com/wheerd/multiset";
license = licenses.mit;
maintainers = [ ];
};
}