mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
gen-license: 0.1.2 -> 0.1.4 (#321190)
This commit is contained in:
commit
0af73a7a28
@ -1,22 +1,26 @@
|
||||
{ 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";
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user