mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
i3: fetch source from github
This commit is contained in:
parent
251c9817f4
commit
edb5aee09b
@ -1,5 +1,5 @@
|
||||
{
|
||||
fetchurl,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
stdenv,
|
||||
pkg-config,
|
||||
@ -33,15 +33,18 @@
|
||||
docbook_xsl,
|
||||
findXMLCatalogs,
|
||||
nixosTests,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "i3";
|
||||
version = "4.24";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://i3wm.org/downloads/${finalAttrs.pname}-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-W679Dl548br7eshd7qQrzTy/5l8SeaqW9+SWYWN6yYE=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "i3";
|
||||
repo = "i3";
|
||||
rev = "refs/tags/${finalAttrs.version}";
|
||||
hash = "sha256-2tuhfB/SMN+osCBfZtw/yDPhNNEhBH4Qo6dexpqVWYk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -141,8 +144,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) i3wm;
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests = {
|
||||
inherit (nixosTests) i3wm;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user