1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/development/tools/analysis/swarm/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

31 lines
700 B
Nix

{ 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 ];
};
}