1{ lib, fetchFromGitHub, buildDotnetPackage }:
2
3buildDotnetPackage {
4 pname = "pash";
5 version = "git-2016-07-06";
6
7 src = fetchFromGitHub {
8 owner = "Pash-Project";
9 repo = "Pash";
10 rev = "8d6a48f5ed70d64f9b49e6849b3ee35b887dc254";
11 sha256 = "0c4wa8qi1zs01p9ck171jkw0n1rsymsrhpsb42gl7warwhpmv59f";
12 };
13
14 strictDeps = true;
15 preConfigure = "rm -rvf $src/Source/PashConsole/bin/*";
16
17 outputFiles = [ "Source/PashConsole/bin/Release/*" ];
18
19 meta = with lib; {
20 description = "An open source implementation of Windows PowerShell";
21 homepage = "https://github.com/Pash-Project/Pash";
22 maintainers = [ maintainers.fornever maintainers.vrthra ];
23 platforms = platforms.all;
24 license = with licenses; [ bsd3 gpl3 ];
25 };
26
27 passthru = {
28 shellPath = "/bin/pash";
29 };
30}