snapper: 0.8.9 -> 0.8.10

Add passthru.tests.snapper
This commit is contained in:
Markus Kowalewski 2020-06-25 23:57:59 +02:00
parent d245896789
commit 14dcc65a13
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB

View File

@ -1,17 +1,17 @@
{ stdenv, fetchFromGitHub
, autoreconfHook, pkgconfig, docbook_xsl, libxslt, docbook_xml_dtd_45
, acl, attr, boost, btrfs-progs, dbus, diffutils, e2fsprogs, libxml2
, lvm2, pam, python, utillinux, fetchpatch, json_c }:
, lvm2, pam, python, utillinux, fetchpatch, json_c, nixosTests }:
stdenv.mkDerivation rec {
pname = "snapper";
version = "0.8.9";
version = "0.8.10";
src = fetchFromGitHub {
owner = "openSUSE";
repo = "snapper";
rev = "v${version}";
sha256 = "1flqhfpx9dipim22wq7wh1590ra4gydwii1jjp99pi03mdhavlbn";
sha256 = "0bw8aal3a9823zcwini3an9zdxmf7vm912jbyb95rjac0wilqfw7";
};
nativeBuildInputs = [
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
lvm2 pam python utillinux json_c
];
passthru.tests.snapper = nixosTests.snapper;
patches = [
# Don't use etc/dbus-1/system.d
(fetchpatch {