depot/third_party/nixpkgs/pkgs/development/python-modules/tabledata/default.nix

37 lines
791 B
Nix
Raw Normal View History

{
buildPythonPackage,
fetchFromGitHub,
lib,
dataproperty,
typepy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "tabledata";
version = "1.3.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "thombashi";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-84KrXnks76mvIjcEeQPpwd8rPO5SMbH/jfqERaFTrWo=";
};
propagatedBuildInputs = [
dataproperty
typepy
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
homepage = "https://github.com/thombashi/tabledata";
description = "A library to represent tabular data";
changelog = "https://github.com/thombashi/tabledata/releases/tag/v${version}";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.mit;
};
}