nixos-config/pkgs/pash.nix
2024-10-05 15:08:00 +02:00

16 lines
385 B
Nix

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