1# Coding conventions {#chap-conventions} 2 3This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md). 4 5## Syntax {#sec-syntax} 6 7This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md). 8 9## Package naming {#sec-package-naming} 10 11This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 12 13## File naming and organisation {#sec-organisation} 14 15This section has been moved to [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md). 16 17### Versioning {#sec-versioning} 18 19This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 20 21## Fetching Sources {#sec-sources} 22 23This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 24 25## Obtaining source hash {#sec-source-hashes} 26 27This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 28 29### Obtaining hashes securely {#sec-source-hashes-security} 30 31This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 32 33## Patches {#sec-patches} 34 35This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 36 37## Package tests {#sec-package-tests} 38 39This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 40 41### Writing inline package tests {#ssec-inline-package-tests-writing} 42 43This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 44 45### Writing larger package tests {#ssec-package-tests-writing} 46 47This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 48 49### Running package tests {#ssec-package-tests-running} 50 51This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 52 53### Examples of package tests {#ssec-package-tests-examples} 54 55This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 56 57### Linking NixOS module tests to a package {#ssec-nixos-tests-linking} 58 59This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md). 60 61### Import From Derivation {#ssec-import-from-derivation} 62 63This section has been moved to [pkgs/README.md](https://github.com/NixOS/nixpkgs/blob/master/pkgs/README.md).