Files
nixpkgs/pkgs/development/python-modules/jsonable/default.nix
T
2023-07-19 08:34:27 +02:00

32 lines
722 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, nose
}:
buildPythonPackage rec {
pname = "jsonable";
version = "0.3.1";
src = fetchFromGitHub {
owner = "halfak";
repo = "python-jsonable";
rev = "refs/tags/${version}";
hash = "sha256-3FIzG2djSZOPDdoYeKqs3obQjgHrFtyp0sdBwZakkHA=";
};
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ nose ];
pythonImportsCheck = [ "jsonable" ];
meta = with lib; {
description = "Provides an abstract base class and utilities for defining trivially JSONable python objects";
homepage = "https://github.com/halfak/python-jsonable";
license = licenses.mit;
maintainers = with maintainers; [ GaetanLepage ];
};
}