hashdeep: cleanup, switch to pname + version

This commit is contained in:
Sandro Jäckel 2021-03-04 12:44:47 +01:00
parent 5c6af7b729
commit 336b015648
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,8 +1,8 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
let version = "4.4";
in stdenv.mkDerivation {
name = "hashdeep-${version}";
stdenv.mkDerivation rec {
pname = "hashdeep";
version = "4.4";
src = fetchFromGitHub {
owner = "jessek";
@ -18,6 +18,6 @@ in stdenv.mkDerivation {
homepage = "https://github.com/jessek/hashdeep";
license = licenses.gpl2;
platforms = with platforms; linux ++ freebsd ++ openbsd;
maintainers = [ lib.maintainers.karantan ];
maintainers = [ maintainers.karantan ];
};
}