2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, buildDotnetPackage }:
|
2015-11-17 16:38:29 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildDotnetPackage {
|
2015-11-17 16:38:29 +00:00
|
|
|
baseName = "pash";
|
2016-07-29 01:16:37 +01:00
|
|
|
version = "git-2016-07-06";
|
2015-11-17 16:38:29 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Pash-Project";
|
|
|
|
repo = "Pash";
|
2016-07-29 01:16:37 +01: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 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Pash-Project/Pash";
|
2016-07-29 01:16:37 +01: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 14:03:01 +01:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
shellPath = "/bin/pash";
|
|
|
|
};
|
2015-11-17 16:38:29 +00:00
|
|
|
}
|