parent
d245896789
commit
14dcc65a13
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue