Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / parts / default.nix
blob126cabfc8f6742346deef53129903da169a692bd
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , wheel
7 }:
9 buildPythonPackage rec {
10   pname = "parts";
11   version = "1.7.0";
12   format = "pyproject";
14   disabled = pythonOlder "3.7";
16   src = fetchPypi {
17     inherit pname version;
18     hash = "sha256-TbcFgWKKgHXFyi1NqwVy1ITGHESb4ZusivOpFWazN1s=";
19   };
21   nativeBuildInputs = [
22     setuptools
23     wheel
24   ];
26   # Project has no tests
27   doCheck = false;
29   pythonImportsCheck = [
30     "parts"
31   ];
33   meta = with lib; {
34     description = "Library for common list functions related to partitioning lists";
35     homepage = "https://github.com/lapets/parts";
36     license = with licenses; [ mit ];
37     maintainers = with maintainers; [ fab ];
38   };