3
submitted 1 year ago by [email protected] to c/[email protected]
3
submitted 1 year ago by [email protected] to c/[email protected]
8
submitted 1 year ago by [email protected] to c/[email protected]
4
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]

GitHub Repository: https://github.com/nix-community/nix-init

Diff: https://github.com/nix-community/nix-init/compare/v0.2.3...v0.2.4

Here is the full changelog for v0.2.4:

Features

  • Go: support dependency inference
  • Rust: improve dependency inference for the following crates: alsa-sys, curl-sys, gtk-sys, gtk4-sys, librocksdb-sys, llvm-sys
  • Go: improve ldflags formatting
  • Add nix and nurl to runtime with environment variables instead of relying on a wrapper

Changes

  • Drop support for nixpkgs 22.11

Fixes

  • Rust: use cargo and rustc instead of rustPlatform.rust.cargo and rustPlatform.rust.rustc
  • Python: fix pythonImportsCheck
  • Python(pyproject): default build-system.requires to setuptools
  • Fix interaction with showAliases = false on nixpkgs 23.11 (#153)

https://github.com/nix-community/nix-init/compare/v0.2.3...v0.2.4

1
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]
2
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 1 year ago by [email protected] to c/[email protected]
1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]

GitHub Repository: https://github.com/nix-community/nix-init

Features

  • Rust: support importCargoLock
  • Rust: improve dependency inference, it now sets environment variables and is feature-aware
  • Prompt for output path when it is unspecified
  • Go: infer ldflags from GoReleaser configuration
  • Python: recognize maturinBuildHook
  • Improve builder completions and validator
  • Improve description normalization
  • Improve version inference

Changes

  • Python: update buildPythonPackage's style to be more conventional
  • Disallow empty urls
  • Normalize pname

Fixes

  • PyPI: support optional dependencies (#34)
  • PyPI: support zip sdists (#33)
  • PyPI: don't strip digits from package names (#35)
  • PyPI: handle normalized sdist file names (#32)
  • PyPI: accept packages without licenses (#32)
  • PyPI: filter out non-sdist versions
  • Go: detect empty vendor from go.sum instead of FOD hash
1
submitted 2 years ago by [email protected] to c/[email protected]

Announcement on NixOS Discourse

Features

  • Hash prefetching powered by nurl
  • Dependency inference for Rust packages using the Riff registry and python projects
  • Interactive prompts with fuzzy tab completions
  • License detection
  • Supported builders
    • stdenv.mkDerivation
    • buildRustPackage
    • buildPythonApplication and buildPythonPackage
    • buildGoModule
  • Supported fetchers
    • fetchCrate
    • fetchFromGitHub
    • fetchFromGitLab
    • fetchFromGitea
    • fetchPypi
    • All other fetchers supported by nurl are also supported, you just have to specify the tags manually

Usage

Usage: nix-init [OPTIONS] <OUTPUT>

Arguments:
  <OUTPUT>  The path to output the generated file to

Options:
  -u, --url <URL>        Specify the URL
  -c, --config <CONFIG>  Specify the config file
  -h, --help             Print help
  -V, --version          Print version
view more: next ›

figsoda

joined 3 years ago