2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "swarm";
|
|
|
|
version = "unstable-2019-03-11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nimble-code";
|
|
|
|
repo = "swarm";
|
|
|
|
rev = "4b36ed83c8fbb074f2dc5777fe1c0ab4d73cc7d9";
|
|
|
|
sha256 = "18zwlwsiiksivjpg6agmbmg0zsw2fl9475ss66b6pgcsya2q4afs";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 Src/swarm $out/bin/swarm
|
|
|
|
install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Verification script generator for Spin";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "swarm";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://spinroot.com/";
|
|
|
|
license = licenses.free;
|
2021-03-19 17:17:44 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|