nixpkgs/pkgs/development/python-modules/fn/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

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";
};
}