[Nix-dev] Meta information for packages?
Marc Weber
marco-oweber at gmx.de
Sun Jul 22 19:25:01 CEST 2007
Most packaging systems do provide some short additional information
about packages
In gentoo you can get this (arbitrarely taken) record
* sys-apps/ucspi-unix
Latest version available: 0.36-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 41 kB
Homepage: http://untroubled.org/ucspi-unix/
Description: A ucspi implementation for unix sockets
License: GPL-2
Do you mind me adding some support for meta information?
How should this look like?
I think just
stdenv.mkDerivation {
meta = { author = "..."
; description = "..."
; homepage = "..."
; ....
}
}
...
}
and adding some possibility to query it from nix-env
nix-env --show-meta <package-name>
would be enough.
Any comments?
Marc
More information about the nix-dev
mailing list