1{ lib
2, buildPythonApplication
3, fetchPypi
4, setuptools
5}:
6
7buildPythonApplication rec {
8 pname = "pyznap";
9 version = "1.6.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "88bf1d6de2c11f14acbdfa01b61eb95c94f95d829ddebdaee3786b64ccb93ae3";
14 };
15
16 propagatedBuildInputs = [
17 setuptools
18 ];
19
20 # tests aren't included in the PyPI packages
21 doCheck = false;
22
23 meta = {
24 homepage = "https://github.com/yboetz/pyznap";
25 description = "ZFS snapshot tool written in python";
26 license = with lib.licenses; [ gpl3 ];
27 maintainers = with lib.maintainers; [ rbrewer ];
28 };
29}