about summary refs log tree commit diff
path: root/pkgs/development/python-modules/serverfiles/default.nix
blob: 9c8fa8cb14973d2b301ee0d0b82072808438efe5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, buildPythonPackage
, fetchPypi
, requests
, unittestCheckHook
}:

buildPythonPackage rec {
  pname = "serverfiles";
  version = "0.3.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-XhD8MudYeR43NbwIvOLtRwKoOx5Fq5bF1ZzIruz76+E=";
  };

  propagatedBuildInputs = [ requests ];

  pythonImportsCheck = [ "serverfiles" ];
  nativeCheckInputs = [ unittestCheckHook ];

  meta = {
    description = "An utility that accesses files on a HTTP server and stores them locally for reuse";
    homepage = "https://github.com/biolab/serverfiles";
    license = [ lib.licenses.gpl3Plus ];
    maintainers = [ lib.maintainers.lucasew ];
  };
}