Unverified Commit 5f46372f authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

license-cli: add update script, 3.1.0 -> 3.2.1 (#462337)

parents 6b4c369d 309d06f7
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  installShellFiles,
  scdoc,
  makeWrapper,
  nix-update-script,

  # Script dependencies.
  fzf,
@@ -14,16 +15,16 @@

rustPlatform.buildRustPackage (finalAttrs: {
  pname = "license-cli";
  version = "3.1.0";
  version = "3.2.1";

  src = fetchFromSourcehut {
    owner = "~zethra";
    repo = "license";
    rev = finalAttrs.version;
    hash = "sha256-OGS26mE5rjxlZOaBWhYc7C8aM3Lq2xX0f31LgckjJF8=";
    hash = "sha256-eS4KuoUJA6e+Y6WNFCJTXgjV5t3Eh7wc2KvWi/+jCeI=";
  };

  cargoHash = "sha256-Jvg3XndPyQ9TYejJaO7GAI9RwLAOWB0uapA+6WIKAkI=";
  cargoHash = "sha256-7C/KAMBXbkxsjnkIJsGBOasOGGIXV8QhVEkkP+vseos=";

  nativeBuildInputs = [
    installShellFiles
@@ -55,6 +56,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
      }
  '';

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

  meta = {
    homepage = "https://git.sr.ht/~zethra/license";
    description = "Command-line tool to easily add license to your project";