depot/third_party/nixpkgs/pkgs/development/python-modules/jsondate/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
608 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
six,
}:
buildPythonPackage rec {
version = "0.1.3";
format = "setuptools";
pname = "jsondate";
src = fetchFromGitHub {
owner = "ilya-kolpakov";
repo = "jsondate";
rev = "refs/tags/v${version}";
sha256 = "0nhvi48nc0bmad5ncyn6c9yc338krs3xf10bvv55xgz25c5gdgwy";
fetchSubmodules = true; # Fetching by tag does not work otherwise
};
propagatedBuildInputs = [ six ];
meta = {
homepage = "https://github.com/ilya-kolpakov/jsondate";
description = "JSON with datetime handling";
license = lib.licenses.mit;
};
}