mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
37 lines
700 B
Nix
37 lines
700 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
|
||
|
];
|
||
|
};
|
||
|
}
|