nixpkgs/pkgs/shells/pash/default.nix

30 lines
796 B
Nix
Raw Normal View History

2015-11-17 16:38:29 +00:00
{ stdenv, fetchFromGitHub, buildDotnetPackage }:
buildDotnetPackage rec {
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/*" ];
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;
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
}