about summary refs log tree commit diff
path: root/pkgs/development/python-modules/crytic-compile
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2020-11-05 22:02:14 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-05 20:11:23 -0800
commitf6428fd75e4ae25a0ae5a34edcf7604c7beddb96 (patch)
tree27a0cb1c51336ecaee9522f92665b8b8f43267d2 /pkgs/development/python-modules/crytic-compile
parent214e19c049a0eba1503af866f5c035290abdb66d (diff)
python3Packages.crytic-compile: init at 0.1.9
Diffstat (limited to 'pkgs/development/python-modules/crytic-compile')
-rw-r--r--pkgs/development/python-modules/crytic-compile/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/crytic-compile/default.nix b/pkgs/development/python-modules/crytic-compile/default.nix
new file mode 100644
index 0000000000000..e6f82c6d8ad8e
--- /dev/null
+++ b/pkgs/development/python-modules/crytic-compile/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pysha3 }:
+
+buildPythonPackage rec {
+  pname = "crytic-compile";
+  version = "0.1.9";
+
+  disabled = pythonOlder "3.6";
+
+  src = fetchFromGitHub {
+    owner = "crytic";
+    repo = "crytic-compile";
+    rev = version;
+    sha256 = "01mis7bqsh0l5vjl6jwibzy99djza35fxmywy56q8k4jbxwmdcna";
+  };
+
+  propagatedBuildInputs = [ pysha3 ];
+
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Abstraction layer for smart contract build systems";
+    homepage = "https://github.com/crytic/crytic-compile";
+    license = licenses.agpl3;
+    maintainers = with maintainers; [ SuperSandro2000 ];
+  };
+}