nixpkgs-suyu/pkgs/shells/pash/default.nix

30 lines
792 B
Nix
Raw Normal View History

2015-11-17 17:38:29 +01:00
{ stdenv, fetchFromGitHub, buildDotnetPackage }:
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";
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/*" ];
2015-11-25 23:00:35 +01:00
meta = with stdenv.lib; {
2015-11-17 17:38:29 +01:00
description = "An open source implementation of Windows PowerShell";
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
}