forked from mirrors/nixpkgs
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`.
24 lines
579 B
Nix
24 lines
579 B
Nix
{ lib, fetchurl, buildPythonApplication, pythonPackages }:
|
|
|
|
with lib;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "yolk";
|
|
version = "0.4.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/y/yolk/yolk-${version}.tar.gz";
|
|
sha256 = "1f6xwx210jnl5nq0m3agh2p1cxmaizawaf3fwq43q4yw050fn1qw";
|
|
};
|
|
|
|
buildInputs = with pythonPackages; [ nose ];
|
|
|
|
meta = {
|
|
description = "Command-line tool for querying PyPI and Python packages installed on your system";
|
|
homepage = https://github.com/cakebread/yolk;
|
|
maintainers = with maintainers; [];
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|
|
|