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