nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 requests,
6}:
7
8buildPythonPackage rec {
9 pname = "pydoods";
10 version = "1.0.2";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "1brpcfj1iy9mhf2inla4gi681zlh7g4qvhr6vrprk6r693glpn3x";
16 };
17
18 propagatedBuildInputs = [ requests ];
19
20 # Project has no tests
21 doCheck = false;
22
23 pythonImportsCheck = [ "pydoods" ];
24
25 meta = {
26 description = "Python wrapper for the DOODS service";
27 homepage = "https://github.com/snowzach/pydoods";
28 license = with lib.licenses; [ mit ];
29 maintainers = with lib.maintainers; [ fab ];
30 };
31}