2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDotnetPackage }:
|
2015-11-17 16:38:29 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
buildDotnetPackage {
|
2021-11-08 16:12:26 +00:00
|
|
|
pname = "pash";
|
2016-07-29 00:16:37 +00:00
|
|
|
version = "git-2016-07-06";
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2015-11-17 16:38:29 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Pash-Project";
|
|
|
|
repo = "Pash";
|
2016-07-29 00:16:37 +00:00
|
|
|
rev = "8d6a48f5ed70d64f9b49e6849b3ee35b887dc254";
|
|
|
|
sha256 = "0c4wa8qi1zs01p9ck171jkw0n1rsymsrhpsb42gl7warwhpmv59f";
|
2015-11-17 16:38:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "rm -rvf $src/Source/PashConsole/bin/*";
|
|
|
|
|
|
|
|
outputFiles = [ "Source/PashConsole/bin/Release/*" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-11-17 16:38:29 +00:00
|
|
|
description = "An open source implementation of Windows PowerShell";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/Pash-Project/Pash";
|
2016-07-29 00:16:37 +00:00
|
|
|
maintainers = [ maintainers.fornever maintainers.vrthra ];
|
2015-11-25 22:00:35 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = with licenses; [ bsd3 gpl3 ];
|
2015-11-17 16:38:29 +00:00
|
|
|
};
|
2016-05-14 13:03:01 +00:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/pash";
|
|
|
|
};
|
2015-11-17 16:38:29 +00:00
|
|
|
}
|