Unverified Commit 0af73a7a authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

gen-license: 0.1.2 -> 0.1.4 (#321190)

parents d2c9a95f 5877cd8c
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
{ lib
, stdenv
, rustPlatform
, fetchCrate
, Security
, fetchFromGitHub
, darwin
}:

rustPlatform.buildRustPackage rec {
  pname = "gen-license";
  version = "0.1.2";
  version = "0.1.4";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-YZcycLQ436cjr2YTT7TEyMdeLTOl9oEfa5x3lgnnYyo=";
  src = fetchFromGitHub {
    owner = "nexxeln";
    repo = "license-generator";
    rev = "${version}";
    hash = "sha256-VOmt8JXd2+ykhkhupv/I4RfXz9P0eEesW3JGAoXStUI=";
  };

  cargoHash = "sha256-2PT20eoXxBPhGsmHlEEGE2ZDyhyrD7tFdwnn3khjKNo=";
  cargoHash = "sha256-TEsWACxEs4eJ8rO4RnKJWpwT1KcDoBEGftHSJt4YXVw=";

  buildInputs = lib.optional stdenv.isDarwin Security;
  buildInputs = lib.optionals stdenv.isDarwin [
    darwin.apple_sdk.frameworks.Security
  ];

  meta = with lib; {
    description = "Create licenses for your projects right from your terminal";
+0 −4
Original line number Diff line number Diff line
@@ -1732,10 +1732,6 @@ with pkgs;
  gen6dns = callPackage ../tools/networking/gen6dns { };
  gen-license = callPackage ../development/tools/gen-license {
    inherit (darwin.apple_sdk.frameworks) Security;
  };
  github-copilot-cli = callPackage ../tools/misc/github-copilot-cli { };
  # This is to workaround gfal2-python broken against Python 3.12 or later.