nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 743 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 unittestCheckHook, 6 hypothesis, 7}: 8 9buildPythonPackage rec { 10 pname = "justbases"; 11 version = "0.15.2"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "mulkieran"; 16 repo = "justbases"; 17 tag = "v${version}"; 18 hash = "sha256-XraUh3beI2JqKPRHYN5W3Tn3gg0GJCwhnhHIOFdzh6U="; 19 }; 20 21 nativeCheckInputs = [ 22 unittestCheckHook 23 hypothesis 24 ]; 25 26 meta = { 27 description = "Conversion of ints and rationals to any base"; 28 homepage = "https://github.com/mulkieran/justbases"; 29 changelog = "https://github.com/mulkieran/justbases/blob/v${version}/CHANGES.txt"; 30 license = lib.licenses.lgpl2Plus; 31 maintainers = with lib.maintainers; [ nickcao ]; 32 }; 33}