nixpkgs/pkgs/tools/backup/stenc/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

22 lines
523 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.0.7";
pname = "stenc";
src = fetchFromGitHub {
owner = "scsitape";
repo = "stenc";
rev = version;
sha256 = "1778m1zcyzyf42k5m496yqh0gv6kqhb0sq5983dhky1fccjl905k";
};
meta = {
description = "SCSI Tape Encryption Manager";
homepage = "https://github.com/scsitape/stenc";
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ woffs ];
platforms = stdenv.lib.platforms.linux;
};
}