mtd-utils: Update to 2.0.2.

* gnu/packages/linux.scm (mtd-utils): Update to 2.0.2.
[arguments]: Remove 'test-target, 'make-flags. Re-enable 'configure
phase. Add 'configure-flag for the unit-tests.
[native-inputs]: Add cmocka, pkg-config.
This commit is contained in:
Efraim Flashner 2018-11-10 20:54:00 +02:00
parent a7553a7360
commit e8b9aaf0b1
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3949,7 +3949,7 @@ (define-public mcelog
(define-public mtd-utils
(package
(name "mtd-utils")
(version "1.5.2")
(version "2.0.2")
(source (origin
(method url-fetch)
(uri (string-append
@ -3957,18 +3957,18 @@ (define-public mtd-utils
"mtd-utils-" version ".tar.bz2"))
(sha256
(base32
"007lhsd8yb34l899r4m37whhzdw815cz4fnjbpnblfha524p7dax"))))
"1f30jszknc5v6ykmil8ajxgksmcg54q3rsp84jsancp9x0dycggv"))))
(arguments
'(#:configure-flags '("--enable-unit-tests")))
(native-inputs
`(("cmocka" ,cmocka)
("pkg-config" ,pkg-config)))
(inputs
`(("acl" ,acl)
`(("acl" ,acl) ; for XATTR
("libuuid" ,util-linux)
("lzo" ,lzo)
("zlib" ,zlib)))
(build-system gnu-build-system)
(arguments
`(#:test-target "tests"
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure))))
(synopsis "MTD Flash Storage Utilities")
(description "This package provides utilities for testing, partitioning, etc
of flash storage.")