15 lines
354 B
Nix
15 lines
354 B
Nix
{ pkgs, ... }:
|
|
pkgs.stdenv.mkDerivation {
|
|
name = "pash";
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "rachelambda";
|
|
repo = "pash";
|
|
rev = "5fa05003ec63256dce2d6071a33f254439096e94";
|
|
hash = "sha256-AFAvtLWMWRSdRxZB3Mo9U9TD/x0s4m8tZMt7M3tRVlM=";
|
|
};
|
|
phases = [ "installPhase" ];
|
|
installPhase = ''
|
|
install -Dm755 $src/pash $out
|
|
'';
|
|
}
|