depot/third_party/nixpkgs/pkgs/development/python-modules/natural/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

32 lines
676 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, setuptools
, six
, django
}:
buildPythonPackage rec {
pname = "natural";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tehmaze";
repo = "natural";
rev = "refs/tags/${version}";
hash = "sha256-DERFKDGVUPcjYAxiTYWgWkPp+Myd/9CNytQWgRya570=";
};
build-system = [ setuptools ];
dependencies = [ six ];
nativeCheckInputs = [ django ];
meta = {
description = "Convert data to their natural (human-readable) format";
homepage = "https://github.com/tehmaze/natural";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sailord vinetos ];
};
}