Add new package: duperemove (#18913)

This commit is contained in:
darmac 2020-09-25 00:50:07 +08:00 committed by GitHub
parent 9e06e56634
commit e4699cbc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Duperemove(MakefilePackage):
"""Duperemove is a simple tool for finding duplicated extents
and submitting them for deduplication. """
homepage = "https://github.com/markfasheh/duperemove"
url = "https://github.com/markfasheh/duperemove/archive/v0.11.1.tar.gz"
version('0.11.1', sha256='75c3c91baf7e5195acad62eab73a7afc3d0b88cbfccefac3e3412eba06a42ac8')
depends_on('glib')
depends_on('sqlite')
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('duperemove', prefix.bin)