Unverified Commit 9a0b5314 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

toml2nix: maintain (#482599)

parents 4d3b66f4 d5cd2c42
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -2,14 +2,15 @@
  lib,
  rustPlatform,
  fetchCrate,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "toml2nix";
  version = "0.1.1";

  src = fetchCrate {
    inherit pname version;
    inherit (finalAttrs) pname version;
    hash = "sha256-YhluLS4tFMibFrDzgIvNtfjM5dAqJQvygeZocKn3+Jg=";
  };

@@ -19,6 +20,7 @@ rustPlatform.buildRustPackage rec {
    ln -s ${./Cargo.lock} Cargo.lock
  '';

  passthru.updateScript = nix-update-script { };
  meta = {
    description = "Tool to convert TOML files to Nix expressions";
    mainProgram = "toml2nix";
@@ -27,6 +29,6 @@ rustPlatform.buildRustPackage rec {
      mit # or
      asl20
    ];
    maintainers = [ ];
    maintainers = [ lib.maintainers.progrm_jarvis ];
  };
}
})