nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 28 lines 833 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 pname = "rw"; 5 version = "1.0"; 6 7 src = fetchurl { 8 url = "https://sortix.org/rw/release/rw-portable-${version}.tar.gz"; 9 # Use hash provided by upstream 10 sha256 = "50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d"; 11 }; 12 13 makeFlags = [ "PREFIX=$(out)" ]; 14 15 meta = with stdenv.lib; { 16 homepage = https://sortix.org/rw; 17 description = "Block device and byte copying program similar to dd"; 18 longDescription = '' 19 rw is a command line program which copies information between files 20 or byte streams. The rw command is designed to be a replacement for 21 dd with standard style command line flags. 22 ''; 23 license = licenses.isc; 24 maintainers = with maintainers; [ dtzWill ]; 25 26 broken = stdenv.hostPlatform.isDarwin; 27 }; 28}