Compare commits
No commits in common. "84ec53f3af29b956405bcb78865f30a9853db730" and "64cc4aa0ce8906aed3311dd84f04c33bf631b25e" have entirely different histories.
84ec53f3af
...
64cc4aa0ce
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -3,10 +3,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
schedule:
|
schedule:
|
||||||
# rebuild everyday at 6:50
|
# rebuild everyday at 2:51
|
||||||
# TIP: Choose a random time here so not all repositories are build at once:
|
# TIP: Choose a random time here so not all repositories are build at once:
|
||||||
# https://www.random.org/clock-times/?num=1&earliest=01%3A00&latest=08%3A00&interval=5&format=html&rnd=new
|
# https://www.random.org/clock-times/?num=1&earliest=01%3A00&latest=08%3A00&interval=5&format=html&rnd=new
|
||||||
- cron: '50 6 * * *'
|
- cron: '51 2 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
strategy:
|
strategy:
|
||||||
@ -17,7 +17,7 @@ jobs:
|
|||||||
# The repo name as used in
|
# The repo name as used in
|
||||||
# https://github.com/nix-community/NUR/blob/master/repos.json
|
# https://github.com/nix-community/NUR/blob/master/repos.json
|
||||||
nurRepo:
|
nurRepo:
|
||||||
- xeals
|
- <YOUR_REPO_NAME>
|
||||||
# Set this to cache your build results in cachix for faster builds
|
# Set this to cache your build results in cachix for faster builds
|
||||||
# in CI and for everyone who uses your cache.
|
# in CI and for everyone who uses your cache.
|
||||||
#
|
#
|
||||||
@ -27,12 +27,11 @@ jobs:
|
|||||||
# For this to work, you also need to set the CACHIX_SIGNING_KEY secret
|
# For this to work, you also need to set the CACHIX_SIGNING_KEY secret
|
||||||
# in your repository settings in Github found at https://github.com/<your_githubname>/nur-packages/settings/secrets
|
# in your repository settings in Github found at https://github.com/<your_githubname>/nur-packages/settings/secrets
|
||||||
cachixName:
|
cachixName:
|
||||||
- xeals
|
- <YOUR_CACHIX_NAME>
|
||||||
nixPath:
|
nixPath:
|
||||||
- nixpkgs=channel:nixos-unstable
|
- nixpkgs=channel:nixos-unstable
|
||||||
- nixpkgs=channel:nixpkgs-unstable
|
- nixpkgs=channel:nixpkgs-unstable
|
||||||
# Disable due to buildGoModule and buildRustPackage
|
- nixpkgs=channel:nixos-20.03
|
||||||
# - nixpkgs=channel:nixos-20.03
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -7,13 +7,14 @@ os: linux
|
|||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CACHIX_CACHE="xeals"
|
- CACHIX_CACHE="xeals"
|
||||||
|
- NIXPKGS_ALLOW_UNFREE="1"
|
||||||
- NUR_REPO="xeals"
|
- NUR_REPO="xeals"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- env: NIX_PATH=nixpkgs=channel:nixpkgs-unstable
|
# - env: NIX_PATH=nixpkgs=channel:nixpkgs-unstable
|
||||||
- env: NIX_PATH=nixpkgs=channel:nixos-unstable
|
# - env: NIX_PATH=nixpkgs=channel:nixos-unstable
|
||||||
# - env: NIX_PATH=nixpkgs=channel:nixos-20.03
|
- env: NIX_PATH=nixpkgs=channel:nixos-20.03
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nix-build ci.nix -kA buildOutputs
|
- nix-build ci.nix -kA buildOutputs
|
||||||
@ -23,6 +24,6 @@ script:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- if [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -kA cacheOutputs | cachix push "${CACHIX_CACHE}"; fi
|
- if [ -n "${CACHIX_CACHE}" ]; then nix-build ci.nix -kA cacheOutputs | cachix push "${CACHIX_CACHE}"; fi
|
||||||
- if [[ NUR_REPO != "xeals" && "cron" != "${TRAVIS_EVENT_TYPE}" && "false" = "${TRAVIS_PULL_REQUEST}" && "master" = "${TRAVIS_BRANCH}" ]]; then
|
- if [[ "cron" != "${TRAVIS_EVENT_TYPE}" && "false" = "${TRAVIS_PULL_REQUEST}" && "master" = "${TRAVIS_BRANCH}" ]]; then
|
||||||
curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi
|
curl -XPOST "https://nur-update.herokuapp.com/update?repo=${NUR_REPO}"; fi
|
||||||
|
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
**My personal [NUR](https://github.com/nix-community/NUR) repository**
|
||||||
|
|
||||||
![Build and populate cache](https://github.com/xeals/nur-packages/workflows/Build%20and%20populate%20cache/badge.svg) [![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
|
[![Build Status](https://travis-ci.com/xeals/nur-packages.svg?branch=master)](https://travis-ci.com/xeals/nur-packages)
|
||||||
|
[![Cachix Cache](https://img.shields.io/badge/cachix-xeals-blue.svg)](https://xeals.cachix.org)
|
||||||
|
|
||||||
## Noteworthy packages
|
## Noteworthy packages
|
||||||
|
|
||||||
|
@ -32,9 +32,9 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (pkgs.lib.const {
|
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (pkgs.lib.const {
|
||||||
name = "${pname}-${version}-vendor.tar.gz";
|
name = "${pname}-${version}-vendor";
|
||||||
inherit src;
|
inherit src;
|
||||||
outputHash = "1gi3bvcra56maxcz1a6i1nmzdrfa4mhx6pn1xjbrifv7c6jlxard";
|
outputHash = "1zvj8hdlc3fii1ffwkigvxjigwx53vls543pgcv3a2bw4sn1ky1k";
|
||||||
});
|
});
|
||||||
|
|
||||||
ligatureInputs = [
|
ligatureInputs = [
|
||||||
|
@ -33,9 +33,6 @@ let
|
|||||||
|
|
||||||
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [
|
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [
|
||||||
pkg-config
|
pkg-config
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = (args.buildInputs or [ ]) ++ [
|
|
||||||
libsecret
|
libsecret
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -61,6 +58,7 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -57,7 +57,6 @@ python2Packages.buildPythonApplication rec {
|
|||||||
to WAV, FLAC, Ogg Vorbis, Opus, AAC, and MP4/M4A.
|
to WAV, FLAC, Ogg Vorbis, Opus, AAC, and MP4/M4A.
|
||||||
'';
|
'';
|
||||||
homepage = "https://github.com/hbashton/spotify-ripper";
|
homepage = "https://github.com/hbashton/spotify-ripper";
|
||||||
# spotify-ripper itself is MIT, but the upstream libspotify is unfree.
|
license = stdenv.lib.licenses.mit;
|
||||||
license = stdenv.lib.licenses.unfree;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user