nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 37 lines 688 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, attrs 5, pendulum 6, pprintpp 7, wrapt 8, pythonOlder 9}: 10 11buildPythonPackage rec { 12 pname = "tbm-utils"; 13 version = "1.0.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "08fb86b5ab469bafdbef19751abb6dc1e08a3043c373ea915e1b6e20d023b529"; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py --replace ",<19.3" "" 22 ''; 23 24 # No tests in archive. 25 doCheck = false; 26 27 disabled = pythonOlder "3.6"; 28 29 propagatedBuildInputs = [ attrs pendulum pprintpp wrapt ]; 30 31 meta = { 32 homepage = https://github.com/thebigmunch/tbm-utils; 33 license = with lib.licenses; [ mit ]; 34 description = "A commonly-used set of utilities"; 35 }; 36 37}