Skip to content

Commit b455a52

Browse files
authored
dfcldd: 1.3.4-1 -> 1.9.2 (NixOS#369697)
2 parents 3d94361 + 483b1b3 commit b455a52

File tree

1 file changed

+23
-12
lines changed

1 file changed

+23
-12
lines changed

pkgs/by-name/dc/dcfldd/package.nix

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,38 @@
11
{
2+
autoreconfHook,
3+
fetchFromGitHub,
24
lib,
5+
pkg-config,
36
stdenv,
4-
fetchurl,
57
}:
68

7-
stdenv.mkDerivation rec {
9+
stdenv.mkDerivation (finalAttrs: {
810
pname = "dcfldd";
9-
version = "1.3.4-1";
11+
version = "1.9.2";
1012

11-
src = fetchurl {
12-
url = "mirror://sourceforge/dcfldd/dcfldd-${version}.tar.gz";
13-
sha256 = "1y6mwsvm75f5jzxsjjk0yhf8xnpmz6y8qvcxfandavx59lc3l57m";
13+
src = fetchFromGitHub {
14+
owner = "resurrecting-open-source-projects";
15+
repo = "dcfldd";
16+
tag = "v${finalAttrs.version}";
17+
hash = "sha256-IRyc57UBsUgW8WALRhYSvT1rKIt27PBiT7MWCPJL0mY=";
1418
};
1519

16-
meta = with lib; {
20+
strictDeps = true;
21+
22+
nativeBuildInputs = [
23+
autoreconfHook
24+
pkg-config
25+
];
26+
27+
meta = {
1728
description = "Enhanced version of GNU dd";
1829

19-
homepage = "https://dcfldd.sourceforge.net/";
30+
homepage = "https://github.com/resurrecting-open-source-projects/dcfldd";
2031

21-
license = licenses.gpl2Plus;
32+
license = lib.licenses.gpl2Plus;
2233

23-
platforms = platforms.all;
24-
maintainers = with maintainers; [ qknight ];
34+
platforms = lib.platforms.all;
35+
maintainers = with lib.maintainers; [ qknight ];
2536
mainProgram = "dcfldd";
2637
};
27-
}
38+
})

0 commit comments

Comments
 (0)