depot/third_party/nixpkgs/pkgs/development/tools/analysis/swarm/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

25 lines
657 B
Nix

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