nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 version = "1.11"; 9 pname = "rig"; 10 11 src = fetchurl { 12 url = "https://ayera.dl.sourceforge.net/project/rig/rig/${version}/rig-${version}.tar.gz"; 13 sha256 = "1f3snysjqqlpk2kgvm5p2icrj4lsdymccmn3igkc2f60smqckgq0"; 14 }; 15 16 # Note: diff modified from Debian: Norbert Veber <nveber@debian.org> 17 # http://deb.debian.org/debian/pool/main/r/rig/rig_1.11-1.diff.gz 18 patches = [ ./rig_1.11-1.diff ]; 19 20 makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ]; 21 22 meta = { 23 homepage = "https://rig.sourceforge.net/"; 24 description = "Random identity generator"; 25 longDescription = '' 26 RIG (Random Identity Generator) is a free replacement for a shareware 27 program out there called 'fake'. It generates random, yet real-looking, 28 personal data. It is useful if you need to feed a name to a Web site, 29 BBS, or real person, and are too lazy to think of one yourself. Also, 30 if the Web site/BBS/person you are giving the information to tries to 31 cross-check the city, state, zip, or area code, it will check out. 32 ''; 33 license = lib.licenses.gpl2Plus; 34 maintainers = with lib.maintainers; [ tomberek ]; 35 platforms = with lib.platforms; all; 36 mainProgram = "rig"; 37 }; 38}