Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Last active November 14, 2018 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asymmetric/d0da2a21f0ee56983647dc509a5751eb to your computer and use it in GitHub Desktop.
Save asymmetric/d0da2a21f0ee56983647dc509a5751eb to your computer and use it in GitHub Desktop.
{
pkgs ? import <nixpkgs> {},
}:
with pkgs.python36Packages;
let prettytable = pkgs.python36Packages.prettytable.overrideAttrs(_: rec {
pname = "prettytable";
version = "0.7.2";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1ndckiniasacfqcdafzs04plskrcigk7vxprr2y34jmpkpf60m1d";
};
});
in
buildPythonApplication rec {
pname = "slither-analyzer";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "0c55983jlm1rzylp61xd2pss9hnsq55harwcrnaa0lnb607qrs4s";
};
propagatedBuildInputs = [ prettytable ];
doCheck = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment