[go: nahoru, domu]

Skip to content

Tools for removing the tedious nature of creating nixpkgs derivations

Notifications You must be signed in to change notification settings

dubiouscript/nixpkgs-dev-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nixpkgs-dev-tools

These are scripts that I have written to remove the tedious nature of creating nix package derivations. The goal of these scripts is not to create a perfect package derivation.

usefull development commands

Build Package in sandbox

nix-build <path-to-nixpkgs> -A <package> --option sandbox true

general

nix-build -I nixpkgs=<path-to-nixpkgs> check-meta.nix -A [ maintainers, license, homepage, broken ]

List are packages that have given meta attribute

  • maintainers :: checks that maintainer is defined
  • license :: checks that a license is defined
  • homepage :: checks that a homepage is defined
  • broken :: checks for all packages marked broken

python

python/python-package-init.py <pypi-name> [--version <pypi-version>]

Creates a default.nix derivation to go into nixpkgs/pkgs/development/python-modules/<pypi-name>/default.nix. This script is overly verbose so that you don't have to remember the name of attributes. Delete the ones that you don't need.

python/python-modules.sh <path-to-nixpkgs>

List all packages that are still in pkgs/top-level/python-packages.nix.

About

Tools for removing the tedious nature of creating nixpkgs derivations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.1%
  • Nix 12.3%
  • Shell 1.6%