Tools for removing the tedious nature of creating nixpkgs derivations
Project description
# python nixpkgs tools
[![Build Status](https://travis-ci.org/nix-community/nixpkgs-pytools.svg?branch=master)](https://travis-ci.org/nix-community/nixpkgs-pytools)
These are scripts written to remove the tedious nature of creating nix
package derivations for nixpkgs. The goal of these scripts is not to
create a perfect package derivation but complete as much as possible
and guide the user on necessary changes.
## python-package-init
```
usage: python-package-init [-h] [--version VERSION] [--filename FILENAME]
[-f]
package
positional arguments:
package pypi package name
optional arguments:
-h, --help show this help message and exit
--version VERSION pypi package version (stable if not specified)
--filename FILENAME filename for nix derivation
-f, --force Force creation of file, overwriting when it already
exists
```
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.
## Hacking on these tools
`nix-shell` will load the correct environment for your usage:
```
nix-shell
```
[![Build Status](https://travis-ci.org/nix-community/nixpkgs-pytools.svg?branch=master)](https://travis-ci.org/nix-community/nixpkgs-pytools)
These are scripts written to remove the tedious nature of creating nix
package derivations for nixpkgs. The goal of these scripts is not to
create a perfect package derivation but complete as much as possible
and guide the user on necessary changes.
## python-package-init
```
usage: python-package-init [-h] [--version VERSION] [--filename FILENAME]
[-f]
package
positional arguments:
package pypi package name
optional arguments:
-h, --help show this help message and exit
--version VERSION pypi package version (stable if not specified)
--filename FILENAME filename for nix derivation
-f, --force Force creation of file, overwriting when it already
exists
```
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.
## Hacking on these tools
`nix-shell` will load the correct environment for your usage:
```
nix-shell
```
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
nixpkgs-pytools-1.0.0.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for nixpkgs_pytools-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc941efd08cfa32939d49bc58e18bdba043c96aa019c21949fea4e79738dfdb5 |
|
MD5 | 4f6e11059306761e795f3d701494cd55 |
|
BLAKE2b-256 | 6a74f93e0ec1f02779df1c89515bb5cd6cda0d2073531124f0e58305755bb76c |