about summary refs log tree commit diff
path: root/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-06-29 21:06:39 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-06-29 21:06:39 +0200
commit2059bf9e39bef62e9386291e1041371bdd8036ab (patch)
treebf1b386b12bb4ab6d7ddeb417021ebad9ddb9d15 /pkgs/development/python-modules/antlr4-python3-runtime/default.nix
parent18d78e2e48f07c45a97c6c03198b0aa3ed3ce2a4 (diff)
parent2f4001f41a44c49970112b7885eae00fdff16eb5 (diff)
downloadnixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar.gz
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar.bz2
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar.lz
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar.xz
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.tar.zst
nixlib-2059bf9e39bef62e9386291e1041371bdd8036ab.zip
Merge older staging with added firefox-related updates
Diffstat (limited to 'pkgs/development/python-modules/antlr4-python3-runtime/default.nix')
-rw-r--r--pkgs/development/python-modules/antlr4-python3-runtime/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
index 84f2859d50c0..8f46a6f0b0f0 100644
--- a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
+++ b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, buildPythonPackage, isPy3k }:
+{ stdenv, fetchPypi, buildPythonPackage, isPy3k }:
 
 buildPythonPackage rec {
+  pname = "antlr4-python3-runtime";
   version = "4.7.1";
-  name = "antlr4-python3-runtime-${version}";
   disabled = !isPy3k;
 
-  src = fetchurl {
-    url = "mirror://pypi/a/antlr4-python3-runtime/${name}.tar.gz";
+  src = fetchPypi {
+    inherit pname version;
     sha256 = "1lrzmagawmavyw1n1z0qarvs2jmbnbv0p89dah8g7klj8hnbf9hv";
   };