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

26 lines
658 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;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}