nixpkgs/pkgs/development/tools/analysis/swarm/default.nix

27 lines
686 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2016-03-26 08:43:52 +00:00
stdenv.mkDerivation rec {
pname = "swarm";
version = "unstable-2019-03-11";
2016-03-26 08:43:52 +00:00
2019-06-03 15:17:47 +00:00
src = fetchFromGitHub {
owner = "nimble-code";
repo = "swarm";
rev = "4b36ed83c8fbb074f2dc5777fe1c0ab4d73cc7d9";
sha256 = "18zwlwsiiksivjpg6agmbmg0zsw2fl9475ss66b6pgcsya2q4afs";
2016-03-26 08:43:52 +00:00
};
installPhase = ''
2019-06-03 15:17:47 +00:00
install -Dm755 Src/swarm $out/bin/swarm
install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1
2016-03-26 08:43:52 +00:00
'';
meta = with lib; {
2016-03-26 08:43:52 +00:00
description = "Verification script generator for Spin";
homepage = "http://spinroot.com/";
2016-03-26 08:43:52 +00:00
license = licenses.free;
2021-03-10 10:59:13 +00:00
platforms = platforms.unix;
2016-03-26 08:43:52 +00:00
maintainers = with maintainers; [ abbradar ];
};
}