Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: f56ca2599d9f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8a9807f1941d
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Jan 21, 2020

  1. cargo-about: init at 0.1.1

    evanjs committed Jan 21, 2020

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    ac6524d View commit details

Commits on Jan 25, 2020

  1. Merge pull request #78178 from evanjs/init/cargo-about

    cargo-about: init at 0.1.1
    marsam authored Jan 25, 2020

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    8a9807f View commit details
Showing with 23 additions and 0 deletions.
  1. +22 −0 pkgs/tools/package-management/cargo-about/default.nix
  2. +1 −0 pkgs/top-level/all-packages.nix
22 changes: 22 additions & 0 deletions pkgs/tools/package-management/cargo-about/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "cargo-about";
version = "0.1.1";

src = fetchFromGitHub {
owner = "EmbarkStudios";
repo = "cargo-about";
rev = "${version}";
sha256 = "1n9274np1ibz1s35q1qqajnwj7w4l695js9xdbga5wim18ly622m";
};

cargoSha256 = "0zjvvqw68y6zmjzmd22hh246422x2kxljj73vxywkl18crkakd7k";

meta = with lib; {
description = "Cargo plugin to generate list of all licenses for a crate";
homepage = "https://github.com/EmbarkStudios/cargo-about";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ evanjs ];
platforms = platforms.all;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -8803,6 +8803,7 @@ in

defaultCrateOverrides = callPackage ../build-support/rust/default-crate-overrides.nix { };

cargo-about = callPackage ../tools/package-management/cargo-about { };
cargo-audit = callPackage ../tools/package-management/cargo-audit {
inherit (darwin.apple_sdk.frameworks) Security;
};