···11+{ lib
22+, rustPlatform
33+, fetchFromGitHub
44+}:
55+66+rustPlatform.buildRustPackage rec {
77+ pname = "nickel";
88+ version = "0.1.0";
99+1010+ src = fetchFromGitHub {
1111+ owner = "tweag";
1212+ repo = pname;
1313+ rev = "refs/tags/${version}"; # because pure ${version} doesn't work
1414+ hash = "sha256-St8oK9vP2cAhsNindkebtAMeRPwYggP9E4CciSZc7oA=";
1515+ };
1616+1717+ cargoSha256 = "sha256-VsyK/api8acIpADpXQ8RdbRLiZwHFSDH0vwQrZQ8zp4=";
1818+1919+ meta = with lib; {
2020+ homepage = "https://nickel-lang.org/";
2121+ description = "Better configuration for less";
2222+ longDescription = ''
2323+ Nickel is the cheap configuration language.
2424+2525+ Its purpose is to automate the generation of static configuration files -
2626+ think JSON, YAML, XML, or your favorite data representation language -
2727+ that are then fed to another system. It is designed to have a simple,
2828+ well-understood core: it is in essence JSON with functions.
2929+ '';
3030+ license = licenses.mit;
3131+ maintainers = with maintainers; [ AndersonTorres ];
3232+ };
3333+}
···186186 # we accept this fact because xcode_locator is only a short-lived process used during the build.
187187 ./no-arc.patch
188188189189+ ./gcc11.patch
190190+189191 # --experimental_strict_action_env (which may one day become the default
190192 # see bazelbuild/bazel#2574) hardcodes the default
191193 # action environment to a non hermetic value (e.g. "/usr/local/bin").