1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 18:42:15 +00:00
nixpkgs/pkgs/development/python-modules/bitcoin-price-api/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
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`.
2018-06-23 18:14:26 +02:00

25 lines
594 B
Nix

{ lib, buildPythonPackage, fetchPypi
, dateutil, requests }:
buildPythonPackage rec {
pname = "bitcoin-price-api";
version = "0.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "bc68076f9632aaa9a8009d916d67a709c1e045dd904cfc7a3e8be33960d32029";
};
propagatedBuildInputs = [ dateutil requests ];
# No tests in archive
doCheck = false;
meta = {
homepage = https://github.com/dursk/bitcoin-price-api;
description = "Price APIs for bitcoin exchanges";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ bhipple ];
};
}