Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add https:// to homepage github link #19

Merged
merged 1 commit into from Aug 11, 2021

Conversation

Artturin
Copy link
Contributor

@Artturin Artturin commented Aug 3, 2021

before

nix-template --stdout stdenv --from-url=https://github.com/varlink/libvarlink
Determining latest release for libvarlink
Determining sha256 for libvarlink
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "libvarlink";
  version = "22";

  src = fetchFromGitHub {
    owner = "varlink";
    repo = pname;
    rev = "version";
    sha256 = "1i15227vlc9k4276r833ndhxrcys9305pf6dga1j0alx2vj85yz2";
  };

  buildInputs = [ ];

  meta = with lib; {
    description = "C implementation of the Varlink protocol and command line tool";
    homepage = "github.com/varlink/libvarlink";
    license = licenses.CHANGE;
    maintainers = with maintainers; [ artturin ];
  };
}

after

./result/bin/nix-template --stdout stdenv --from-url=https://github.com/varlink/libvarlink
Determining latest release for libvarlink
Determining sha256 for libvarlink
{ lib, stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  pname = "libvarlink";
  version = "22";

  src = fetchFromGitHub {
    owner = "varlink";
    repo = pname;
    rev = "version";
    sha256 = "1i15227vlc9k4276r833ndhxrcys9305pf6dga1j0alx2vj85yz2";
  };

  buildInputs = [ ];

  meta = with lib; {
    description = "C implementation of the Varlink protocol and command line tool";
    homepage = "https://github.com/varlink/libvarlink";
    license = licenses.CHANGE;
    maintainers = with maintainers; [ artturin ];
  };
}

@Artturin
Copy link
Contributor Author

Artturin commented Aug 3, 2021

nix-template rust --from-url github.com/jonringer/nix-template --stdout
Determining latest release for nix-template
Determining sha256 for nix-template
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "nix-template";
  version = "0.1.4";

  src = fetchFromGitHub {
    owner = "jonringer";
    repo = pname;
    rev = "v${version}";
    sha256 = "0iw2ag0mnb373kgi39c8sgi6ij44xmpfl0vs1471aq6ly54n3lch";
  };

  cargoSha256 = "0000000000000000000000000000000000000000000000000000";

  buildInputs = [ ];

  meta = with lib; {
    description = "Make creating nix expressions easy";
    homepage = "github.com/jonringer/nix-template";
    license = licenses.cc0;
    maintainers = with maintainers; [ artturin ];
  };
}
./result/bin/nix-template rust --from-url github.com/jonringer/nix-template --stdout
Determining latest release for nix-template
Determining sha256 for nix-template
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "nix-template";
  version = "0.1.4";

  src = fetchFromGitHub {
    owner = "jonringer";
    repo = pname;
    rev = "v${version}";
    sha256 = "0iw2ag0mnb373kgi39c8sgi6ij44xmpfl0vs1471aq6ly54n3lch";
  };

  cargoSha256 = "0000000000000000000000000000000000000000000000000000";

  buildInputs = [ ];

  meta = with lib; {
    description = "Make creating nix expressions easy";
    homepage = "https://github.com/jonringer/nix-template";
    license = licenses.cc0;
    maintainers = with maintainers; [ artturin ];
  };
}

@jonringer
Copy link
Owner

Thanks :)

@jonringer jonringer merged commit 2e72384 into jonringer:master Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants