summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-stdnum
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/python-stdnum
parent18d78e2e48f07c45a97c6c03198b0aa3ed3ce2a4 (diff)
parent2f4001f41a44c49970112b7885eae00fdff16eb5 (diff)
Merge older staging with added firefox-related updates
Diffstat (limited to 'pkgs/development/python-modules/python-stdnum')
-rw-r--r--pkgs/development/python-modules/python-stdnum/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/python-stdnum/default.nix b/pkgs/development/python-modules/python-stdnum/default.nix
index 2ffb28482f48..381ecec996d1 100644
--- a/pkgs/development/python-modules/python-stdnum/default.nix
+++ b/pkgs/development/python-modules/python-stdnum/default.nix
@@ -1,13 +1,12 @@
-{ lib, fetchurl, buildPythonPackage, isPy3k }:
+{ lib, fetchPypi, buildPythonPackage, isPy3k }:
buildPythonPackage rec {
version = "1.9";
pname = "python-stdnum";
- name = "${pname}-${version}";
# Failing tests and dependency issue on Py3k
disabled = isPy3k;
- src = fetchurl {
- url = "mirror://pypi/p/python-stdnum/${name}.tar.gz";
+ src = fetchPypi {
+ inherit pname version;
sha256 = "d587a520182f9d8aef7659cca429f4382881589c8883a0a55322b2f94970bdb3";
};
meta = {