Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 29 lines 604 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, pytest 6, pytestrunner 7, future 8}: 9 10buildPythonPackage rec { 11 pname = "parsedatetime"; 12 version = "2.6"; 13 disabled = isPy27; # no longer compatible with icu package 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "4cb368fbb18a0b7231f4d76119165451c8d2e35951455dfee97c62a87b04d455"; 18 }; 19 20 buildInputs = [ pytest pytestrunner ]; 21 propagatedBuildInputs = [ future ]; 22 23 meta = with lib; { 24 description = "Parse human-readable date/time text"; 25 homepage = "https://github.com/bear/parsedatetime"; 26 license = licenses.asl20; 27 }; 28 29}