mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ced21f5e1a
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`.
18 lines
416 B
Nix
18 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";
|
|
};
|
|
}
|