summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2018-06-08 15:13:47 +0200
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2018-06-08 15:38:01 +0200
commit48696cf4fea6e9a49f83c4487626f2522babcb0b (patch)
tree1a2559002bd9be456699eb22ed8c24a40636012e /pkgs
parent1b6dcf493661bc18f8ffd4b327f73b0d2d91aa8b (diff)
downloadnixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar.gz
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar.bz2
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar.lz
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar.xz
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.tar.zst
nixpkgs-48696cf4fea6e9a49f83c4487626f2522babcb0b.zip
python.packages.astunparse: init at 1.5.0
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/astunparse/default.nix17
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/astunparse/default.nix b/pkgs/development/python-modules/astunparse/default.nix
new file mode 100644
index 00000000000..4c46f93b547
--- /dev/null
+++ b/pkgs/development/python-modules/astunparse/default.nix
@@ -0,0 +1,17 @@
+{ stdenv, fetchPypi, buildPythonPackage, six }:
+
+buildPythonPackage rec {
+  pname = "astunparse";
+  version =  "1.5.0";
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1kc9lm2jvfcip3z8snj04dar5a9jh857a704m6lvcv4xclm3rpsm";
+  };
+  propagatedBuildInputs = [ six ];
+  doCheck = false; # no tests
+  meta = with stdenv.lib; {
+    description = "This is a factored out version of unparse found in the Python source distribution";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ jyp ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index de99a1e64d8..7a0248a05b3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -18171,6 +18171,8 @@ EOF
 
   spectral-cube = callPackage ../development/python-modules/spectral-cube { };
 
+  astunparse = callPackage ../development/python-modules/astunparse { };
+
 });
 
 in fix' (extends overrides packages)