From 1c3b6a2812b108d432fcb612fa8108a02b5236ef Mon Sep 17 00:00:00 2001 From: Friedrich von Never Date: Tue, 17 Nov 2015 22:38:29 +0600 Subject: [PATCH] pash: init at git-2015-11-06 --- lib/maintainers.nix | 1 + pkgs/shells/pash/default.nix | 25 +++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 pkgs/shells/pash/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 14a7de594aa2..5a49da4d6282 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -103,6 +103,7 @@ flosse = "Markus Kohlhase "; fluffynukeit = "Daniel Austin "; forkk = "Andrew Okin "; + fornever = "Friedrich von Never "; fpletz = "Franz Pletz "; fps = "Florian Paul Schmidt "; fridh = "Frederik Rietdijk "; diff --git a/pkgs/shells/pash/default.nix b/pkgs/shells/pash/default.nix new file mode 100644 index 000000000000..63669def0ab5 --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf8ca1e9c2ef..c033b1515cce 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3686,6 +3686,8 @@ let mksh = callPackage ../shells/mksh { }; + pash = callPackage ../shells/pash { }; + tcsh = callPackage ../shells/tcsh { }; rush = callPackage ../shells/rush { };