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

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