nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 941 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 imlib2, 6 autoreconfHook, 7 autoconf-archive, 8 libX11, 9 libXext, 10 libXfixes, 11 libXcomposite, 12 libXinerama, 13 pkg-config, 14 libbsd, 15}: 16 17stdenv.mkDerivation (finalAttrs: { 18 pname = "scrot"; 19 version = "1.12.1"; 20 21 src = fetchFromGitHub { 22 owner = "resurrecting-open-source-projects"; 23 repo = "scrot"; 24 rev = finalAttrs.version; 25 sha256 = "sha256-ExZH+bjpEvdbSYM8OhV+cyn4j+0YrHp5/b+HsHKAHCA="; 26 }; 27 28 nativeBuildInputs = [ 29 autoreconfHook 30 autoconf-archive 31 pkg-config 32 ]; 33 34 buildInputs = [ 35 imlib2 36 libX11 37 libXext 38 libXfixes 39 libXcomposite 40 libXinerama 41 libbsd 42 ]; 43 44 meta = { 45 homepage = "https://github.com/resurrecting-open-source-projects/scrot"; 46 description = "Command-line screen capture utility"; 47 mainProgram = "scrot"; 48 platforms = lib.platforms.linux; 49 maintainers = [ ]; 50 license = lib.licenses.mitAdvertising; 51 }; 52})