nixpkgs-suyu/pkgs/development/python-modules/pycryptodomex/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

17 lines
416 B
Nix

{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pycryptodomex";
version = "3.6.2";
meta = {
description = "A self-contained cryptographic library for Python";
homepage = https://www.pycryptodome.org;
license = lib.licenses.bsd2;
};
src = fetchPypi {
inherit pname version;
sha256 = "8ed51799f6c060b4f62459e1bd9f3b3855bec6fa68202e76639d628001fdf3b7";
};
}