3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/swarm/default.nix

26 lines
657 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2016-03-26 08:43:52 +00:00
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
2019-06-03 16:17:47 +01:00
name = "swarm-2019-03-11";
2016-03-26 08:43:52 +00:00
2019-06-03 16:17:47 +01:00
src = fetchFromGitHub {
owner = "nimble-code";
repo = "swarm";
rev = "4b36ed83c8fbb074f2dc5777fe1c0ab4d73cc7d9";
sha256 = "18zwlwsiiksivjpg6agmbmg0zsw2fl9475ss66b6pgcsya2q4afs";
2016-03-26 08:43:52 +00:00
};
installPhase = ''
2019-06-03 16:17:47 +01: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 ];
};
}