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 homepage = "http://bmrsa.sourceforge.net/";
26 license = licenses.gpl2Only;
27 platforms = platforms.linux;