at master 598 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 six, 6}: 7 8buildPythonPackage rec { 9 version = "0.1.3"; 10 format = "setuptools"; 11 pname = "jsondate"; 12 13 src = fetchFromGitHub { 14 owner = "ilya-kolpakov"; 15 repo = "jsondate"; 16 tag = "v${version}"; 17 sha256 = "0nhvi48nc0bmad5ncyn6c9yc338krs3xf10bvv55xgz25c5gdgwy"; 18 fetchSubmodules = true; # Fetching by tag does not work otherwise 19 }; 20 21 propagatedBuildInputs = [ six ]; 22 23 meta = { 24 homepage = "https://github.com/ilya-kolpakov/jsondate"; 25 description = "JSON with datetime handling"; 26 license = lib.licenses.mit; 27 }; 28}