nixpkgs/pkgs/development/python-modules/keep/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

38 lines
749 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pygithub
, terminaltables
, click
, requests
}:
buildPythonPackage rec {
pname = "keep";
version = "2.10.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "3abbe445347711cecd9cbb80dab4a0777418972fc14a14e9387d0d2ae4b6adb7";
};
propagatedBuildInputs = [
click
requests
terminaltables
pygithub
];
# no tests
doCheck = false;
pythonImportsCheck = [ "keep" ];
meta = with lib; {
homepage = "https://github.com/orkohunter/keep";
description = "A Meta CLI toolkit: Personal shell command keeper and snippets manager";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}