Unverified Commit 68de9c5f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

cargo-plumbing: init at 0.0.3 (#434177)

parents e01f81d6 a8084dbe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -22904,6 +22904,12 @@
    githubId = 17243347;
    name = "Sebastian Sellmeier";
  };
  secona = {
    email = "secona00+nixpkgs@gmail.com";
    github = "secona";
    githubId = 77039267;
    name = "Vito Secona";
  };
  sedlund = {
    email = "scott+nixpkgs@teraton.com";
    github = "sedlund";
+44 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  stdenvNoCC,
  pkg-config,
  openssl,
  nix-update-script,
}:

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "cargo-plumbing";
  version = "0.0.3";

  src = fetchFromGitHub {
    owner = "crate-ci";
    repo = "cargo-plumbing";
    tag = "v${finalAttrs.version}";
    hash = "sha256-x8xH7XH91FtOn5knVL7mkcDTGvXtVVL70HIi8V9z54o=";
  };

  cargoHash = "sha256-16rY8uk9ViEaYIqiZHHU1UApAdNXAETqgFzUWNto6po=";

  nativeBuildInputs = [ pkg-config ];

  buildInputs = [ openssl ];

  passthru.updateScript = nix-update-script { };

  doCheck = !stdenvNoCC.hostPlatform.isDarwin;

  meta = {
    description = "Proposed plumbing commands for cargo";
    homepage = "https://github.com/crate-ci/cargo-plumbing";
    changelog = "https://github.com/crate-ci/cargo-plumbing/blob/v${finalAttrs.version}/CHANGELOG.md";
    license = with lib.licenses; [
      asl20 # or
      mit
    ];
    maintainers = with lib.maintainers; [
      secona
    ];
  };
})