mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +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`.
21 lines
502 B
Nix
21 lines
502 B
Nix
{ lib, fetchPypi, buildPythonPackage, pbkdf2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mnemonic";
|
|
version = "0.18";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02a7306a792370f4a0c106c2cf1ce5a0c84b9dbd7e71c6792fdb9ad88a727f1d";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pbkdf2 ];
|
|
|
|
meta = {
|
|
description = "Implementation of Bitcoin BIP-0039";
|
|
homepage = https://github.com/trezor/python-mnemonic;
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ np ];
|
|
};
|
|
}
|