your_spotify: 1.11.0 -> 1.12.0 (#366529)
[NixPkgs.git] / pkgs / development / python-modules / multiset / default.nix
blobea8ee3f03f72e90bf414feeac00f298cf9b022a4
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   setuptools-scm,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "multiset";
12   version = "3.2.0";
13   pyproject = true;
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-fFmnhihLnDOd9PIZ3LtM5fRNOsGyD5ImNsTXieic97U=";
18   };
20   postPatch = ''
21     # Drop broken version specifier
22     sed -i '/python_requires/d' setup.cfg
23   '';
25   build-system = [
26     setuptools
27     setuptools-scm
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "multiset" ];
34   meta = with lib; {
35     description = "Implementation of a multiset";
36     homepage = "https://github.com/wheerd/multiset";
37     changelog = "https://github.com/wheerd/multiset/releases/tag/${version}";
38     license = licenses.mit;
39     maintainers = [ ];
40   };