about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/backup/pyznap/default.nix
blob: eb714b64a97323eb8f47fd2f15fc7a5072d0be86 (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
{ lib
, buildPythonApplication
, fetchPypi
}:

buildPythonApplication rec {
  pname = "pyznap";
  version = "1.2.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "0pnngr4zdxkf6b570ikzvkrm3a8fr47w6crjaw7ln094qkniywvj";
  };

  # tests aren't included in the PyPI packages
  doCheck = false;

  meta = {
    homepage = "https://github.com/yboetz/pyznap";
    description = "ZFS snapshot tool written in python";
    license = with lib.licenses; [ gpl3 ];
    maintainers = with lib.maintainers; [ rbrewer ];
  };
}