Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 742 B view raw
1{ 2 autoreconfHook, 3 fetchFromGitHub, 4 lib, 5 pkg-config, 6 stdenv, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "dcfldd"; 11 version = "1.9.3"; 12 13 src = fetchFromGitHub { 14 owner = "resurrecting-open-source-projects"; 15 repo = "dcfldd"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-xn1+8hLiLQMOv0q0Jkuqha9EZSJWMbCksnq/G6n4vQ8="; 18 }; 19 20 strictDeps = true; 21 22 nativeBuildInputs = [ 23 autoreconfHook 24 pkg-config 25 ]; 26 27 meta = { 28 description = "Enhanced version of GNU dd"; 29 30 homepage = "https://github.com/resurrecting-open-source-projects/dcfldd"; 31 32 license = lib.licenses.gpl2Plus; 33 34 platforms = lib.platforms.all; 35 maintainers = with lib.maintainers; [ qknight ]; 36 mainProgram = "dcfldd"; 37 }; 38})