mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05: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`.
22 lines
548 B
Nix
22 lines
548 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, setuptools, multipledispatch, numpy }:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.7.2";
|
|
pname = "pyrr";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "04a65a9fb5c746b41209f55b21abf47a0ef80a4271159d670ca9579d9be3b4fa";
|
|
};
|
|
|
|
buildInputs = [ setuptools ];
|
|
propagatedBuildInputs = [ multipledispatch numpy ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "3D mathematical functions using NumPy";
|
|
homepage = https://github.com/adamlwgriffiths/Pyrr/;
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|