Merge pull request #215733 from 9999years/nix-your-shell

nix-your-shell: init at 1.0.1

authored by figsoda and committed by GitHub b71a0e4f bc5b452f

+35
+6
maintainers/maintainer-list.nix
··· 169 169 githubId = 12578560; 170 170 name = "Quinn Bohner"; 171 171 }; 172 + _9999years = { 173 + email = "rbt@fastmail.com"; 174 + github = "9999years"; 175 + githubId = 15312184; 176 + name = "Rebecca Turner"; 177 + }; 172 178 a1russell = { 173 179 email = "adamlr6+pub@gmail.com"; 174 180 github = "a1russell";
+27
pkgs/shells/nix-your-shell/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , nix-update-script 5 + }: 6 + rustPlatform.buildRustPackage rec { 7 + pname = "nix-your-shell"; 8 + version = "1.0.1"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "MercuryTechnologies"; 12 + repo = pname; 13 + rev = "v${version}"; 14 + sha256 = "sha256-kdZFwMHatnhdXGSIItuE3g27qqUKqT/Hkbz13Ba5eq4="; 15 + }; 16 + 17 + cargoSha256 = "sha256-U4nN/N345XFRj0L9cLJAjRuND0W3OE6XEB/z3zXaUiQ="; 18 + 19 + meta = with lib; { 20 + description = "A `nix` and `nix-shell` wrapper for shells other than `bash`"; 21 + homepage = "https://github.com/MercuryTechnologies/nix-your-shell"; 22 + license = [ licenses.mit ]; 23 + maintainers = [ maintainers._9999years ]; 24 + }; 25 + 26 + passthru.updateScript = nix-update-script { }; 27 + }
+2
pkgs/top-level/all-packages.nix
··· 13840 13840 13841 13841 any-nix-shell = callPackage ../shells/any-nix-shell { }; 13842 13842 13843 + nix-your-shell = callPackage ../shells/nix-your-shell { }; 13844 + 13843 13845 bash = lowPrio (callPackage ../shells/bash/5.nix { 13844 13846 binutils = stdenv.cc.bintools; 13845 13847 });