2015-11-17 16:38:29 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildDotnetPackage }:
|
|
|
|
|
|
|
|
buildDotnetPackage rec {
|
|
|
|
baseName = "pash";
|
|
|
|
version = "git-2015-11-06";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Pash-Project";
|
|
|
|
repo = "Pash";
|
|
|
|
rev = "50695a28eaf6c8cbfdc8ecddd91923c64e07b618";
|
|
|
|
sha256 = "17hs1f6ayk9qyyh1xsydk46n6na7flh2kbd36dynk86bnda5d3bn";
|
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = "rm -rvf $src/Source/PashConsole/bin/*";
|
|
|
|
|
|
|
|
outputFiles = [ "Source/PashConsole/bin/Release/*" ];
|
|
|
|
|
2015-11-25 22:00:35 +00:00
|
|
|
meta = with stdenv.lib; {
|
2015-11-17 16:38:29 +00:00
|
|
|
description = "An open source implementation of Windows PowerShell";
|
|
|
|
homepage = https://github.com/Pash-Project/Pash;
|
2015-11-25 22:00:35 +00:00
|
|
|
maintainers = [ maintainers.fornever ];
|
|
|
|
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
|
|
|
}
|