mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
305b75d338
For more info, see discussion starting here: https://github.com/NixOS/nixpkgs/pull/39150#issuecomment-382725177
29 lines
843 B
Nix
29 lines
843 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "rw-${version}";
|
|
version = "1.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://sortix.org/rw/release/rw-portable-${version}.tar.gz";
|
|
# Use hash provided by upstream
|
|
sha256 = "50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://sortix.org/rw;
|
|
description = "Block device and byte copying program similar to dd";
|
|
longDescription = ''
|
|
rw is a command line program which copies information between files
|
|
or byte streams. The rw command is designed to be a replacement for
|
|
dd with standard style command line flags.
|
|
'';
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
};
|
|
}
|