mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17: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`.
21 lines
467 B
Nix
21 lines
467 B
Nix
{ stdenv, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pbr";
|
|
version = "4.0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a9c27eb8f0e24e786e544b2dbaedb729c9d8546342b5a6818d8eda098ad4340d";
|
|
};
|
|
|
|
# circular dependencies with fixtures
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = http://docs.openstack.org/developer/pbr/;
|
|
license = stdenv.lib.licenses.asl20;
|
|
description = "Python Build Reasonableness";
|
|
};
|
|
}
|