mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
downonspot: init at unstable-2021-10-11 (#141494)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
930f8daa65
commit
e7d1412564
45
pkgs/applications/misc/downonspot/default.nix
Normal file
45
pkgs/applications/misc/downonspot/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, alsa-lib
|
||||
, lame
|
||||
, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "downonspot";
|
||||
version = "unstable-2021-10-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "oSumAtrIX";
|
||||
repo = "DownOnSpot";
|
||||
rev = "9d78ea2acad4dfe653a895a1547ad0abe7c5b47a";
|
||||
sha256 = "03g99yx9sldcg3i6hvpdxyk70f09f8kfj3kh283vl09b1a2c477w";
|
||||
};
|
||||
|
||||
cargoSha256 = "0k200p6wgwb60ax1r8mjn3aq08zxpkqbfqpi3b25zi3xf83my44d";
|
||||
|
||||
# fixes: error: the option `Z` is only accepted on the nightly compiler
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
alsa-lib
|
||||
lame
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Spotify downloader written in rust";
|
||||
homepage = "https://github.com/oSumAtrIX/DownOnSpot";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
};
|
||||
}
|
@ -4601,6 +4601,8 @@ with pkgs;
|
||||
|
||||
dorkscout = callPackage ../tools/security/dorkscout { };
|
||||
|
||||
downonspot = callPackage ../applications/misc/downonspot { };
|
||||
|
||||
sl1-to-photon = python3Packages.callPackage ../applications/misc/sl1-to-photon { };
|
||||
|
||||
slade = callPackage ../applications/misc/slade {
|
||||
|
Loading…
Reference in New Issue
Block a user