1 { lib, stdenv, fetchurl, unzip }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/bmrsa/bmrsa${version}.zip";
9 sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4";
12 nativeBuildInputs = [ unzip ];
18 sed -e 's/gcc/g++/' -i Makefile
20 echo -e 'install:\n\tcp bmrsa '$out'/bin' >> Makefile
24 description = "RSA utility";
25 mainProgram = "bmrsa";
26 homepage = "http://bmrsa.sourceforge.net/";
27 license = licenses.gpl2Only;
28 platforms = platforms.linux;