about summary refs log tree commit diff
path: root/pkgs/development/python-modules/baron
diff options
context:
space:
mode:
authormarius david <mariusdavid@laposte.net>2020-10-17 01:10:52 +0200
committermarius david <mariusdavid@laposte.net>2020-10-18 10:31:10 +0200
commiteca871cbaaada388f24cc59645a909b9b6cde028 (patch)
tree724c6aaa73a727279f4d626cb2c42911c60f5718 /pkgs/development/python-modules/baron
parent1c8204e0fa75f3fe8a2c8dfa20124c4bfda6ebae (diff)
python3Packages.baron: init at 0.9
Diffstat (limited to 'pkgs/development/python-modules/baron')
-rw-r--r--pkgs/development/python-modules/baron/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/baron/default.nix b/pkgs/development/python-modules/baron/default.nix
new file mode 100644
index 0000000000000..8a04befc6d16f
--- /dev/null
+++ b/pkgs/development/python-modules/baron/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchPypi, buildPythonPackage, rply, pytestCheckHook, isPy3k }:
+
+buildPythonPackage rec {
+  pname = "baron";
+  version = "0.9";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0fib74nkqnl1i2zzlhbbfpw3whwc4951p9x61r2xrxhwp4r9yn5h";
+  };
+
+  propagatedBuildInputs = [ rply ];
+
+  checkInputs = [ pytestCheckHook ];
+
+  doCheck = isPy3k;
+
+  meta = with lib; {
+    homepage = "https://github.com/gristlabs/asttokens";
+    description = "Abstraction on top of baron, a FST for python to make writing refactoring code a realistic task";
+    license = licenses.lgpl3Plus;
+    maintainers = with maintainers; [ marius851000 ];
+  };
+}