mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +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
474 B
Nix
19 lines
474 B
Nix
{ lib, buildPythonPackage, fetchPypi }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sarge";
|
|
version = "0.1.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "08s8896973bz1gg0pkr592w6g4p6v47bkfvws5i91p9xf8b35yar";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = http://sarge.readthedocs.org/;
|
|
description = "A wrapper for subprocess which provides command pipeline functionality";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|