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

Merge pull request #311714 from isabelroses/gitprompt-rs/by-name

gitprompt-rs: move to by-name
parents 25778548 cd833bc8
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -4,13 +4,16 @@
  rustPlatform,
  git,
}:
rustPlatform.buildRustPackage rec {
  pname = "gitprompt-rs";
let
  version = "0.3.0";
in
rustPlatform.buildRustPackage {
  pname = "gitprompt-rs";
  inherit version;

  src = fetchFromGitHub {
    owner = "9ary";
    repo = pname;
    repo = "gitprompt-rs";
    rev = version;
    hash = "sha256-BqI3LbG7I/0wjzJaP8bxRwTM56joLqVaQCmAydX5vQM=";
  };
@@ -22,11 +25,14 @@ rustPlatform.buildRustPackage rec {
      --replace 'Command::new("git")' 'Command::new("${git}/bin/git")'
  '';

  meta = with lib; {
  meta = {
    description = "Simple Git prompt";
    homepage = "https://github.com/9ary/gitprompt-rs";
    license = with licenses; [ mpl20 ];
    maintainers = with maintainers; [ isabelroses cafkafk ];
    license = lib.licenses.mpl20;
    maintainers = with lib.maintainers; [
      isabelroses
      cafkafk
    ];
    mainProgram = "gitprompt-rs";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -2491,8 +2491,6 @@ with pkgs;
  gitnr = callPackage ../applications/version-management/gitnr { };
  gitprompt-rs = callPackage ../applications/version-management/gitprompt-rs/default.nix { };
  gitsign = callPackage ../applications/version-management/gitsign { };
  gitstats = callPackage ../applications/version-management/gitstats { };