Skip to main content

Template init tool for devenv inspired by nix flake init

Project description

Devenvcp

Template init tool for devenv inspired by nix flake init to copy your devenv templates so you don't need to use nix flakes for it.

Installation

From Pypi

pip install devenvcp

From nix flake

Add this to your inputs

inputs.devenvcp.url = "git+https://codeberg.org/claymorwan/devnenvcp"

Then install the package like so:

environment.systemPackages = [
  inputs.devenvcp.packages.${pkgs.stdenv.hostPlatform.system}.default
];

for home-manager:

home.packages = [
  inputs.devenvcp.packages.${pkgs.stdenv.hostPlatform.system}.default
];

You can also directly run

nix run git+https://codeberg.org/claymorwan/devnenvcp -- <args>

Usage

Create a devenvcp.toml file in which you can add your templates like so

[python]            # name of template
path = "./python"   # relative path your template's directory
aliases = ["py"]    # list of string to use as aliases in the cli

Then run the following

devenvcp path/to/dir/containing/config template
# for example
devenvcp ~/.dotfiles/NixOS/dev-shells/devenv python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devenvcp-1.0.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

devenvcp-1.0.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file devenvcp-1.0.0.tar.gz.

File metadata

  • Download URL: devenvcp-1.0.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for devenvcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 28b36eb2a65cd483c1ea81306d3e35cd577ba3c17b8f3eeeffcc20b931e321bd
MD5 9b67392c2b6587137df1cc9ca9e53b6b
BLAKE2b-256 552c1ae7bf14f0fd49a3031cff97589baa7dc88f4ed46351af0da97c0d6e4a93

See more details on using hashes here.

File details

Details for the file devenvcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: devenvcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for devenvcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15675bd4607aac68ba78aa58c020b01ebe0928f82085bef4cf28a46c3820b9f5
MD5 404eb9b329e5d011e466e759cea5d2e9
BLAKE2b-256 2778b37894684e7ff25c60ab5b4d109b419ebe9e62210fc3cebd44d393e3dcd3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page