mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 04:03:56 +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`.
27 lines
739 B
Nix
27 lines
739 B
Nix
{ buildPythonPackage, stdenv, libffi, isPy3k, pyasn1, clint, ndg-httpsclient
|
|
, protobuf, requests, args, gpapi, pyaxmlparser, fetchFromGitHub
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gplaycli";
|
|
version = "3.21";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matlink";
|
|
repo = "gplaycli";
|
|
rev = version;
|
|
sha256 = "1r5nzi9yzswam0866gypjcvv3f1rw13jwx9s49chp8byxy1dyrs2";
|
|
};
|
|
|
|
disabled = !isPy3k;
|
|
|
|
propagatedBuildInputs = [ libffi pyasn1 clint ndg-httpsclient protobuf requests args gpapi pyaxmlparser ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/matlink/gplaycli;
|
|
description = "Google Play Downloader via Command line";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [ ma27 ];
|
|
};
|
|
}
|