Unverified Commit abe23368 authored by Anderson Torres's avatar Anderson Torres Committed by GitHub
Browse files

Merge pull request #169656 from AndersonTorres/new-nickel

nickel: init at 0.1.0
parents c388b20d 57f964ef
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "nickel";
  version = "0.1.0";

  src  = fetchFromGitHub {
    owner = "tweag";
    repo = pname;
    rev = "refs/tags/${version}"; # because pure ${version} doesn't work
    hash = "sha256-St8oK9vP2cAhsNindkebtAMeRPwYggP9E4CciSZc7oA=";
  };

  cargoSha256 = "sha256-VsyK/api8acIpADpXQ8RdbRLiZwHFSDH0vwQrZQ8zp4=";

  meta = with lib; {
    homepage = "https://nickel-lang.org/";
    description = "Better configuration for less";
    longDescription = ''
      Nickel is the cheap configuration language.

      Its purpose is to automate the generation of static configuration files -
      think JSON, YAML, XML, or your favorite data representation language -
      that are then fed to another system. It is designed to have a simple,
      well-understood core: it is in essence JSON with functions.
    '';
    license = licenses.mit;
    maintainers = with maintainers; [ AndersonTorres ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8651,6 +8651,8 @@ with pkgs;
  npapi_sdk = callPackage ../development/libraries/npapi-sdk {};
  nickel = callPackage ../development/interpreters/nickel { };
  npiet = callPackage ../development/interpreters/npiet { };
  npth = callPackage ../development/libraries/npth {};