nixpkgs/pkgs/development/tools/analysis/swarm/default.nix
2019-06-04 01:36:27 +03:00

26 lines
662 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "swarm-2019-03-11";
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
'';
meta = with stdenv.lib; {
description = "Verification script generator for Spin";
homepage = http://spinroot.com/;
license = licenses.free;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}