summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/pash/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/shells/pash/default.nix b/pkgs/shells/pash/default.nix
new file mode 100644
index 00000000000..63669def0ab
--- /dev/null
+++ b/pkgs/shells/pash/default.nix
@@ -0,0 +1,25 @@
+{ 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/*" ];
+
+  meta = {
+    description = "An open source implementation of Windows PowerShell";
+    homepage = https://github.com/Pash-Project/Pash;
+    maintainers = stdenv.lib.maintainers.fornever;
+    platforms = with stdenv.lib.platforms; all;
+    license = with stdenv.lib.licenses; [ bsd3 gpl3 ];
+  };
+}