ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
21 lines
552 B
Nix
21 lines
552 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "lastfmsubmitd";
|
|
version = "1.0.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.red-bean.com/decklin/lastfmsubmitd/lastfmsubmitd-${version}.tar.gz";
|
|
sha256 = "c2636d5095a95167366bacd458624d67b046e060244fa54ba2c2e3efb79f9b0e";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
installCommand = "python setup.py install --prefix=$out";
|
|
|
|
meta = {
|
|
homepage = https://www.red-bean.com/decklin/lastfmsubmitd/;
|
|
description = "An last.fm audio scrobbler and daemon";
|
|
};
|
|
}
|