mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +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`.
19 lines
424 B
Nix
19 lines
424 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "constantly";
|
|
version = "15.1.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0dgwdla5kfpqz83hfril716inm41hgn9skxskvi77605jbmp4qsq";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/twisted/constantly;
|
|
description = "symbolic constant support";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|