Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
787 B · 48 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub,
# build-system setuptools, setuptools-scm,
# dependencies pyyaml,
# tests hypothesis, pytestCheckHook,}:
buildPythonPackage rec { pname = "jsondiff"; version = "2.2.1"; pyproject = true;
src = fetchFromGitHub { owner = "xlwings"; repo = "jsondiff"; tag = version; hash = "sha256-0EnI7f5t7Ftl/8UcsRdA4iVQ78mxvPucCJjFJ8TMwww="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ pyyaml ];
nativeCheckInputs = [ hypothesis pytestCheckHook ];
meta = { description = "Diff JSON and JSON-like structures in Python"; mainProgram = "jdiff"; homepage = "https://github.com/ZoomerAnalytics/jsondiff"; license = lib.licenses.mit; };}