Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPythonPackage 2, fetchFromGitHub 3, lib 4, setuptools 5, six 6, django 7}: 8buildPythonPackage rec { 9 pname = "natural"; 10 version = "0.2.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "tehmaze"; 15 repo = "natural"; 16 rev = "refs/tags/${version}"; 17 hash = "sha256-DERFKDGVUPcjYAxiTYWgWkPp+Myd/9CNytQWgRya570="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 dependencies = [ six ]; 23 24 nativeCheckInputs = [ django ]; 25 26 meta = { 27 description = "Convert data to their natural (human-readable) format"; 28 homepage = "https://github.com/tehmaze/natural"; 29 license = lib.licenses.mit; 30 maintainers = with lib.maintainers; [ sailord vinetos ]; 31 }; 32}