nixpkgs/pkgs/development/python-modules/justbytes/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

31 lines
689 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, justbases
, unittestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "justbytes";
version = "0.15.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "mulkieran";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-+jwIK1ZU+j58VoOfZAm7GdFy7KHU28khwzxhYhcws74=";
};
propagatedBuildInputs = [ justbases ];
nativeCheckInputs = [ unittestCheckHook hypothesis ];
meta = with lib; {
description = "computing with and displaying bytes";
homepage = "https://github.com/mulkieran/justbytes";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ nickcao ];
};
}