forked from mirrors/nixpkgs
swarm: init at 3.1
This commit is contained in:
parent
1f3b838d51
commit
f273dd226c
30
pkgs/development/tools/analysis/swarm/default.nix
Normal file
30
pkgs/development/tools/analysis/swarm/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "swarm-${version}";
|
||||||
|
version = "3.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.spinroot.com/swarm/swarm${version}.tar";
|
||||||
|
sha256 = "12hi6wy0v0jfbrmgfxpnz7vxfzz3g1c6z7dj8p8kc2nm0q5bii47";
|
||||||
|
};
|
||||||
|
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
gcc -O2 -lm swarm.c -o swarm
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dm755 swarm $out/bin/swarm
|
||||||
|
install -Dm644 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6161,6 +6161,8 @@ in
|
||||||
|
|
||||||
strace = callPackage ../development/tools/misc/strace { };
|
strace = callPackage ../development/tools/misc/strace { };
|
||||||
|
|
||||||
|
swarm = callPackage ../development/tools/analysis/swarm { };
|
||||||
|
|
||||||
swig1 = callPackage ../development/tools/misc/swig { };
|
swig1 = callPackage ../development/tools/misc/swig { };
|
||||||
swig2 = callPackage ../development/tools/misc/swig/2.x.nix { };
|
swig2 = callPackage ../development/tools/misc/swig/2.x.nix { };
|
||||||
swig3 = callPackage ../development/tools/misc/swig/3.x.nix { };
|
swig3 = callPackage ../development/tools/misc/swig/3.x.nix { };
|
||||||
|
|
Loading…
Reference in a new issue