diff options
author | Tristan Gosselin-Hane <starcraft66@gmail.com> | 2021-11-09 10:25:47 -0500 |
---|---|---|
committer | Tristan Gosselin-Hane <starcraft66@gmail.com> | 2021-11-09 10:25:47 -0500 |
commit | 92fae323123ed5116bffd9cf7c89022f27ead34e (patch) | |
tree | 0947fad5cd99e286db3eefa8bb390726bf7c7dc4 /pkgs/shells/powershell/default.nix | |
parent | ae9a94b44a52467ebe1978d555d0682560875143 (diff) | |
download | nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar.gz nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar.bz2 nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar.lz nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar.xz nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.tar.zst nixpkgs-92fae323123ed5116bffd9cf7c89022f27ead34e.zip |
powershell: 7.1.4 -> 7.2.0
Diffstat (limited to 'pkgs/shells/powershell/default.nix')
-rw-r--r-- | pkgs/shells/powershell/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/shells/powershell/default.nix b/pkgs/shells/powershell/default.nix index 4d3038079a8..9d1ae64ac5a 100644 --- a/pkgs/shells/powershell/default.nix +++ b/pkgs/shells/powershell/default.nix @@ -7,9 +7,10 @@ let archString = if stdenv.isAarch64 then "arm64" platformString = if stdenv.isDarwin then "osx" else if stdenv.isLinux then "linux" else throw "unsupported platform"; - platformSha = if stdenv.isDarwin then "0w44ws8b6zfixf7xz93hmplqsx18279n9x8j77y4rbzs13fldvsn" - else if (stdenv.isLinux && stdenv.isx86_64) then "sha256-SOZn7CGLu9x+xhQwjgm0SL7sKDODLwHRpzi7tMdRBAM=" - else if (stdenv.isLinux && stdenv.isAarch64) then "1axbi4kmb1ydys7c45jhp729w1srid3c8jgivb4bdmdp56rf6h32" + platformSha = if (stdenv.isDarwin && stdenv.isx86_64) then "sha256-h5zjn8wtgHmsJFiGq1rja6kZTZj3Q72W2kH3AexRDQs=" + else if (stdenv.isDarwin && stdenv.isAarch64) then "sha256-NHM9ZUpBJb59Oq0Ke7DcvaN+bZ9MjSpXBRu5Ng9OVZ0=" + else if (stdenv.isLinux && stdenv.isx86_64) then "sha256-gRebkDY0WOKabuLd/WNMoRPL7oGQJtHELFNe+sQ0TwA=" + else if (stdenv.isLinux && stdenv.isAarch64) then "sha256-bUacA4DwjDNlIG7yooXxUGL9AysAogNWuQDvcTqo1sE=" else throw "unsupported platform"; platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH" else if stdenv.isLinux then "LD_LIBRARY_PATH" @@ -19,7 +20,7 @@ let archString = if stdenv.isAarch64 then "arm64" in stdenv.mkDerivation rec { pname = "powershell"; - version = "7.1.4"; + version = "7.2.0"; src = fetchzip { url = "https://github.com/PowerShell/PowerShell/releases/download/v${version}/powershell-${version}-${platformString}-${archString}.tar.gz"; @@ -74,7 +75,7 @@ stdenv.mkDerivation rec { description = "Powerful cross-platform (Windows, Linux, and macOS) shell and scripting language based on .NET"; homepage = "https://github.com/PowerShell/PowerShell"; maintainers = with maintainers; [ yrashk srgom p3psi ]; - platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-linux"]; + platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-linux" "aarch64-darwin" ]; license = with licenses; [ mit ]; }; |