nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 59 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 pkg-config, 6 util-macros, 7 autoreconfHook, 8 wrapWithXFileSearchPathHook, 9 libx11, 10 libxaw, 11 xbitmaps, 12 libxmu, 13 xorgproto, 14 libxt, 15 nix-update-script, 16}: 17stdenv.mkDerivation (finalAttrs: { 18 pname = "bitmap"; 19 version = "1.1.2"; 20 21 src = fetchFromGitLab { 22 domain = "gitlab.freedesktop.org"; 23 group = "xorg"; 24 owner = "app"; 25 repo = "bitmap"; 26 tag = "bitmap-${finalAttrs.version}"; 27 hash = "sha256-sQDt1zCxJ5kZ4kLVi1Wxrf7JiT721n2Sl6gNv3xZ0ts="; 28 }; 29 30 strictDeps = true; 31 32 nativeBuildInputs = [ 33 pkg-config 34 util-macros 35 autoreconfHook 36 wrapWithXFileSearchPathHook 37 ]; 38 39 buildInputs = [ 40 libx11 41 libxaw 42 xbitmaps 43 libxmu 44 xorgproto 45 libxt 46 ]; 47 48 installFlags = [ "appdefaultdir=$(out)/share/X11/app-defaults" ]; 49 50 passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=bitmap-(.*)" ]; }; 51 meta = { 52 description = "X bitmap (XBM) editor and converter utilities"; 53 homepage = "https://gitlab.freedesktop.org/xorg/app/bitmap"; 54 license = lib.licenses.mitOpenGroup; 55 mainProgram = "bitmap"; 56 maintainers = [ ]; 57 platforms = lib.platforms.unix; 58 }; 59})