Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #232023 from NickCao/justbases

python3Packages.justbases: 0.15 -> 0.15.2

authored by Nick Cao and committed by GitHub a57c163e f7b8884b

Changed files
+14 -7
pkgs
development
python-modules
justbases
+14 -7
pkgs/development/python-modules/justbases/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 + , unittestCheckHook 4 5 , hypothesis 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "justbases"; 9 - version = "0.15"; 10 + version = "0.15.2"; 10 11 11 - src = fetchPypi { 12 - inherit pname version; 13 - hash = "sha256-vQEfC8Z7xMM/fhBG6jSuhLEP/Iece5Rje1yqbpjVuPg="; 12 + src = fetchFromGitHub { 13 + owner = "mulkieran"; 14 + repo = pname; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-XraUh3beI2JqKPRHYN5W3Tn3gg0GJCwhnhHIOFdzh6U="; 14 17 }; 15 18 16 - nativeCheckInputs = [ hypothesis ]; 19 + nativeCheckInputs = [ 20 + unittestCheckHook 21 + hypothesis 22 + ]; 17 23 18 24 meta = with lib; { 19 25 description = "conversion of ints and rationals to any base"; 20 - homepage = "https://pythonhosted.org/justbases"; 26 + homepage = "https://github.com/mulkieran/justbases"; 27 + changelog = "https://github.com/mulkieran/justbases/blob/v${version}/CHANGES.txt"; 21 28 license = licenses.lgpl2Plus; 22 29 maintainers = with maintainers; [ nickcao ]; 23 30 };