nixpkgs/pkgs/development/python-modules/bap/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

25 lines
691 B
Nix

{stdenv, buildPythonPackage, fetchFromGitHub, bap, requests}:
buildPythonPackage rec {
pname = "bap";
version = "1.1.0";
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "BinaryAnalysisPlatform";
repo = "bap-python";
rev = "v${version}";
sha256 = "0wd46ksxscgb2dci69sbndzxs6drq5cahraqq42cdk114hkrsxs3";
};
propagatedBuildInputs = [bap requests];
doCheck = false;
meta = with stdenv.lib; {
description = "Platform for binary analysis. It is written in OCaml, but can be used from other languages.";
homepage = https://github.com/BinaryAnalysisPlatform/bap/;
maintainers = [ maintainers.maurer ];
license = licenses.mit;
};
}