transset: 1.0.3 -> 1.0.4 && refactor and move to pkgs/by-name from xorg namespace (#415130)
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
libx11,
|
||||
xorgproto,
|
||||
writeScript,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "transset";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/transset-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-gamrdK8TdzOqjLajf4KSlIUm/n7wa4WfwP8nLEN8Czg=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
libx11
|
||||
xorgproto
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p common-updater-scripts
|
||||
version="$(list-directory-versions --pname ${finalAttrs.pname} \
|
||||
--url https://xorg.freedesktop.org/releases/individual/app/ \
|
||||
| sort -V | tail -n1)"
|
||||
update-source-version ${finalAttrs.pname} "$version"
|
||||
'';
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Utility for setting opacity/transparency property on a window";
|
||||
homepage = "https://gitlab.freedesktop.org/xorg/app/transset";
|
||||
license = with lib.licenses; [
|
||||
mit
|
||||
mitOpenGroup
|
||||
hpndSellVariant
|
||||
];
|
||||
mainProgram = "transset";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
@@ -30,6 +30,7 @@
|
||||
mkfontscale,
|
||||
pixman,
|
||||
sessreg,
|
||||
transset,
|
||||
util-macros,
|
||||
xbitmaps,
|
||||
xcb-proto,
|
||||
@@ -61,6 +62,7 @@ self: with self; {
|
||||
mkfontscale
|
||||
pixman
|
||||
sessreg
|
||||
transset
|
||||
xbitmaps
|
||||
xorgproto
|
||||
xtrans
|
||||
@@ -2916,42 +2918,6 @@ self: with self; {
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
transset = callPackage (
|
||||
{
|
||||
stdenv,
|
||||
pkg-config,
|
||||
fetchurl,
|
||||
libX11,
|
||||
xorgproto,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "transset";
|
||||
version = "1.0.4";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/app/transset-1.0.4.tar.xz";
|
||||
sha256 = "0f0bgi1jq9zzq2gqaszhgvz2d1clja17z8xnijm36xqkmxsapac1";
|
||||
};
|
||||
hardeningDisable = [
|
||||
"bindnow"
|
||||
"relro"
|
||||
];
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
libX11
|
||||
xorgproto
|
||||
];
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
meta = {
|
||||
pkgConfigModules = [ ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
) { };
|
||||
|
||||
# THIS IS A GENERATED FILE. DO NOT EDIT!
|
||||
twm = callPackage (
|
||||
{
|
||||
|
||||
@@ -323,6 +323,7 @@ print OUT <<EOF;
|
||||
mkfontscale,
|
||||
pixman,
|
||||
sessreg,
|
||||
transset,
|
||||
util-macros,
|
||||
xbitmaps,
|
||||
xcb-proto,
|
||||
@@ -354,6 +355,7 @@ self: with self; {
|
||||
mkfontscale
|
||||
pixman
|
||||
sessreg
|
||||
transset
|
||||
xbitmaps
|
||||
xorgproto
|
||||
xtrans
|
||||
|
||||
@@ -422,7 +422,6 @@ self: super:
|
||||
|
||||
oclock = addMainProgram super.oclock { };
|
||||
smproxy = addMainProgram super.smproxy { };
|
||||
transset = addMainProgram super.transset { };
|
||||
|
||||
viewres = addMainProgram super.viewres { };
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ mirror://xorg/individual/app/listres-1.0.6.tar.xz
|
||||
mirror://xorg/individual/app/oclock-1.0.6.tar.xz
|
||||
mirror://xorg/individual/app/setxkbmap-1.3.4.tar.xz
|
||||
mirror://xorg/individual/app/smproxy-1.0.8.tar.xz
|
||||
mirror://xorg/individual/app/transset-1.0.4.tar.xz
|
||||
mirror://xorg/individual/app/twm-1.0.13.1.tar.xz
|
||||
mirror://xorg/individual/app/viewres-1.0.8.tar.xz
|
||||
mirror://xorg/individual/app/x11perf-1.6.1.tar.bz2
|
||||
|
||||
Reference in New Issue
Block a user