nixos-config/pkgs/pash.nix

16 lines
385 B
Nix
Raw Normal View History

2024-06-25 12:11:51 +02:00
{ pkgs, ... }:
pkgs.stdenv.mkDerivation {
name = "pash";
src = pkgs.fetchFromGitHub {
owner = "rachelambda";
repo = "pash";
rev = "5fa05003ec63256dce2d6071a33f254439096e94";
hash = "sha256-AFAvtLWMWRSdRxZB3Mo9U9TD/x0s4m8tZMt7M3tRVlM=";
};
phases = [ "installPhase" ];
installPhase = ''
2024-10-05 15:08:00 +02:00
mkdir -p $out/bin
install -Dm755 $src/pash $out/bin/pash
2024-06-25 12:11:51 +02:00
'';
}