2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2014-08-21 06:22:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "stricat";
|
2014-08-21 06:22:42 +01:00
|
|
|
version = "20140609100300";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.stribob.com/dist/${pname}-${version}.tgz";
|
2014-08-21 06:22:42 +01:00
|
|
|
sha256 = "1axg8r4g5n5kdqj5013pgck80nni3z172xkg506vz4zx1zcmrm4r";
|
|
|
|
};
|
|
|
|
|
2021-02-16 11:48:46 +00:00
|
|
|
buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
2016-08-12 06:11:03 +01:00
|
|
|
|
2014-08-21 06:22:42 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
mv stricat $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Multi-use cryptographic tool based on the STRIBOB algorithm";
|
2014-08-21 06:22:42 +01:00
|
|
|
homepage = "https://www.stribob.com/stricat/";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
2014-08-21 06:22:42 +01:00
|
|
|
};
|
|
|
|
}
|