Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at flake-libs 82 lines 1.6 kB view raw
1{ 2 buildPythonPackage, 3 colorama, 4 decorator, 5 dunamai, 6 fetchFromGitHub, 7 funcy, 8 git, 9 iteration-utilities, 10 jinja2, 11 jinja2-ansible-filters, 12 lib, 13 mkdocs-material, 14 mkdocs-mermaid2-plugin, 15 mkdocstrings, 16 packaging, 17 pathspec, 18 plumbum, 19 poetry-core, 20 poetry-dynamic-versioning, 21 pydantic, 22 pygments, 23 pyyaml, 24 pyyaml-include, 25 questionary, 26}: 27 28buildPythonPackage rec { 29 pname = "copier"; 30 version = "9.6.0"; 31 pyproject = true; 32 33 src = fetchFromGitHub { 34 owner = "copier-org"; 35 repo = "copier"; 36 tag = "v${version}"; 37 # Conflict on APFS on darwin 38 postFetch = '' 39 rm $out/tests/demo/doc/ma*ana.txt 40 ''; 41 hash = "sha256-mezmXrOvfqbZGZadNZklQZt/OEKqRYnwugNkZc88t6o="; 42 }; 43 44 POETRY_DYNAMIC_VERSIONING_BYPASS = version; 45 46 build-system = [ 47 poetry-core 48 poetry-dynamic-versioning 49 ]; 50 51 dependencies = [ 52 colorama 53 decorator 54 dunamai 55 funcy 56 iteration-utilities 57 jinja2 58 jinja2-ansible-filters 59 mkdocs-material 60 mkdocs-mermaid2-plugin 61 mkdocstrings 62 packaging 63 pathspec 64 plumbum 65 pydantic 66 pygments 67 pyyaml 68 pyyaml-include 69 questionary 70 ]; 71 72 makeWrapperArgs = [ "--suffix PATH : ${lib.makeBinPath [ git ]}" ]; 73 74 meta = { 75 description = "Library and command-line utility for rendering projects templates"; 76 homepage = "https://copier.readthedocs.io"; 77 changelog = "https://github.com/copier-org/copier/blob/v${version}/CHANGELOG.md"; 78 license = lib.licenses.mit; 79 maintainers = with lib.maintainers; [ greg ]; 80 mainProgram = "copier"; 81 }; 82}