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