@ -1,6 +1,6 @@
{ stdenv , lib , fetchFromGitHub , python3 , makeWrapper , openssh }:
{ stdenvNoCC , lib , fetchFromGitHub , python3 , openssh }:
stdenv . mkDerivation {
stdenvNoCC . mkDerivation {
pname = " s s h - i d e n t " ;
version = " 2 0 1 6 - 0 4 - 2 1 " ;
src = fetchFromGitHub {
@ -10,19 +10,22 @@ stdenv.mkDerivation {
sha256 = " 1 j f 1 9 l z 1 g w n 7 c y p 5 7 j 8 d 4 z s 5 b q 1 3 i w 3 k w 3 1 m 8 n v r 8 h 6 s i b 2 p f 8 1 5 " ;
} ;
buildInputs = [ python3 makeWrapper ] ;
postPatch = ''
substituteInPlace ssh-ident \
- - replace ' ssh-agent > ' ' $ { openssh } /bin/ssh-agent > '
'' ;
buildInputs = [ python3 ] ;
installPhase = ''
mkdir - p $ out/bin
install - m 755 ssh-ident $ out/bin/ssh-ident
wrapProgram $ out/bin/ssh-ident \
- - prefix PATH : $ { lib . makeBinPath [ openssh ] }
'' ;
meta = {
meta = with lib ; {
homepage = " h t t p s : / / g i t h u b . c o m / c c o n t a v a l l i / s s h - i d e n t " ;
description = " S t a r t a n d u s e s s h - a g e n t a n d l o a d i d e n t i t i e s a s n e c e s s a r y " ;
license = lib . li censes . bsd2 ;
maintainers = with lib . maintainers ; [ telotortium ] ;
platforms = with lib . platforms ; unix ;
license = licenses . bsd2 ;
maintainers = with maintainers ; [ telotortium ] ;
platforms = with platforms ; unix ;
} ;
}