2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2018-04-19 13:42:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "rw";
|
2018-04-19 13:42:36 +01:00
|
|
|
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)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://sortix.org/rw";
|
2018-04-19 13:42:36 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|