nixpkgs/pkgs/development/python-modules/jsondate/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

24 lines
599 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;
};
}