python.pkgs.datashape: 0.5.2 -> 0.5.4
This commit is contained in:
parent
a83fc51d48
commit
c8aead477f
@ -1,6 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchFromGitHub
|
||||||
, pytest
|
, pytest
|
||||||
, mock
|
, mock
|
||||||
, numpy
|
, numpy
|
||||||
@ -8,14 +8,24 @@
|
|||||||
, dateutil
|
, dateutil
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
let
|
||||||
pname = "datashape";
|
# Fetcher function looks similar to fetchPypi.
|
||||||
version = "0.5.2";
|
# Allows for easier overriding, without having to know
|
||||||
name = "${pname}-${version}";
|
# how the source is actually fetched.
|
||||||
|
fetcher = {pname, version, sha256}: fetchFromGitHub {
|
||||||
|
owner = "blaze";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
inherit sha256;
|
||||||
|
};
|
||||||
|
|
||||||
src = fetchPypi {
|
in buildPythonPackage rec {
|
||||||
|
pname = "datashape";
|
||||||
|
version = "0.5.4";
|
||||||
|
|
||||||
|
src = fetcher {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "2356ea690c3cf003c1468a243a9063144235de45b080b3652de4f3d44e57d783";
|
sha256 = "0rhlj2kjj1vx5m73wnc5518rd6cs1zsbgpsvzk893n516k69shcf";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest mock ];
|
checkInputs = [ pytest mock ];
|
||||||
|
Loading…
Reference in New Issue
Block a user