mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +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
450 B
Nix
21 lines
450 B
Nix
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fn";
|
|
version = "0.4.3";
|
|
|
|
meta = {
|
|
description = ''
|
|
Functional programming in Python: implementation of missing
|
|
features to enjoy FP
|
|
'';
|
|
homepage = https://github.com/kachayev/fn.py;
|
|
license = lib.licenses.asl20;
|
|
};
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq";
|
|
};
|
|
}
|