diff options
author | Will Dietz <github@wdtz.org> | 2018-04-19 12:20:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-19 12:20:16 -0500 |
commit | 93814ed41ce1eaf73ce8a9fda1eef512990e15be (patch) | |
tree | c04b5deade725089a352a43ddc488f41d11573b2 | |
parent | bb4a8eb6d3a8f9c273c2eab5ab1ef04b429efa7b (diff) | |
parent | 305b75d3383d788098316da0fab0002892922b65 (diff) | |
download | nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar.gz nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar.bz2 nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar.lz nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar.xz nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.tar.zst nixlib-93814ed41ce1eaf73ce8a9fda1eef512990e15be.zip |
Merge pull request #39150 from dtzWill/feature/rw
rw: init at 1.0
-rw-r--r-- | pkgs/tools/misc/rw/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/rw/default.nix b/pkgs/tools/misc/rw/default.nix new file mode 100644 index 000000000000..345f26852dcb --- /dev/null +++ b/pkgs/tools/misc/rw/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d3b2230a4aa7..abf4893b2893 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |