Merge pull request #39150 from dtzWill/feature/rw

rw: init at 1.0
This commit is contained in:
Will Dietz 2018-04-19 12:20:16 -05:00 committed by GitHub
commit 93814ed41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,28 @@
{ 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;
};
}

View File

@ -4701,6 +4701,8 @@ with pkgs;
runzip = callPackage ../tools/archivers/runzip { };
rw = callPackage ../tools/misc/rw { };
rxp = callPackage ../tools/text/xml/rxp { };
rzip = callPackage ../tools/compression/rzip { };