python3Packages.justbases: 0.15 -> 0.15.2

Diff: https://github.com/mulkieran/justbases/compare/refs/tags/v0.15...v0.15.2
This commit is contained in:
Nick Cao 2023-05-15 18:56:39 +08:00
parent a0ca431141
commit 538dfc605c
No known key found for this signature in database

View File

@ -1,23 +1,30 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, unittestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "justbases";
version = "0.15";
version = "0.15.2";
src = fetchPypi {
inherit pname version;
hash = "sha256-vQEfC8Z7xMM/fhBG6jSuhLEP/Iece5Rje1yqbpjVuPg=";
src = fetchFromGitHub {
owner = "mulkieran";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-XraUh3beI2JqKPRHYN5W3Tn3gg0GJCwhnhHIOFdzh6U=";
};
nativeCheckInputs = [ hypothesis ];
nativeCheckInputs = [
unittestCheckHook
hypothesis
];
meta = with lib; {
description = "conversion of ints and rationals to any base";
homepage = "https://pythonhosted.org/justbases";
homepage = "https://github.com/mulkieran/justbases";
changelog = "https://github.com/mulkieran/justbases/blob/v${version}/CHANGES.txt";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ nickcao ];
};