mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
nix-your-shell: move to pkgs/by-name, format with nixfmt-rfc-style (#344766)
This commit is contained in:
commit
db34d53656
@ -1,7 +1,8 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, nix-update-script
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nix-your-shell";
|
||||
@ -9,19 +10,20 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MercuryTechnologies";
|
||||
repo = pname;
|
||||
repo = "nix-your-shell";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FjGjLq/4qeZz9foA7pfz1hiXvsdmbnzB3BpiTESLE1c=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-2NgN2/dr48ogkcjOq6UE4jDQBeewceWzdpRlXqi744s=";
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
mainProgram = "nix-your-shell";
|
||||
description = "`nix` and `nix-shell` wrapper for shells other than `bash`";
|
||||
homepage = "https://github.com/MercuryTechnologies/nix-your-shell";
|
||||
license = [ licenses.mit ];
|
||||
maintainers = [ maintainers._9999years ];
|
||||
changelog = "https://github.com/MercuryTechnologies/nix-your-shell/releases/tags/v${version}";
|
||||
license = [ lib.licenses.mit ];
|
||||
maintainers = with lib.maintainers; [ _9999years ];
|
||||
};
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
@ -14293,8 +14293,6 @@ with pkgs;
|
||||
|
||||
agdsn-zsh-config = callPackage ../shells/zsh/agdsn-zsh-config { };
|
||||
|
||||
nix-your-shell = callPackage ../shells/nix-your-shell { };
|
||||
|
||||
bash = lowPrio (callPackage ../shells/bash/5.nix { });
|
||||
# WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
|
||||
bashInteractive = callPackage ../shells/bash/5.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user