bd01fad0ed
In line with the Nixpkgs manual. A mechanical change, done with this command: find pkgs -name "*.nix" | \ while read f; do \ sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \ done I manually skipped some: * Descriptions starting with an abbreviation, a user name or package name * Frequently generated expressions (haskell-packages.nix)
23 lines
618 B
Nix
23 lines
618 B
Nix
{ stdenv, fetchurl, bash, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "capstone-${version}";
|
|
version = "3.0.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/aquynh/capstone/archive/${version}.tar.gz";
|
|
sha256 = "1whl5c8j6vqvz2j6ay2pyszx0jg8d3x8hq66cvgghmjchvsssvax";
|
|
};
|
|
|
|
buildInputs = [ cmake ];
|
|
enableParallelBuild = true;
|
|
|
|
meta = {
|
|
description = "Advanced disassembly library";
|
|
homepage = "http://www.capstone-engine.org";
|
|
license = stdenv.lib.licenses.bsd3;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
};
|
|
}
|